Fix print statements in appini_header.py
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox76 fixed)
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
References
Details
Attachments
(1 file)
Builds specifying "ac_add_options --disable-updater" in .mozconfig fail with the following:
3:28.20 File "c:/Users/xxxxxxxx/mozilla/build/appini_header.py", line 35, in main
3:28.20 print >>sys.stderr,
3:28.20 TypeError: unsupported operand type(s) for >>:'builtin_function_or_method' and '_io.TextIOWrapper'. Did you mean "print(<message>, file=<output_stream>)"?
after fixing the prints in appini_header.py, you get the real error:
0:02.29 Missing values in application.ini: AppUpdate:url
0:02.30 gmake[4]: *** [backend.mk:23: .deps/application.ini.h.stub] Error 1
02.30 gmake[3]: *** [c:/Users/xxxxxxxx/mozilla/config/recurse.mk:101:
build/export] Error 2
As regards the real error, in build/application.ini.in AppUpdate:url is specifically NOT defined if MOZ_UPDATER is false. This test for existence of AppUpdater:url should also be only performed if MOZ_UPDATER is defined.
See also bug 1526451
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
(In reply to Ian Neal from comment #0)
after fixing the prints in appini_header.py, you get the real error:
Ian: Is there a bug for this?
(In reply to Bob Clary [:bc:] from comment #6)
(In reply to Ian Neal from comment #0)
after fixing the prints in appini_header.py, you get the real error:
Ian: Is there a bug for this?
Yes, Bug 1625461
Comment 8•5 years ago
|
||
bugherder |
Description
•