WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
198904
REGRESSION (
r242686
): Paths in XPC services’ LC_DYLD_ENVIRONMENT are incorrect in built products directory
https://bugs.webkit.org/show_bug.cgi?id=198904
Summary
REGRESSION (r242686): Paths in XPC services’ LC_DYLD_ENVIRONMENT are incorrec...
mitz
Reported
2019-06-16 09:06:16 PDT
<
https://trac.webkit.org/r242686
> changed the location of the XPC service executables relative to the frameworks and libraries in the built product directories, but didn’t update the load commands that set DYLD_FRAMEWORK_PATH and DYLD_LIBRARY_PATH. Consequently, the services don’t load the built frameworks, libraries and shim unless something sets the __XPC_DYLD_… environment variables to point to the right place. Patch forthcoming.
Attachments
Use correct relative paths in load commands when not installing
(6.38 KB, patch)
2019-06-16 09:17 PDT
,
mitz
mitz: review-
Details
Formatted Diff
Diff
Use correct relative paths in load commands when not installing
(7.52 KB, patch)
2019-06-16 11:32 PDT
,
mitz
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2019-06-16 09:17:31 PDT
Created
attachment 372223
[details]
Use correct relative paths in load commands when not installing <
https://trac.webkit.org/r245965
> should also be reverted after this.
Darin Adler
Comment 2
2019-06-16 09:41:53 PDT
Comment on
attachment 372223
[details]
Use correct relative paths in load commands when not installing View in context:
https://bugs.webkit.org/attachment.cgi?id=372223&action=review
Is there a good way to test this?
> Source/WebKit/ChangeLog:16 > + frameworkâs XPCServices directory predicated on whether this is an install build, rathher
rather unusual spelling (extra h typo)
mitz
Comment 3
2019-06-16 10:02:43 PDT
(In reply to Darin Adler from
comment #2
)
> Comment on
attachment 372223
[details]
> Use correct relative paths in load commands when not installing > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=372223&action=review
> > Is there a good way to test this?
Download the build product from EWS, and execute the XPC service binary in a shell (it will crash, but there should not be errors about symbols missing). Doing this just now I see that the patch is wrong, so I am going to rework it.
> > > Source/WebKit/ChangeLog:16 > > + frameworkâs XPCServices directory predicated on whether this is an install build, rathher > > rather unusual spelling (extra h typo)
mitz
Comment 4
2019-06-16 11:32:08 PDT
Created
attachment 372225
[details]
Use correct relative paths in load commands when not installing
Alex Christensen
Comment 5
2019-06-17 11:04:50 PDT
Comment on
attachment 372225
[details]
Use correct relative paths in load commands when not installing DEPLOYMENT_LOCATION doesn't seem to be a yes/no kind of variable name to me.
mitz
Comment 6
2019-06-17 11:22:41 PDT
(In reply to Alex Christensen from
comment #5
)
> Comment on
attachment 372225
[details]
> Use correct relative paths in load commands when not installing > > DEPLOYMENT_LOCATION doesn't seem to be a yes/no kind of variable name to me.
It’s documented as having Value Type of Boolean, and offers a Yes/No pop-up menu in Xcode’s Build Settings Editor. Thanks for the review!
WebKit Commit Bot
Comment 7
2019-06-17 11:53:37 PDT
Comment on
attachment 372225
[details]
Use correct relative paths in load commands when not installing Clearing flags on attachment: 372225 Committed
r246506
: <
https://trac.webkit.org/changeset/246506
>
WebKit Commit Bot
Comment 8
2019-06-17 11:53:39 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9
2019-06-17 11:54:20 PDT
<
rdar://problem/51814778
>
Darin Adler
Comment 10
2019-06-17 11:56:11 PDT
(In reply to mitz from
comment #1
)
> <
https://trac.webkit.org/r245965
> should also be reverted after this.
Are you going to do that? Should Alex do that? Is someone else volunteering to do it?
mitz
Comment 11
2019-06-17 12:02:43 PDT
(In reply to Darin Adler from
comment #10
)
> (In reply to mitz from
comment #1
) > > <
https://trac.webkit.org/r245965
> should also be reverted after this. > > Are you going to do that? Should Alex do that? Is someone else volunteering > to do it?
I intend to do it.
mitz
Comment 12
2019-06-17 13:46:20 PDT
(In reply to mitz from
comment #11
)
> (In reply to Darin Adler from
comment #10
) > > (In reply to mitz from
comment #1
) > > > <
https://trac.webkit.org/r245965
> should also be reverted after this. > > > > Are you going to do that? Should Alex do that? Is someone else volunteering > > to do it? > > I intend to do it.
Just confirmed with an
r246507
archive from nightly.webkit.org that it’s safe to removed.
Darin Adler
Comment 13
2019-07-11 09:36:59 PDT
***
Bug 198646
has been marked as a duplicate of this bug. ***
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