Closed Bug 1487460 Opened 6 years ago Closed 6 years ago

Perma beta linux opt bustage ERROR: Cannot find the target C compiler make[1]: *** [automation/package-tests] Error 2

Categories

(Firefox Build System :: Toolchains, defect)

defect
Not set
critical

Tracking

(firefox-esr52 unaffected, firefox-esr60 unaffected, firefox61 unaffected, firefox62 unaffected, firefox63+ verified)

VERIFIED FIXED
mozilla63
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox61 --- unaffected
firefox62 --- unaffected
firefox63 + verified

People

(Reporter: aryx, Assigned: glandium)

References

Details

Attachments

(1 file)

Mostly on Linux 32-bit: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&fromchange=c0035480b579a6257f1322453bfb49e7ca00a7cb&tochange=d34325fe67b9232487250a98d15c7950db70898f&selectedJob=196701445&filter-searchStr=1d9caa3fcf68057fdef7c92a778162e0e720059d

But also affects 64-bit: https://treeherder.mozilla.org/logviewer.html#?job_id=196670047&repo=try

From https://treeherder.mozilla.org/logviewer.html#?job_id=196667213&repo=try :

[task 2018-08-30T14:18:16.812Z] 14:18:16     INFO -  checking whether cross compiling... yes
[task 2018-08-30T14:18:16.812Z] 14:18:16     INFO -  checking for the target C compiler... not found
[task 2018-08-30T14:18:16.812Z] 14:18:16     INFO -  DEBUG: _cc: Trying /builds/worker/workspace/build/src/gcc/bin/gcc
[task 2018-08-30T14:18:16.812Z] 14:18:16     INFO -  ERROR: Cannot find the target C compiler
[task 2018-08-30T14:18:16.848Z] 14:18:16     INFO -  *** Fix above errors and then restart with\
[task 2018-08-30T14:18:16.848Z] 14:18:16     INFO -                 "/usr/bin/make -f client.mk build"
[task 2018-08-30T14:18:16.848Z] 14:18:16     INFO -  client.mk:123: recipe for target 'configure' failed
[task 2018-08-30T14:18:16.848Z] 14:18:16     INFO -  make: *** [configure] Error 1
The linux64 one could be beta weirdness fallout; I think glandium fixed an error like that...?
Flags: needinfo?(mh+mozilla)
Bug 1486998 removed gcc from the toolchains for Linux (32 and 64) opt tasks. Beta simulations fail because of this, the other Try failures are due Linux being broken in artifact builds.

The failure occurs because beta builds get compiled as pgo and pgo still uses gcc: https://hg.mozilla.org/mozilla-central/file/6fd2ee9bacf2/build/unix/mozconfig.linux#l10
That got removed here: https://hg.mozilla.org/mozilla-central/rev/6fd2ee9bacf2#l6.111
Blocks: 1486998
Summary: very frequent Linux opt build failures on Try: ERROR: Cannot find the target C compiler make[1]: *** [automation/package-tests] Error 2 → Perma beta simulation linux opt bustage ERROR: Cannot find the target C compiler make[1]: *** [automation/package-tests] Error 2
This blocks the daily merges of central to beta.
Summary: Perma beta simulation linux opt bustage ERROR: Cannot find the target C compiler make[1]: *** [automation/package-tests] Error 2 → Perma beta linux opt bustage ERROR: Cannot find the target C compiler make[1]: *** [automation/package-tests] Error 2
sigh. Those linux*/opt builds are annoying to be different on beta. Can we just stop doing them and switch to the pgo or nightly variants instead?
Flags: needinfo?(mh+mozilla)
Comment on attachment 9005502 [details]
Bug 1487460 - Add gcc dependency for linux opt builds to make beta happy.

David Major [:dmajor] has approved the revision.
Attachment #9005502 - Flags: review+
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e9d7d7139132
Add gcc dependency for linux opt builds to make beta happy. r=dmajor
https://hg.mozilla.org/mozilla-central/rev/e9d7d7139132
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Assignee: nobody → mh+mozilla
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: