Closed Bug 1729732 Opened 1 month ago Closed 1 month ago

./mach build errors with TypeError: 'NoneType' object is not iterable

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox92 unaffected, firefox93 unaffected, firefox94 fixed)

RESOLVED FIXED
94 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- unaffected
firefox94 --- fixed

People

(Reporter: 1cbae, Assigned: mhentges)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Basically following https://firefox-source-docs.mozilla.org/setup/linux_build.html on a fresh Ubuntu 20.04.

Actual results:

On ./mach build (after the configure step):

TypeError: 'NoneType' object is not iterable

  File "/firefox/mozilla-unified/python/mozbuild/mozbuild/build_commands.py", line 155, in build
    return driver.build(
  File "/firefox/mozilla-unified/python/mozbuild/mozbuild/controller/building.py", line 1194, in build
    for param in self.mozconfig["make_extra"]:

Expected results:

Working compilation of Firefox

Regressed by: 1729383

This was an existing bug that was hidden behind this code path only
being executed for non-make backends.

Assignee: nobody → mhentges
Pushed by mhentges@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/025b07e02501
Undefined `make_extra` shouldn't cause build failures r=ahal
Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.