Closed
Bug 1236978
Opened 9 years ago
Closed 9 years ago
nightly 20160105 compile fails with ERROR PROCESSING MOZBUILD FILE when reticulating splines
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: u532768, Unassigned)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20151231155123
Steps to reproduce:
hg pull -u
./mach build
Actual results:
Build failed with following error.
0:35.98 intl/icu/target> config.status: creating test/perf/strsrchperf/Makefile
0:35.98 intl/icu/target> config.status: creating test/perf/unisetperf/Makefile
0:35.98 intl/icu/target> config.status: creating test/perf/usetperf/Makefile
0:35.98 intl/icu/target> config.status: creating test/perf/ustrperf/Makefile
0:35.98 intl/icu/target> config.status: creating test/perf/utfperf/Makefile
0:35.98 intl/icu/target> config.status: creating test/perf/utrie2perf/Makefile
0:35.98 intl/icu/target> config.status: creating test/perf/leperf/Makefile
0:35.98 intl/icu/target> config.status: creating samples/Makefile
0:35.98 intl/icu/target> config.status: creating samples/date/Makefile
0:35.98 intl/icu/target> config.status: creating samples/cal/Makefile
0:35.98 intl/icu/target> config.status: creating samples/layout/Makefile
0:35.98
0:36.44 Reticulating splines...
0:36.78 Traceback (most recent call last):
0:36.78 File "./config.status", line 1046, in <module>
0:36.78 config_status(**args)
0:36.78 File "/mnt/to_archive/accum/src/mozilla-central/python/mozbuild/mozbuild/config_status.py", line 175, in config_status
0:36.78 definitions = list(definitions)
0:36.78 File "/mnt/to_archive/accum/src/mozilla-central/python/mozbuild/mozbuild/frontend/emitter.py", line 163, in emit
0:36.78 for out in output:
0:36.78 File "/mnt/to_archive/accum/src/mozilla-central/python/mozbuild/mozbuild/frontend/reader.py", line 1059, in read_mozbuild
0:36.80 raise bre
0:36.81 mozbuild.frontend.reader.BuildReaderError:
0:36.81 ==============================
0:36.81 ERROR PROCESSING MOZBUILD FILE
0:36.81 ==============================
0:36.81
0:36.81 The error occurred while processing the following file:
0:36.81
0:36.81 /mnt/to_archive/accum/src/mozilla-central/config/external/sqlite/moz.build
0:36.81
0:36.81 The error was triggered on line 22 of this file:
0:36.81
0:36.81 SYMBOLS_FILE = '/db/sqlite3/src/sqlite.symbols'
0:36.81
0:36.81 The underlying problem is an attempt to write a reserved UPPERCASE variable that does not exist.
0:36.81
0:36.81 The variable write causing the error is:
0:36.81
0:36.81 SYMBOLS_FILE
0:36.81
0:36.81 Please change the file to not use this variable.
0:36.81
0:36.81 For reference, the set of valid variables is:
0:36.81
0:36.81 A11Y_MANIFESTS, ALLOW_COMPILER_WARNINGS, ANDROID_APK_NAME, ANDROID_APK_PACKAGE, ANDROID_ASSETS_DIRS, ANDROID_ECLIPSE_PROJECT_TARGETS, ANDROID_EXTRA_PACKAGES, ANDROID_EXTRA_RES_DIRS, ANDROID_GENERATED_RESFILES, ANDROID_INSTRUMENTATION_MANIFESTS, ANDROID_RES_DIRS, ASFLAGS, BRANDING_FILES, BROWSER_CHROME_MANIFESTS, CFLAGS, CMFLAGS, CMMFLAGS, CONFIGURE_DEFINE_FILES, CONFIGURE_SUBST_FILES, CPP_UNIT_TESTS, CRASHTEST_MANIFESTS, CXXFLAGS, DEFFILE, DEFINES, DELAYLOAD_DLLS, DIRS, DISABLE_STL_WRAPPING, DIST_FILES, DIST_INSTALL, DIST_SUBDIR, EXPORTS, EXTRA_COMPONENTS, EXTRA_DSO_LDOPTS, EXTRA_JS_MODULES, EXTRA_PP_COMPONENTS, EXTRA_PP_JS_MODULES, FILES_PER_UNIFIED_FILE, FINAL_LIBRARY, FINAL_TARGET, FINAL_TARGET_FILES, FORCE_SHARED_LIB, FORCE_STATIC_LIB, GENERATED_EVENTS_WEBIDL_FILES, GENERATED_FILES, GENERATED_INCLUDES, GENERATED_WEBIDL_FILES, GYP_DIRS, HAS_MISC_RULE, HOST_CFLAGS, HOST_CXXFLAGS, HOST_DEFINES, HOST_LIBRARY_NAME, HOST_OS_LIBS, HOST_PROGRAM, HOST_SIMPLE_PROGRAMS, HOST_SOURCES, HOST_USE_LIBS, IPDL_SOURCES, IS_COMPONENT, IS_FRAMEWORK, JAR_MANIFESTS, JAVA_JAR_TARGETS, JETPACK_ADDON_MANIFESTS, JETPACK_PACKAGE_MANIFESTS, JS_PREFERENCE_FILES, LDFLAGS, LD_VERSION_SCRIPT, LIBRARY_DEFINES, LIBRARY_NAME, LOCAL_INCLUDES, METRO_CHROME_MANIFESTS, MOCHITEST_CHROME_MANIFESTS, MOCHITEST_MANIFESTS, MOCHITEST_WEBAPPRT_CHROME_MANIFESTS, MOCHITEST_WEBAPPRT_CONTENT_MANIFESTS, NO_EXPAND_LIBS, NO_JS_MANIFEST, NO_PGO, NO_VISIBILITY_FLAGS, OS_LIBS, PREPROCESSED_TEST_WEBIDL_FILES, PREPROCESSED_WEBIDL_FILES, PROGRAM, PYTHON_UNIT_TESTS, RCFILE, RCINCLUDE, REFTEST_MANIFESTS, RESFILE, RESOURCE_FILES, SDK_LIBRARY, SHARED_LIBRARY_NAME, SIMPLE_PROGRAMS, SONAME, SOURCES, SPHINX_PYTHON_PACKAGE_DIRS, SPHINX_TREES, STATIC_LIBRARY_NAME, TESTING_JS_MODULES, TEST_DIRS, TEST_HARNESS_FILES, TEST_WEBIDL_FILES, UNIFIED_SOURCES, USE_EXTENSION_MANIFEST, USE_LIBS, USE_STATIC_LIBS, WEBIDL_EXAMPLE_INTERFACES, WEBIDL_FILES, WEBRTC_SIGNALLING_TEST_MANIFESTS, WEB_PLATFORM_TESTS_MANIFESTS, WIN32_EXE_LDFLAGS, XPCSHELL_TESTS_MANIFESTS, XPIDL_MODULE, XPIDL_NO_MANIFEST, XPIDL_SOURCES, XPI_NAME
0:36.81
0:36.82 *** Fix above errors and then restart with\
0:36.82 "/bin/gmake -f client.mk build"
0:36.82 /mnt/to_archive/accum/src/mozilla-central/client.mk:359: recipe for target 'configure' failed
0:36.82 gmake[2]: *** [configure] Error 1
0:36.82 /mnt/to_archive/accum/src/mozilla-central/client.mk:373: recipe for target '/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/Makefile' failed
0:36.82 gmake[1]: *** [/mnt/to_archive/accum/src/mozilla-central/obj-x86_64-unknown-linux-gnu/Makefile] Error 2
0:36.82 client.mk:171: recipe for target 'build' failed
0:36.82 gmake: *** [build] Error 2
0:36.85 0 compiler warnings present.
Expected results:
Successful build.
That file contains
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
if CONFIG['MOZ_NATIVE_SQLITE']:
Library('sqlite')
OS_LIBS += CONFIG['SQLITE_LIBS']
else:
DIRS += ['../../../db/sqlite3/src']
if CONFIG['MOZ_FOLD_LIBS']:
Library('sqlite')
# When folding libraries, sqlite is actually in the nss library.
USE_LIBS += [
'nss',
]
else:
SharedLibrary('sqlite')
SHARED_LIBRARY_NAME = 'mozsqlite3'
SYMBOLS_FILE = '/db/sqlite3/src/sqlite.symbols'
I don't see why it is even getting to that assignment, since my configuration file isn't specifying that system sqlite be used. Mozilla should just be using its internal version and the first branch should be taken. I think.
I tried to explicitly disable the use of system sqlite in .mozconfig, but the error still occurred.
Comment 3•9 years ago
|
||
Your source tree is corrupted in some way. There is no changeset in mozilla-central where you can have SYMBOLS_FILE in config/external/sqlite/moz.build without support for SYMBOLS_FILE in python/mozbuild/mozbuild/frontend/context.py such that the error you get would be thrown.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
I reverted to the end of August, and got a clean compile of 44.0a. So, you were right.
Thanks again.
Assignee | ||
Updated•6 years ago
|
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.
Description
•