WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237129
[XCBuild] WTF's SPI dependencies are copied via a folder reference and do not emit task outputs
https://bugs.webkit.org/show_bug.cgi?id=237129
Summary
[XCBuild] WTF's SPI dependencies are copied via a folder reference and do not...
Elliott Williams
Reported
2022-02-23 22:00:46 PST
[XCBuild] WTF's SPI dependencies are copied via a folder reference and do not emit task outputs
Attachments
Patch
(174.32 KB, patch)
2022-02-23 22:17 PST
,
Elliott Williams
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(174.66 KB, patch)
2022-02-23 22:32 PST
,
Elliott Williams
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch for relanding
(174.00 KB, patch)
2022-02-24 16:05 PST
,
Elliott Williams
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Elliott Williams
Comment 1
2022-02-23 22:17:44 PST
Created
attachment 453074
[details]
Patch
Elliott Williams
Comment 2
2022-02-23 22:18:13 PST
rdar://board/58950
Elliott Williams
Comment 3
2022-02-23 22:32:27 PST
Created
attachment 453075
[details]
Patch
Alexey Proskuryakov
Comment 4
2022-02-24 10:36:29 PST
Comment on
attachment 453075
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=453075&action=review
> Source/WTF/WTF.xcodeproj/project.pbxproj:822 > + "$(HEADER_OUTPUT_DIR)/$(INPUT_FILE_DIR:dir:standardizepath:base)/$(INPUT_FILE_DIR:base)/$(INPUT_FILE_NAME)",
Nice.
> Source/WTF/WTF.xcodeproj/project.pbxproj:825 > + script = "cp -f \"${INPUT_FILE_PATH}\" \"${SCRIPT_OUTPUT_FILE_0}\"\n";
Not sure if this matters at all, but do we want to preserve timestamps?
> Source/WTF/WTF.xcodeproj/project.pbxproj:872 > - dstSubFolderSpec = 0; > + dstSubfolderSpec = 0;
:-O
Elliott Williams
Comment 5
2022-02-24 10:57:32 PST
(In reply to Alexey Proskuryakov from
comment #4
)
> > Source/WTF/WTF.xcodeproj/project.pbxproj:825 > > + script = "cp -f \"${INPUT_FILE_PATH}\" \"${SCRIPT_OUTPUT_FILE_0}\"\n"; > > Not sure if this matters at all, but do we want to preserve timestamps?
Xcode's native copy (PbxCp) only copies file contents, not metadata, so I am matching that behavior here. AFAIK, build systems typically don't preserve timestamps, because it would break use cases like two different source checkouts building to the same directory.
> > Source/WTF/WTF.xcodeproj/project.pbxproj:872 > > - dstSubFolderSpec = 0; > > + dstSubfolderSpec = 0; > > :-O
Oh no, I thought I had caught all of these! Some recent Xcode has changed the capitalization here, unfortunately.
Elliott Williams
Comment 6
2022-02-24 12:13:06 PST
(In reply to Elliott Williams from
comment #5
)
> (In reply to Alexey Proskuryakov from
comment #4
) > > > Source/WTF/WTF.xcodeproj/project.pbxproj:872 > > > - dstSubFolderSpec = 0; > > > + dstSubfolderSpec = 0; > > > > :-O > > Oh no, I thought I had caught all of these! Some recent Xcode has changed > the capitalization here, unfortunately.
Looks like this is actually the other way around: the only project which used camel-cased "SubFolder" is WTF. I'll leave the renaming as-is to match our other pbxprojs.
EWS
Comment 7
2022-02-24 13:09:30 PST
Committed
r290452
(
247753@main
): <
https://commits.webkit.org/247753@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 453075
[details]
.
Ryan Haddad
Comment 8
2022-02-24 15:27:18 PST
Reverted
r290452
for reason: Caused failues with clean builds Committed
r290471
(
247770@trunk
): <
https://commits.webkit.org/247770@trunk
>
Elliott Williams
Comment 9
2022-02-24 16:05:23 PST
Created
attachment 453147
[details]
Patch for relanding The original patch was missing a build rule for subdirectories of Scripts/, so Scripts/Preferences/* was being copied to /usr/local/include/Scripts. Tested with a clean build locally.
EWS
Comment 10
2022-02-25 12:45:40 PST
Committed
r290523
(
247806@main
): <
https://commits.webkit.org/247806@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 453147
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug