Bug 235059 - Fixed installhdr build failures in WebCore and WebKitLegacy
Summary: Fixed installhdr build failures in WebCore and WebKitLegacy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Michael Saboff
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-10 21:54 PST by Michael Saboff
Modified: 2022-01-11 09:55 PST (History)
2 users (show)

See Also:


Attachments
Patch (13.70 KB, patch)
2022-01-10 22:21 PST, Michael Saboff
fpizlo: review+
ap: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Saboff 2022-01-10 21:54:50 PST
When building with a SYSTEM_CONTENT_PATH, we fail when building WebCore in the install headers phase.

warning: duplicate output file '/Library/Caches/com.apple.xbs/Binaries/WebCore/installhdrs/Root/System/Library/PrivateFrameworks/WebCore.framework' on task: PhaseScriptExecution Create Symlink to Alt Root Path /Library/Caches/com.apple.xbs/Binaries/WebCore/installhdrs/TempContent/Objects/WebCore.build/WebCore.build/Script-6577FFC7276AC9AD0011AEC8.sh (in target 'WebCore' from project 'WebCore')
** INSTALL HEADERS FAILED **
Comment 1 Michael Saboff 2022-01-10 22:02:02 PST
<rdar://87206692>
Comment 2 Michael Saboff 2022-01-10 22:21:49 PST
Created attachment 448831 [details]
Patch
Comment 3 Alexey Proskuryakov 2022-01-10 22:26:46 PST
Comment on attachment 448831 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=448831&action=review

> Source/WebKitLegacy/scripts/create-symlink-to-altroot.sh:1
> +#!/bin/zsh

We shouldn't be using zsh in scripts. /bin/sh is the standard.
Comment 4 Michael Saboff 2022-01-10 22:33:15 PST
(In reply to Alexey Proskuryakov from comment #3)
> Comment on attachment 448831 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=448831&action=review
> 
> > Source/WebKitLegacy/scripts/create-symlink-to-altroot.sh:1
> > +#!/bin/zsh
> 
> We shouldn't be using zsh in scripts. /bin/sh is the standard.

I'll revert back to /bin/sh.
Comment 5 Michael Saboff 2022-01-11 09:55:18 PST
Committed r287884 (245927@trunk): <https://commits.webkit.org/245927@trunk>