fatal error: 'shared-libraries.h' file not found\n")', tools/profiler/rust-api/build.rs:104:10
Categories
(Core :: Gecko Profiler, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox111 | --- | unaffected |
firefox112 | --- | unaffected |
firefox113 | --- | fixed |
People
(Reporter: petr.sumbera, Assigned: canova)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [fxp-profiler])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Steps to reproduce:
Build on Solaris fails with:
5:51.79 error: failed to run custom build command for `gecko-profiler v0.1.0 (/builds/psumbera/mozilla-central-build/tools/profiler/rust-api)`
5:51.79 Caused by:
5:51.79 process didn't exit successfully: `/builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/debug/build/gecko-profiler-32f9cdf8e874191d/build-script-build` (exit status: 101)
5:51.79 --- stdout
5:51.79 cargo:rerun-if-changed=build.rs
5:51.79 cargo:out_dir=/builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/x86_64-pc-solaris/debug/build/gecko-profiler-12a23c36e0aadb3f/out
5:51.79 cargo:rerun-if-changed=/builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla-config.h
5:51.79 cargo:rerun-if-changed=/builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/tools/profiler/rust-api/extra-bindgen-flags
5:51.80 cargo:rerun-if-changed=/builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/GeckoProfiler.h
5:51.80 cargo:rerun-if-changed=/builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/ProfilerBindings.h
5:51.80 --- stderr
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:32:1: warning: replacement function 'operator new' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:36:1: warning: replacement function 'operator new' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:41:1: warning: replacement function 'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:45:1: warning: replacement function 'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:50:1: warning: replacement function 'operator delete' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:54:1: warning: replacement function 'operator delete' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:59:1: warning: replacement function 'operator delete[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:63:1: warning: replacement function 'operator delete[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/ProfileAdditionalInformation.h:17:10: fatal error: 'shared-libraries.h' file not found
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:32:1: warning: replacement function 'operator new' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:36:1: warning: replacement function 'operator new' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:41:1: warning: replacement function 'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:45:1: warning: replacement function 'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:50:1: warning: replacement function 'operator delete' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:54:1: warning: replacement function 'operator delete' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:59:1: warning: replacement function 'operator delete[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 clang diag: /builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/mozilla/cxxalloc.h:63:1: warning: replacement function 'operator delete[]' cannot be declared 'inline' [-Winline-new-delete]
5:51.80 thread 'main' panicked at 'Unable to generate bindings: ClangDiagnostic("/builds/psumbera/mozilla-central-build/obj-x86_64-pc-solaris2.11/dist/include/ProfileAdditionalInformation.h:17:10: fatal error: 'shared-libraries.h' file not found\n")', tools/profiler/rust-api/build.rs:104:10
5:51.80 stack backtrace:
5:51.80 0: 0xf2d0cb - <unknown>
5:51.80 1: 0xf8176e - <unknown>
5:51.80 2: 0xeee9b4 - <unknown>
5:51.80 3: 0xf2ce95 - <unknown>
5:51.80 4: 0xef174d - <unknown>
5:51.80 5: 0xef1400 - <unknown>
5:51.80 6: 0xef23b5 - <unknown>
5:51.80 7: 0xf2e2f1 - <unknown>
5:51.80 8: 0xf2d20c - <unknown>
5:51.80 9: 0xef1ece - <unknown>
5:51.80 10: 0xf85fb2 - <unknown>
5:51.80 11: 0xf86562 - <unknown>
5:51.80 12: 0xa28af0 - <unknown>
5:51.80 13: 0xa29b63 - <unknown>
5:51.80 14: 0xa27359 - <unknown>
5:51.80 15: 0xef4dd4 - <unknown>
5:51.80 16: 0xa28d9b - <unknown>
5:51.80 17: 0xa24cc3 - <unknown>
5:51.80 warning: build failed, waiting for other jobs to finish...
6:38.74 gmake[4]: *** [/builds/psumbera/mozilla-central-build/config/makefiles/rust.mk:438: force-cargo-library-build] Error 101
6:38.74 gmake[3]: *** [/builds/psumbera/mozilla-central-build/config/recurse.mk:72: toolkit/library/rust/target] Error 2
6:38.75 gmake[2]: *** [/builds/psumbera/mozilla-central-build/config/recurse.mk:34: compile] Error 2
6:38.75 gmake[1]: *** [/builds/psumbera/mozilla-central-build/config/rules.mk:361: default] Error 2
6:38.75 gmake: *** [client.mk:60: build] Error 2
The first bad revision is:
changeset: 656855:758564d35c15
user: Tom Schuster <tschuster@mozilla.com>
date: Wed Mar 15 06:53:54 2023 -0700
description:
Bug 1709867 - Add a ICU-only DateTimeInfo::timeZoneId method. r=anba,platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D169611
Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Gecko Profiler' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
:tschuster, since you are the author of the regressor, bug 1709867, could you take a look? Also, could you set the severity field?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 3•2 years ago
|
||
This is most likely a fallout from Bug 1776694 instead. I will look at it.
Assignee | ||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Set release status flags based on info from the regressing bug 1776694
Assignee | ||
Comment 5•2 years ago
|
||
Assignee | ||
Comment 6•2 years ago
|
||
Hi Petr, thanks for filing the bug.
Unfortunately I don't have access to a Solaris machine. I created a patch, but could you help me verify that it fixes the issue on your end?
Reporter | ||
Comment 7•2 years ago
|
||
It seems that the patch helps. But since there seems to be other two issues I wasn't able to fully build Firefox yet.
One of other issues is 1822980. This is reason of wrong bestion.
Comment 8•2 years ago
|
||
Fwiw, seeing the same regression on OpenBSD (cf log at http://buildbot.rhaalovely.net/nine/#/builders/3/builds/1627/steps/8/logs/stdio)
will report later if the patch helps, thanks
Comment 9•2 years ago
|
||
my build with https://phabricator.services.mozilla.com/D172846 is green: http://buildbot.rhaalovely.net/nine/#/builders/3/builds/1628
so that fixes the regression for me.
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years ago
|
||
Thank you both for verifying the patch, and sorry about the issue. I asked for a review now and hopefully will land it quickly.
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
bugherder |
Description
•