Closed Bug 667058 Opened 13 years ago Closed 6 years ago

Stray ASCII DEL (0x7F) glyph in the window title, due to misuse of "" in a Makefile

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: caillon, Unassigned)

Details

Attachments

(2 files)

Attached image screenshot
See the attachment for the symptom.

This is caused by the fix for bug 649373, specifically:

  +PRE_RELEASE_SUFFIX := ""

That sets the suffix to a literal "" not an empty string.  This ends up with a -DPRE_RELEASE_SUFFIX = """" when calling the pre-processor which somehow results in ASCII DEL being inserted into browser.xul.  Not entirely sure why just yet.  Also, I'm not sure why we hit this bug but m.o builds didn't.  Possibly due to newer autotools?

The simple fix is from Bill Nottingham <notting@redhat.com>

-PRE_RELEASE_SUFFIX := ""
+PRE_RELEASE_SUFFIX :=
Attachment #541796 - Flags: review?(clegnitto) → review?(khuey)
There's another instance of this in browser/installer/windows/Makefile.in.
Oh man, that is pretty awesome.
do you guys wait for bug #649587 for proper fixing or waiting for a better patch?
This *might* be a problem with make-jars.pl and/or preprocessor.pl. I hope.

The good news is that (AFAIK) those Perl scripts have now been replaced by JarMaker.py and Preprocessor.py. Better yet, the latter was changed by http://hg.mozilla.org/mozilla-central/rev/9f5e80c5cae2 (see bug #439050) to look for -Dname="value" and treat it as -Dname=value (ie., remove the double quotes from before and after the value).

Has anyone seen this problem with a Firefox built using the Python scripts?
Triaging, old bug, not applicable, closing.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: