WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218255
Fix "usage" message when invoking `ar -V`
https://bugs.webkit.org/show_bug.cgi?id=218255
Summary
Fix "usage" message when invoking `ar -V`
Keith Rollin
Reported
2020-10-27 13:16:31 PDT
The Mac/BSD version of `ar` does not support the -V flag. This flag is used unconditionally in OptionsCommon.cmake when trying to determine if the installed `ar` supports the thinning of archives, leading to a "usage" message being emitted on macOS. Avoid this message by capturing the error-output. Examine the output to see if it's a "usage" message. If so, then treat the `ar` as one that does not support thinning. Any other error-output is printed as a warning. If there is no error-output, continue processing as normal.
Attachments
Patch
(2.39 KB, patch)
2020-10-27 13:18 PDT
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-10-27 13:16:43 PDT
<
rdar://problem/70735674
>
Keith Rollin
Comment 2
2020-10-27 13:18:53 PDT
Created
attachment 412455
[details]
Patch
EWS
Comment 3
2020-10-27 14:54:30 PDT
Committed
r269076
: <
https://trac.webkit.org/changeset/269076
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 412455
[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