Open Bug 1769070 Opened 2 years ago Updated 2 years ago

Building ESR91 with a bootstrap from mozilla-central (RockyLinux) no longer works

Categories

(Firefox Build System :: Bootstrap Configuration, defect, P3)

x86_64
Linux
defect

Tracking

(firefox-esr91 unaffected, firefox100 unaffected, firefox101 fix-optional, firefox102 fix-optional)

Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- fix-optional
firefox102 --- fix-optional

People

(Reporter: WeirdAl, Unassigned)

References

(Regression)

Details

(Keywords: regression, testcase)

Steps to reproduce:

  • Use Rocky Linux 8.5 (we used a Dockerfile)
hg clone https://hg.mozilla.org/mozilla-unified`
cd mozilla-unified
hg up central
./mach bootstrap
hg up esr91
./mach create-build-environment # still required on esr91, not for central
./mach configure
./mach build
13:10.76 /tmp/aeskeywrap-dbf114.s: Assembler messages:
13:10.76 /tmp/aeskeywrap-dbf114.s:3: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:3: Error: file number less than one
13:10.76 /tmp/aeskeywrap-dbf114.s:4: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:5: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:6: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:7: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:8: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:9: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:10: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:11: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:12: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:69: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:70: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:121: Error: junk at end of line, first unrecognized character is `"'
13:10.76 /tmp/aeskeywrap-dbf114.s:192: Error: junk at end of line, first unrecognized character is `"'

Notes:

  • Building central on RockyLinux 8.5 works.
  • This was working until about one month ago, when I last attempted to do our custom build.
    • I think bug 1758780 caused this because I specifically noticed seeing Clang 14 in the build log, whereas previously I'd seen Clang 13.
  • Building on Fedora 35 works for both esr91 and central.
    • pkgs.org says RockyLinux 8.5 has Clang 12 available to it, while Fedora 35 has Clang 13.
    • Notably, Fedora 36 has Clang 14, and was just released. (I haven't upgraded to Fedora 36 yet.)

Putting together a Dockerfile to run this via Podman will take a while. I have an unrelated bustage running Podman at the moment.

Summary: Building ESR91 with a bootstrap from mozilla-central no longer works → Building ESR91 with a bootstrap from mozilla-central (RockyLinux) no longer works

Set release status flags based on info from the regressing bug 1758780

:glandium, since you are the author of the regressor, bug 1758780, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(mh+mozilla)

I have a regression range. Bootstrapping from revision 9841eb065 allowed us to build Firefox 91.8 on RockyLinux 8.5.

Presumably, if you:

  • run mach configure on central
  • switch to esr91
  • add ac_add_options --with-sysroot=$HOME/.mozbuild/sysroot-x86_64-linux-gnu to your mozconfig
  • mach build
    it should work.

If that's the case, then presumably something in the system headers on your distro is fishy.

Flags: needinfo?(mh+mozilla)
Has Regression Range: --- → yes
Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.