RESOLVED FIXED201320
Invalid XPCServices symlinks are being created
https://bugs.webkit.org/show_bug.cgi?id=201320
Summary Invalid XPCServices symlinks are being created
Keith Rollin
Reported 2019-08-29 16:50:25 PDT
When performing incremental builds, errant XPCServices symlinks can be created. For example, in the following, the second symlink is the correct one. The first symlink gets created when the build process tries to create the symlink and it already exists. When it already exists, the command to create the symlink actually follows the existing symlink and creates the (second) symlink at the location where the first symlink points. WebKit.framework/Versions/A/XPCServices/XPCServices@ -> Versions/Current/XPCServices WebKit.framework/XPCServices@ -> Versions/Current/XPCServices Address this by first removing any previous symlink before creating the new one. <rdar://problem/54719612>
Attachments
Patch (2.65 KB, patch)
2019-08-29 17:00 PDT, Keith Rollin
no flags
mitz
Comment 1 2019-08-29 16:51:51 PDT
(In reply to Keith Rollin from comment #0) > Address this by first removing any previous symlink before creating the new > one. The -f option to ln(3) should do this. Perhaps it’s not being specified.
mitz
Comment 2 2019-08-29 16:52:18 PDT
(In reply to mitz from comment #1) > The -f option to ln(3) should do this. Perhaps it’s not being specified. I meant ln(1).
mitz
Comment 3 2019-08-29 16:52:57 PDT
Oh but we should also be specifying -h in that case.
Keith Rollin
Comment 4 2019-08-29 16:55:15 PDT
We were specifying -f. I'll use the solution with -h.
Keith Rollin
Comment 5 2019-08-29 17:00:19 PDT
WebKit Commit Bot
Comment 6 2019-08-29 18:57:07 PDT
Comment on attachment 377654 [details] Patch Clearing flags on attachment: 377654 Committed r249308: <https://trac.webkit.org/changeset/249308>
WebKit Commit Bot
Comment 7 2019-08-29 18:57:09 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.