firefox nightly fails to compile with --enable-system-nss{nspr} with: ../include/mozilla/ResultExtensions.h:15:10: fatal error: 'prtypes.h' file not found
Categories
(Core :: MFBT, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox-esr91 | --- | unaffected |
firefox90 | --- | unaffected |
firefox91 | --- | unaffected |
firefox92 | --- | fixed |
firefox93 | --- | fixed |
People
(Reporter: herrtimson, Assigned: glandium)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
268.99 KB,
application/gzip
|
Details | |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
I tried to compile latest firefox from git on aarch64-unknown-linux-gnu
Actual results:
I got some errors complaining about a missing header, I believe it's from nspr:
3:33.03 [gecko-profiler 0.1.0] /usr/aarch64-unknown-linux-gnu/tmp/portage/www-client/firefox-92.0/work/firefox_build/dist/include/mozilla/ResultExtensions.h:15:10: fatal error: 'prtypes.h' file not found
3:33.06 [gecko-profiler 0.1.0] /usr/aarch64-unknown-linux-gnu/tmp/portage/www-client/firefox-92.0/work/firefox_build/dist/include/mozilla/ResultExtensions.h:15:10: fatal error: 'prtypes.h' file not found, err: true
3:33.10 /usr/aarch64-unknown-linux-gnu/tmp/portage/www-client/firefox-92.0/work/firefox_build/dist/include/mozilla/ResultExtensions.h:15:10: fatal error: 'prtypes.h' file not found
3:33.11 /usr/aarch64-unknown-linux-gnu/tmp/portage/www-client/firefox-92.0/work/firefox_build/dist/include/mozilla/ResultExtensions.h:15:10: fatal error: 'prtypes.h' file not found, err: true
Expected results:
I expect the compile to pass smoothly.
my crypto libs are =nspr-4.32 and =nss-3.69
there was a similar error related to the use of system-pixman, solved in https://bugzilla.mozilla.org/show_bug.cgi?id=1723389 , maybe it has a similar reason?
the compressed build log is attached
Comment 1•4 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 revert this change in case you think the bot is wrong.
The error is in mfbt: is in https://searchfox.org/mozilla-central/source/mfbt/ResultExtensions.h#15
Unfortunately the log is not very clear about what the chain of #includes is.
Forwarding bug to mfbt.
And NI: glandium, you fixed similar bug 1723389, could you please have a look at this? TIA
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Set release status flags based on info from the regressing bug 1722652
Assignee | ||
Comment 8•4 years ago
|
||
Comment on attachment 9235015 [details]
Bug 1724278 - Fix --with-system-nspr build after bug 1722652
Beta/Release Uplift Approval Request
- User impact if declined: Build failure in some setups
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): NPOTB
- String changes made/needed: N/A
Comment 9•4 years ago
|
||
bugherder |
Comment 10•4 years ago
|
||
Comment on attachment 9235015 [details]
Bug 1724278 - Fix --with-system-nspr build after bug 1722652
Approved for 92.0b2.
Comment 11•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Description
•