Firefox 64-bit build on Linux is broken
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox92 unaffected, firefox93 unaffected, firefox94 fixed)
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox-esr91 | --- | unaffected |
firefox92 | --- | unaffected |
firefox93 | --- | unaffected |
firefox94 | --- | fixed |
People
(Reporter: litimetal, Assigned: mhentges)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Steps to reproduce:
Try to compile FIrefox on my Fedora 34 64-bit notebook
Actual results:
The build failed by
0:10.49 gmake[4]: *** No rule to make target '/home/lizhenbo/src/mozilla/mozilla-central/gfx/angle/checkout/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp', needed by 'AddDefaultReturnStatements.o'. Stop.
0:10.49 gmake[3]: *** [/home/lizhenbo/src/mozilla/mozilla-central/config/recurse.mk:72: gfx/angle/targets/translator/target-objects] Error 2
Expected results:
I made a git bisect on about 1.8k commits.
5d9ba6c221a57a50550f4c15bdff26b43056fad8 is the first bad commit
commit 5d9ba6c221a57a50550f4c15bdff26b43056fad8
Author: Jeff Gilbert <jgilbert@mozilla.com>
Date: Thu Sep 16 18:24:29 2021 +0000
Bug 1717151 - Vendor angle/chromium/4515 with fixes. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D125747
Its parent commit can be compiled on my notebook with the same config
commit 6dcd4b1e5e482f4b8cf0e5ce4e621423c88ffcdb
Author: Jeff Gilbert <jgilbert@mozilla.com>
Date: Thu Sep 16 18:24:28 2021 +0000
Bug 1717151 - Prep ANGLE for vendoring. r=gfx-reviewers,kvark
Differential Revision: https://phabricator.services.mozilla.com/D125746
Providing hg link
This is the last version can be built by me: https://hg.mozilla.org/mozilla-unified/rev/a74a2d43142573f641bc22ed2bbc5fd85b3700fd
This is the first broken version on my laptop: https://hg.mozilla.org/mozilla-unified/rev/63c5cd4757d5a219dc36af02e606dbb737692edd
Comment 2•3 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 revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
•
|
||
I'm not able to reproduce this on my Fedora 34 64-bit machine.
Are you working outside the sysroot? Can you share your:
mozconfig
, if you have one$objdir/config.status
?
Also, are you able to reproduce the failure on:
central
/29d6504debf5b2028a9da65026ae86a06b5a655d
- On a clean build (e.g.: after a
./mach clobber
)?
Comment 4•3 years ago
|
||
We should add bug 1717151 in the CLOBBER file
Julien just had the same issue
Comment 6•3 years ago
|
||
Bug 1717151 moved AddDefaultReturnStatements.cpp from gfx/angle/checkout/src/compiler/translator/tree_ops to gfx/angle/checkout/src/compiler/translator/tree_ops/d3d, and the build system doesn't handle file moves when they're referenced from the same moz.build.
A manual clobber works around the problem.
- I executed $ ./mach build and the build failed as expected. mozconfig and config.status attached.
- $ ./mach clobber
- $ ./mach build succeeded
Comment 10•3 years ago
|
||
Set release status flags based on info from the regressing bug 1717151
Assignee | ||
Comment 11•3 years ago
|
||
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
bugherder |
Comment 14•3 years ago
|
||
bugherder uplift |
Updated•3 years ago
|
Description
•