FATAL ERROR PROCESSING MOZBUILD - FILE USE_LIBS contains "certdb", which does not match any LIBRARY_NAME in the tree.
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr102 unaffected, firefox106 unaffected, firefox107 unaffected, firefox108 fixed)
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox106 | --- | unaffected |
firefox107 | --- | unaffected |
firefox108 | --- | fixed |
People
(Reporter: herrtimson, Assigned: jschanck)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Steps to reproduce:
hey there, I just fetched latest git sources and tried to compile them with gcc on linux. Configure is broken for me.
Actual results:
here is what the log says:
0:08.68 Reticulating splines...
0:09.12 0:00.46 File already read. Skipping: /var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/intl/components/moz.build
0:09.55 0:00.89 File already read. Skipping: /var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/gfx/angle/targets/angle_common/moz.build
0:13.86 Traceback (most recent call last):
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/configure.py", line 350, in <module>
0:13.86 sys.exit(main(sys.argv))
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/configure.py", line 162, in main
0:13.86 return config_status(config)
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/configure.py", line 301, in config_status
0:13.86 return config_status(args=[], **sanitized_config)
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/python/mozbuild/mozbuild/config_status.py", line 162, in config_status
0:13.86 definitions = list(definitions)
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/python/mozbuild/mozbuild/frontend/emitter.py", line 174, in emit
0:13.86 objs = list(self._emit_libs_derived(contexts))
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/python/mozbuild/mozbuild/frontend/emitter.py", line 256, in _emit_libs_derived
0:13.86 self._link_libraries(context, obj, variable, idl_sources)
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/python/mozbuild/mozbuild/frontend/emitter.py", line 373, in _link_libraries
0:13.86 self._link_library(context, obj, variable, path)
0:13.86 File "/var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/python/mozbuild/mozbuild/frontend/emitter.py", line 464, in _link_library
0:13.86 raise SandboxValidationError(
0:13.86 mozbuild.frontend.reader.SandboxValidationError:
0:13.86 ==============================
0:13.86 FATAL ERROR PROCESSING MOZBUILD FILE
0:13.86 ==============================
0:13.86
0:13.86 The error occurred while processing the following file or one of the files it includes:
0:13.86
0:13.86 /var/tmp/portage/www-client/firefox-108.0/work/firefox-108.0/security/manager/ssl/tests/unit/tlsserver/lib/moz.build
0:13.86
0:13.86 The error occurred when validating the result of the execution. The reported error is:
0:13.86
0:13.86 USE_LIBS contains "certdb", which does not match any LIBRARY_NAME in the tree.
0:13.86
Expected results:
I expect the configure to pass smothly
This broke very recently, around the last seven days.
the full and compressed build log is attached
If I revert this commit locally, the error is fixed for me:
https://hg.mozilla.org/integration/autoland/rev/7f503b2c8be5
Updated•2 years ago
|
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•2 years ago
|
||
:valentin, since you are the author of the regressor, bug 1754746, could you take a look? Also, could you set the severity field?
For more information, please visit auto_nag documentation.
Comment 4•2 years ago
|
||
John, can this be easily fixed?
Assignee | ||
Comment 5•2 years ago
|
||
I'll look into it.
For what it's worth, I think the issue is building with system NSS, not with gcc. So one quick workaround is to remove --with-system-nss
from your mozconfig. Another workaround, assuming you don't actually need to build the test suite, is to add --disable-tests
to your mozconfig.
thank you for having a look into it, I also believe its most likely due to system-nss, yes.
My attempt to fix it by building the source against internal nss/nspr was met with a different error, where it can't find the wasi-sysroot even though I did disable the wasm-sandboxed-libraries. I don't know if its worth another bug.
Assignee | ||
Comment 7•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
Could you try with the attached patch?
Comment 9•2 years ago
|
||
Set release status flags based on info from the regressing bug 1754746
Reporter | ||
Comment 10•2 years ago
|
||
Yes, that works for me in terms of: configure is unbroken with system-nss, compile is working.
Reporter | ||
Comment 12•2 years ago
|
||
The 108-nightly branch will be closing soon, so if the fix is ready to land can you please push it before this happens?
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
bugherder |
Description
•