Closed Bug 1625466 Opened 5 years ago Closed 5 years ago

Fix print statements in appini_header.py

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox76 fixed)

RESOLVED FIXED
mozilla76
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

Depends on: 1568994

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

See Also: → 1625461

Thanks Ian I typo'd the bug number.

Summary: Builds fail if "ac_add_options --disable-updater" is specified → Fix print statements in appini_header.py
Attachment #9136330 - Attachment description: Bug 1625466 - Builds fail if "ac_add_options --disable-updater" is specified r=rstewart → Bug 1625466 - Fix print statements in appini_header.py r=rstewart
Blocks: 1625461
See Also: 1625461
Pushed by iann_cvs@blueyonder.co.uk: https://hg.mozilla.org/integration/autoland/rev/a8047c4c6b0f Fix print statements in appini_header.py r=rstewart

(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?

Flags: needinfo?(iann_bugzilla)

(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

Flags: needinfo?(iann_bugzilla)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
No longer depends on: 1657533
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: