Closed Bug 653409 Opened 13 years ago Closed 13 years ago

Failure to build dist/xpi-stage/locale-en-US/install.rdf

Categories

(Firefox Build System :: General, defect)

All
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 569365

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (obsolete) — Splinter Review
I get the following failure on Windows, with the supposedly latest MozillaBuild, perl telling me it's version 5.6.1 built for msys:

Couldn't open /c/Users/mh/mozilla-central/obj-i686-pc-mingw32/browser/locales/c:/Users/mh/mozilla-central/browser/locales/generic/install.rdf: No such file or directory
c:\Users\mh\mozilla-central\toolkit\locales\l10n.mk:199:0: command '/bin/sh /c/Users/mh/mozilla-central/build/msys-perl-wrapper c:/Users/mh/mozilla-central/config/preprocessor.pl -DOSTYPE=\"WINNT6.1\" -DOSARCH=WINNT -DAB_CD=en-US -DMOZ_LANGPACK_EID=langpack-en-US@firefox.mozilla.org -DMOZ_APP_VERSION=6.0a1 -DLOCALE_SRCDIR=c:/Users/mh/mozilla-central/browser/locales/en-US -DPKG_BASENAME="firefox-6.0a1.en-US.win32" -DPKG_INST_BASENAME="firefox-6.0a1.en-US.win32.installer"  -DDLL_PREFIX= -DDLL_SUFFIX=.dll -DBIN_SUFFIX=.exe -D_CRT_SECURE_NO_DEPRECATE=1 -D_CRT_NONSTDC_NO_DEPRECATE=1 -DHAVE_SEH_EXCEPTIONS=1 -DHAVE_WINSDKVER_H=1 -DMOZ_MSVC_STL_WRAP__Throw=1 -DWINVER=0x502 -D_WIN32_WINNT=0x502 -D_WIN32_IE=0x0500 -DMOZ_WINSDK_TARGETVER=0x06010000 -DMOZ_NTDDI_WS03=0x05020000 -DMOZ_NTDDI_LONGHORN=0x06000000 -DMOZ_NTDDI_WIN7=0x06010000 -DHAVE_IO_H=1 -DHAVE_SETBUF=1 -DHAVE_ISATTY=1 -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"6.0a1\" -DMOZILLA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_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_RDF=1 -DBUILD_CTYPES=1 -DMOZ_MORKREADER=1 -DMOZ_PLACES=1 -DMOZ_SERVICES_SYNC=1 -DMOZ_APP_UA_NAME=\"\" -DMOZ_APP_UA_VERSION=\"6.0a1\" -DMOZ_UA_FIREFOX_VERSION=\"6.0a1\" -DMOZ_UA_BUILDID=\"\" -DMOZ_DLL_SUFFIX=\".dll\"  -Ic:/Users/mh/mozilla-central/toolkit/locales/en-US/defines.inc -Ic:/Users/mh/mozilla-central/browser/locales/en-US/defines.inc c:/Users/mh/mozilla-central/browser/locales/generic/install.rdf > ../../dist/xpi-stage/locale-en-US/install.rdf' failed, return code 2

So, the command does pass the "right" path, but preprocessor.pl seems to think it's a relative path...

It turns out that "simply" switching to Preprocessor.py gets rid of this.
Attachment #528828 - Flags: review?(ted.mielczarek)
I thought we killed preprocessor.pl already?
Attached patch PatchSplinter Review
Oops, I couldn't spell python.
Assignee: nobody → mh+mozilla
Attachment #528828 - Attachment is obsolete: true
Attachment #528828 - Flags: review?(ted.mielczarek)
Attachment #528829 - Flags: review?(ted.mielczarek)
Ah, I should add that I was building with pymake instead of gmake. With gmake it works.
Yeah, that was bug 569365. So how did we miss this (and how did this code not completely break)?
(In reply to comment #1)
> I thought we killed preprocessor.pl already?

So, that was bug 569365, and it was reverted in changeset 858c9dd4c377.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Attachment #528829 - Flags: review?(ted.mielczarek)
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: