Closed Bug 1241505 Opened 10 years ago Closed 10 years ago

l10n repack failing locally at |mozmake installers-de|

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: aryx, Unassigned)

Details

I tried to create a repack of Firefox Nightly in German but this failed at |mozmake installers-de| with mozmake[2]: Entering directory 'c:/Mozilla/Coding/Code/objdir-firefox-central/toolkit/locales' c:/Mozilla/Coding/Code/objdir-firefox-central/_virtualenv/Scripts/python.exe -m mozbuild.action.jar_maker -d ../../dist/xpi-st e/locale-de -t c:/Mozilla/Coding/Code/mozilla-central -f flat --relativesrcdir=toolkit/locales --l10n-base=c:/Mozilla/Coding/Co /l10n-central/de --root-manifest-entry-appid='{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' -DNDEBUG=1 -DTRIMMED=1 -D_CRT_SECURE_NO_WA INGS=1 -D_CRT_NONSTDC_NO_WARNINGS=1 -D_USE_MATH_DEFINES=1 -DHAVE_SEH_EXCEPTIONS=1 -DMOZ_MSVC_STL_WRAP_RAISE=1 -DWINVER=0x502 -D_ N32_WINNT=0x502 -D_WIN32_IE=0x0603 -DMOZ_WINSDK_TARGETVER=0x06030000 -DMOZ_WINSDK_MAXVER=0x06030000 -DHAVE_IO_H=1 -DHAVE_SETBUF= -DHAVE_ISATTY=1 -DX_DISPLAY_MISSING=1 -DMOZ_ENABLE_PROFILER_SPS=1 -DMOZILLA_VERSION='"46.0a1"' -DMOZILLA_VERSION_U=46.0a1 -DMOZI A_UAVERSION='"46.0"' -DHAVE_SNPRINTF=1 -D_WINDOWS=1 -DWIN32=1 -DXP_WIN=1 -DXP_WIN32=1 -DHW_THREADS=1 -DSTDC_HEADERS=1 -DWIN32_LE _AND_MEAN=1 -DNOMINMAX=1 -DNO_X11=1 -D_X86_=1 -DD_INO=d_ino -DMOZ_DEBUG_SYMBOLS=1 -DMALLOC_H='<malloc.h>' -DHAVE_MALLOC_H=1 -DMA OC_USABLE_SIZE_CONST_PTR=const -DTARGET_XPCOM_ABI='"x86-msvc"' -DMALLOC_H='<malloc.h>' -DHAVE_FORCEINLINE=1 -DHAVE_LOCALECONV=1 NIGHTLY_BUILD=1 -DE10S_TESTING_ONLY=1 -DNS_ENABLE_TSF=1 -DMOZ_UPDATE_CHANNEL=default -DEARLY_BETA_OR_EARLIER=1 -DMOZ_PHOENIX=1 - OZ_BUILD_APP=browser -DMOZ_PDF_PRINTING=1 -DMOZ_INSTRUMENT_EVENT_LOOP=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_DISTRIBUTION_ ='"org.mozilla"' -DACCESSIBILITY=1 -DMOZ_WEBRTC=1 -DMOZ_WEBRTC_ASSERT_ALWAYS=1 -DMOZ_WEBRTC_SIGNALING=1 -DMOZ_PEERCONNECTION=1 - OZ_SCTP=1 -DMOZ_SRTP=1 -DMOZ_SAMPLE_TYPE_FLOAT32=1 -DMOZ_WEBSPEECH=1 -DMOZ_WEBSPEECH_TEST_BACKEND=1 -DMOZ_RAW=1 -DMOZ_DIRECTSHOW -DMOZ_WMF=1 -DMOZ_FFMPEG=1 -DMOZ_FMP4=1 -DMOZ_EME=1 -DMOZ_MEDIA_NAVIGATOR=1 -DMOZ_VPX_ERROR_CONCEALMENT=1 -DVPX_X86_ASM=1 -DMOZ PX_NO_MEM_REPORTING=1 -DMOZ_VORBIS=1 -DMOZ_WEBM_ENCODER=1 -DMOZ_PERMISSIONS=1 -DENABLE_SYSTEM_EXTENSION_DIRS=1 -DMOZ_WEBGL_CONFO ANT=1 -DMOZ_GAMEPAD=1 -DMOZ_CRASHREPORTER=1 -DMOZ_CRASHREPORTER_INJECTOR=1 -DMOZ_CRASHREPORTER_ENABLE_PERCENT=100 -DMOZ_LIBAV_FF 1 -DMOZ_FFVPX=1 -DMOZ_WEBAPP_RUNTIME=1 -DMOZ_MAINTENANCE_SERVICE=1 -DMOZ_ENABLE_SIGNMAR=1 -DMOZ_UPDATER=1 -DENABLE_TESTS=1 -DGTE _HAS_RTTI=0 -D_VARIADIC_MAX=10 -DMOZ_CONTENT_SANDBOX=1 -DMOZ_GMP_SANDBOX=1 -DMOZ_SANDBOX=1 -DMOZ_FEEDS=1 -DMOZ_SAFE_BROWSING=1 - OZ_URL_CLASSIFIER=1 -DGL_PROVIDER_=1 -DMOZ_LOGGING=1 -DFORCE_PR_LOG=1 -DMOZ_REPLACE_MALLOC=1 -DMOZ_MEMORY=1 -DMOZ_MEMORY_WINDOWS -DMOZ_PAY=1 -DMOZ_ACTIVITIES=1 -DMOZ_SECUREELEMENT=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DMOZ_OMNIJAR=1 -DMOZ_USER_DIR='"Mozi a"' -DMOZ_TREE_PIXMAN=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DMOZ_TREE_CAIRO=1 -DHAVE_UINT64_T=1 -DMOZ_ENABLE_SKIA=1 -DUSE_SKI 1 -DUSE_SKIA_GPU=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DENABLE_MARIONETTE=1 -DBUILD_CTYPES=1 -DMOZ_PLACES=1 -DMOZ_SOCIAL=1 -DMOZ ERVICES_COMMON=1 -DMOZ_SERVICES_CRYPTO=1 -DMOZ_SERVICES_HEALTHREPORT=1 -DMOZ_SERVICES_SYNC=1 -DMOZ_SERVICES_CLOUDSYNC=1 -DMOZ_JS WNLOADS=1 -DMOZ_MACBUNDLE_ID=org.mozilla.nightly -DMOZ_B2G_VERSION='"1.0.0"' -DMOZ_B2G_OS_NAME='""' -DMOZ_APP_UA_NAME='""' -DMOZ PP_UA_VERSION='"46.0a1"' -DFIREFOX_VERSION=46.0a1 -DMOZ_TELEMETRY_DISPLAY_REV=2 -DMOZ_DATA_REPORTING=1 -DMOZ_DLL_SUFFIX='".dll"' DA11Y_LOG=1 -DEXPOSE_INTL_API=1 -DENABLE_INTL_API=1 -DU_USING_ICU_NAMESPACE=0 -DMOZ_STATIC_JS=1 -DNO_NSPR_10_SUPPORT=1 -DXPI_NAM locale-de -DAB_CD=de c:/Mozilla/Coding/Code/mozilla-central/toolkit/locales/jar.mn processing c:/Mozilla/Coding/Code/mozilla-central/toolkit/locales/jar.mn Traceback (most recent call last): File "c:\Mozilla\Coding\Buildtools\MozillaBuild\python\Lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\Mozilla\Coding\Buildtools\MozillaBuild\python\Lib\runpy.py", line 72, in _run_code exec code in run_globals File "c:\Mozilla\Coding\Code\mozilla-central\python\mozbuild\mozbuild\action\jar_maker.py", line 17, in <module> sys.exit(main(sys.argv[1:])) File "c:\Mozilla\Coding\Code\mozilla-central\python\mozbuild\mozbuild\action\jar_maker.py", line 13, in main return mozbuild.jar.main(args) File "c:\Mozilla\Coding\Code\mozilla-central\python\mozbuild\mozbuild\jar.py", line 598, in main jm.makeJar(infile, options.d) File "c:\Mozilla\Coding\Code\mozilla-central\python\mozbuild\mozbuild\jar.py", line 332, in makeJar self.processJarSection(info, jardir) File "c:\Mozilla\Coding\Code\mozilla-central\python\mozbuild\mozbuild\jar.py", line 387, in processJarSection self._processEntryLine(e, outHelper, jf) File "c:\Mozilla\Coding\Code\mozilla-central\python\mozbuild\mozbuild\jar.py", line 449, in _processEntryLine ', '.join(src_base))) RuntimeError: File "chrome/global/aboutProfiles.dtd" not found in c:/Mozilla/Coding/Code/l10n-central/de\toolkit c:/Mozilla/Coding/Code/mozilla-central/config/rules.mk:1220: recipe for target 'libs' failed mozmake[2]: *** [libs] Error 1 mozmake[2]: Leaving directory 'c:/Mozilla/Coding/Code/objdir-firefox-central/toolkit/locales' Makefile:24: recipe for target 'libs-de' failed mozmake[1]: *** [libs-de] Error 2 mozmake[1]: Leaving directory 'c:/Mozilla/Coding/Code/objdir-firefox-central/toolkit/locales' Makefile:108: recipe for target 'libs-de' failed mozmake: *** [libs-de] Error 2 Steps to reproduce: 1. In the mozilla-central source directory, run: hg update -r 2e50b83954e62d52d2ef294e850c4380d457d96a (I had tried to repack before but had to rebuild because going back to the revision identified by |mozmake ident| contained a change to the clobber file.) 2. Run |mach build| in the source directory. 3. Set up the German (locale code: de) localization repository for mozilla-central: https://developer.mozilla.org/en-US/docs/Creating_a_Language_Pack#Pre-build_steps 4. In that repo, run |hg pull http://hg.mozilla.org/releases/l10n/mozilla-aurora/de/ && hg merge && hg commit| 5. Follow the instructions to create a l10n binary repack at https://developer.mozilla.org/en-US/docs/Creating_a_Language_Pack#L10n_binary_repack , replace "x-testing" with "de". Actual result: Failure mentioned above. |mozmake merge-de| didn't return any error.
Got it working after |mach configure|. Maybe the |mozmake unpack| step was missing after downloading the source again after the clobber.
Status: NEW → RESOLVED
Closed: 10 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.