dependentlibs.list Is missing files on macOS
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr115 wontfix, firefox122 wontfix, firefox123 wontfix, firefox124 fixed)
People
(Reporter: haik, Assigned: haik)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
On macOS, dependentlibs.list is missing some files. :nalexander noticed this and per :glandium, this is a regression from bug 1770484.
With Firefox 122.0,
$ cat /Applications/Firefox.app/Contents/Resources/dependentlibs.list
XUL
On macOS, we don't depend on dependentlibs.list, but having XUL dependency libs in the list would make the OS preload them.
:glandium explained "dependentlibs.list is used to load the libraries that libxul depends on and that ld.so wouldn't find on its own because we don't set a rpath on ELF-targets. Of course, on mac and windows, it's not strictly necessary, but it also makes the OS preload the files too."
Comment 1•2 years ago
|
||
Set release status flags based on info from the regressing bug 1770484
Updated•2 years ago
|
Comment 2•2 years ago
|
||
(In reply to Haik Aftandilian [:haik] from comment #0)
On macOS, dependentlibs.list is missing some files. :nalexander noticed this and per :glandium, this is a regression from bug 1770484.
With Firefox 122.0,
$ cat /Applications/Firefox.app/Contents/Resources/dependentlibs.list XUL
On macOS, we don't depend on dependentlibs.list, but having XUL dependency libs in the list would make the OS preload them.
It appears that some of the update tests do depend on dependentlibs.list
, and that is potentially interacting with Bug 1707753. We determine what .dylib
files to copy using that list, see https://searchfox.org/mozilla-central/rev/14dc8f0e748d44778a02ffcf9ebcda3851b2bf9e/toolkit/mozapps/update/tests/data/xpcshellUtilsAUS.js#2524-2541.
I'm not 100% sure this is relevant but it's certainly impacting running tests locally -- the update tests don't produce a .app
directory that can launch Firefox since libmozglue.dylib
isn't in the correct place. With a complete dependentlibs.list
, all the libraries would be in the correct place.
Assignee | ||
Comment 3•2 years ago
|
||
Update dependentlibs.py to account for the earlier change in bug 1770484 that replaced use of @executable_path with @rpath.
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Description
•