"mach build" fails for artifact builds on Linux with "TypeError: 'NoneType' object is not iterable"
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
Details
I'm trying to build an artifact build on Linux Mint (all packages up-to-date) but it always fails with the following message:
Traceback (most recent call last):
File "/home/henrik/code/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 211, in exec_function
func(*args, **kwargs)
File "/home/henrik/code/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 188, in execute
exec_(code, self)
File "/home/henrik/code/gecko/python/mozbuild/mozbuild/util.py", line 57, in exec_
exec(object, globals, locals)
File "/home/henrik/code/gecko/widget/gtk/mozgtk/moz.build", line 30, in <module>
OS_LIBS += [f for f in CONFIG["MOZ_GTK3_LIBS"] if f.startswith("-L")]
TypeError: 'NoneType' object is not iterable
It looks like CONFIG["MOZ_GTK3_LIBS"] is None?
Last time when I built Firefox (maybe early December) it wasn't a problem. Workaround for now is to run a full build.
Comment 1•3 years ago
|
||
This sounds a lot like why bug 1747165 was backed out after its first landing, but that was fixed in the second landing, and I don't see how you can get to widget/gtk/mozgtk/moz.build in an artifact build after that second landing. Are you sure your tree is up-to-date?
| Reporter | ||
Comment 2•3 years ago
|
||
Good hint. Thanks Mike! I indeed wasn't on latest central but not because I missed to pull/update. I used moz-phab patch to download https://phabricator.services.mozilla.com/D134542 on my machine. It's base changeset is from the day of the backout you mentioned.
After a rebase it works all fine.
| Reporter | ||
Updated•3 years ago
|
Description
•