servo / servo

Servo, the embeddable, independent, memory-safe, modular, parallel web rendering engine
https://servo.org
Mozilla Public License 2.0
28.28k stars 3.02k forks source link

Fresh build failed on ubuntu - mozjs_sys v0.61.8 #23209

Closed EvsChen closed 1 year ago

EvsChen commented 5 years ago

I'm building on Ubuntu 18.04.2 LTS in vagrant.

The error log is attached below.

Error log ```bash error: failed to run custom build command for `mozjs_sys v0.61.8` process didn't exit successfully: `/home/vagrant/repos/servo/target/debug/build/mozjs_sys-083a93df69428bba/build-script-build` (exit code: 101) --- stdout [[ /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure -ot /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure.in ]] && touch /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure || true [[ /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/old-configure -ot /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/old-configure.in ]] && touch /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/old-configure || true ! [[ /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure.in -ot /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure ]] && touch /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure || true ! [[ /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/old-configure.in -ot /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/old-configure ]] && touch /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/old-configure || true if [[ /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure -nt /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/config.status ]] ; then \ cd /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out && \ PYTHON="python2" MOZ_TOOLS="" \ CC="gcc" CFLAGS="" \ CPP="gcc -E" CPPFLAGS="" \ CXX="g++" CXXFLAGS="" \ AS="" AR="ar" \ STLPORT_LIBS="" \ /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --disable-shared-js --build-backends=RecursiveMake --disable-shared-js || (cat config.log && exit 1) ; \ fi Creating Python environment Using real prefix '/usr' New python executable in /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python2 Also creating executable in /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python Overwriting /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/lib/python2.7/distutils/__init__.py with new content Installing setuptools, pip, wheel...done. running build_ext building 'psutil._psutil_linux' extension creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/psutil x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_common.o x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/psutil x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/psutil/_psutil_common.o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o build/lib.linux-x86_64-2.7/psutil/_psutil_linux.so building 'psutil._psutil_posix' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_common.o x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-3hk45v/python2.7-2.7.15~rc1=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/psutil/_psutil_common.o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o build/lib.linux-x86_64-2.7/psutil/_psutil_posix.so copying build/lib.linux-x86_64-2.7/psutil/_psutil_linux.so -> psutil copying build/lib.linux-x86_64-2.7/psutil/_psutil_posix.so -> psutil Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt) Reexecuting in the virtualenv checking for vcs source checkout... no checking for a shell... /bin/sh checking for host system type... x86_64-pc-linux-gnu checking for target system type... x86_64-pc-linux-gnu checking for a shell... /bin/sh checking for host system type... x86_64-pc-linux-gnu checking for target system type... x86_64-pc-linux-gnu checking for android platform directory... no checking for android sysroot directory... no checking for android system directory... no checking for the Android toolchain directory... not found checking for android platform directory... no checking for android system directory... no checking for android sysroot directory... no checking for the Android toolchain directory... not found checking for vcs source checkout... no checking whether cross compiling... no checking for the target C compiler... /usr/bin/gcc checking whether the target C compiler can be used... yes checking for Python 3... /usr/bin/python3 (3.6.7) checking for pkg_config... /usr/bin/pkg-config checking for pkg-config version... 0.29.1 checking for yasm... not found checking for android ndk version... no checking for GoogleVR SDK... Not specified checking the target C compiler version... 7.3.0 checking the target C compiler works... yes checking for the target C++ compiler... /usr/bin/g++ checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 7.3.0 checking the target C++ compiler works... yes checking for the host C compiler... /usr/bin/gcc checking whether the host C compiler can be used... yes checking the host C compiler version... 7.3.0 checking the host C compiler works... yes checking for the host C++ compiler... /usr/bin/g++ checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 7.3.0 checking the host C++ compiler works... yes checking for 64-bit OS... yes checking bindgen cflags... no checking for linker... gold checking for stdint.h... yes checking for inttypes.h... yes checking for malloc.h... yes checking for alloca.h... yes checking for sys/byteorder.h... no checking for getopt.h... yes checking for unistd.h... yes checking for nl_types.h... yes checking for cpuid.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for linux/if_addr.h... yes checking for linux/rtnetlink.h... yes checking for sys/queue.h... yes checking for sys/types.h... yes checking for netinet/in.h... yes checking for byteswap.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking whether the C compiler supports -Wunreachable-code-return... no checking whether the C++ compiler supports -Wunreachable-code-return... no checking whether the C compiler supports -Wclass-varargs... no checking whether the C++ compiler supports -Wclass-varargs... no checking whether the C compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wc++1z-compat... yes checking whether the C++ compiler supports -Wcomma... no checking whether the C compiler supports -Wduplicated-cond... yes checking whether the C++ compiler supports -Wduplicated-cond... yes checking whether the C++ compiler supports -Wimplicit-fallthrough... yes checking whether the C compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wno-inline-new-delete... no checking whether the C compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C compiler supports -Wno-error=deprecated-declarations... yes checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes checking whether the C compiler supports -Wno-error=array-bounds... yes checking whether the C++ compiler supports -Wno-error=array-bounds... yes checking whether the C compiler supports -Wno-error=free-nonheap-object... yes checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes checking whether the C compiler supports -Wformat... yes checking whether the C++ compiler supports -Wformat... yes checking whether the C compiler supports -Wformat-security... yes checking whether the C++ compiler supports -Wformat-security... yes checking whether the C compiler supports -Wformat-overflow=2... yes checking whether the C++ compiler supports -Wformat-overflow=2... yes checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-noexcept-type... yes checking whether the C++ compiler supports -fno-sized-deallocation... yes checking for awk... /usr/bin/gawk checking for perl... /usr/bin/perl checking for minimum required perl version >= 5.006... 5.026001 checking for full perl installation... yes checking for gmake... /usr/bin/make checking for watchman... not found checking for xargs... /usr/bin/xargs checking for rpmbuild... not found checking for autoconf... /usr/bin/autoconf2.13 creating cache ./config.cache checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for gcc... /usr/bin/gcc -std=gnu99 checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) works... yes checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether /usr/bin/gcc -std=gnu99 accepts -g... yes checking for c++... /usr/bin/g++ checking whether the C++ compiler (/usr/bin/g++ ) works... yes checking whether the C++ compiler (/usr/bin/g++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether /usr/bin/g++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for strip... strip checking for windres... no checking for sb-conf... no checking for ve... no checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for --noexecstack option to as... yes checking for -z noexecstack option to ld... yes checking for -z text option to ld... yes checking for -z relro option to ld... yes checking for --build-id option to ld... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking whether 64-bits std::atomic requires -latomic... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether /usr/bin/gcc -std=gnu99 accepts -pthread... yes checking whether /usr/bin/gcc -std=gnu99 needs -traditional... no checking for 8-bit clean memcmp... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for gmtime_r... yes checking for localtime_r... yes checking for pthread_getname_np... yes checking for clock_gettime(CLOCK_MONOTONIC)... checking for sin in -lm... yes checking for sincos in -lm... yes checking for __sincos in -lm... no checking for res_ninit()... yes checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking whether va_list can be copied by value... no checking for C++ dynamic_cast to void*... yes checking for __thread keyword for TLS variables... yes checking for localeconv... yes checking NSPR selection... posix-wrapper checking for gzread in -lz... yes checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for -pipe support... yes checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking what kind of ordering can be done with the linker... none checking for posix_fadvise... yes checking for posix_fallocate... yes checking for malloc.h... yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes checking whether malloc_usable_size definition can use const argument... no checking for valloc in malloc.h... yes checking for valloc in unistd.h... no checking for localeconv... (cached) yes updating cache ./config.cache creating ./config.data cd /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out && make -f Makefile make[1]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make[2]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make recurse_pre-export make[3]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --track install_dist_include.track dist/include _build_manifests/install/dist_include Elapsed: 0.56s; From dist/include: Kept 1 existing; Added/updated 343; Removed 0 files and 0 directories. /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --track install_dist_public.track dist/public _build_manifests/install/dist_public Elapsed: 0.01s; From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --track install_dist_private.track dist/private _build_manifests/install/dist_private Elapsed: 0.01s; From dist/private: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --track install__tests.track _tests _build_manifests/install/_tests Elapsed: 1.54s; From _tests: Kept 1 existing; Added/updated 311; Removed 0 files and 0 directories. /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.process_install_manifest --track install_dist_bin.track dist/bin _build_manifests/install/dist_bin Elapsed: 0.02s; From dist/bin: Kept 0 existing; Added/updated 1; Removed 0 files and 0 directories. make[3]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make[2]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make[2]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make recurse_export make[3]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make[4]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/config' mkdir -p '.deps/' /usr/bin/gcc -std=gnu99 -o host_nsinstall.o -c -DXP_UNIX -freorder-blocks -O3 -DNDEBUG=1 -DTRIMMED=1 -D_UNICODE -DUNICODE -I/home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config -I/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/config -I/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/dist/include -MD -MP -MF .deps/host_nsinstall.o.pp /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/nsinstall.c /usr/bin/gcc -std=gnu99 -o host_pathsub.o -c -DXP_UNIX -freorder-blocks -O3 -DNDEBUG=1 -DTRIMMED=1 -D_UNICODE -DUNICODE -I/home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config -I/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/config -I/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/dist/include -MD -MP -MF .deps/host_pathsub.o.pp /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/pathsub.c nsinstall_real /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/expandlibs_exec.py -- /usr/bin/gcc -std=gnu99 -o nsinstall_real -DXP_UNIX -freorder-blocks -O3 host_nsinstall.o host_pathsub.o cp nsinstall_real nsinstall.tmp mv nsinstall.tmp nsinstall ../config/nsinstall -R -m 755 'nsinstall' '../dist/bin' make[4]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/config' make[4]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/config' system-header.sentinel /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.file_generate /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/make-system-wrappers.py gen_wrappers system-header.sentinel .deps/system-header.sentinel.pp ../dist/system_wrappers new algorithm atomic deque functional ios iosfwd iostream istream iterator limits list map memory ostream set stack string thread type_traits unordered_map unordered_set utility vector cassert climits cmath cstdarg cstdio cstdlib cstring cwchar tuple xutility A4Stuff.h activscp.h AEDataModel.h AEObjects.h AEPackObject.h AERegistry.h AEUtils.h afxcmn.h afxcoll.h afxcview.h afxdisp.h afxdtctl.h afxext.h afxmt.h afxpriv.h afxtempl.h afxwin.h Aliases.h all.h alloca.h alloc.h alsa/asoundlib.h ansi_parms.h a.out.h app/Cursor.h Appearance.h AppFileInfo.h AppKit.h AppleEvents.h Application.h app/Message.h app/MessageRunner.h arpa/inet.h arpa/nameser.h array asm/page.h asm/sigcontext.h asm/signal.h ASRegistry.h assert.h atk/atk.h atlcom.h atlconv.h atlctl.cpp atlctl.h ATLCTL.H atlhost.h atlimpl.cpp atlwin.cpp atomic.h ATSTypes.h ATSUnicode.h Balloons.h base64.h base/pblock.h base/PCR_Base.h base/session.h basetyps.h be/app/Application.h Beep.h be/kernel/image.h be/kernel/OS.h bfd.h Bitmap.h bitset blapi.h blapit.h bsd/libc.h bsd/syscall.h bstring.h builtin.h Button.h byteswap.h cairo-atsui.h cairo-beos.h cairo-directfb.h cairo-ft.h cairo-glitz.h cairo-gobject.h cairo.h cairo-pdf.h cairo-ps.h cairo-qpainter.h cairo-qt.h cairo-quartz.h cairo-tee.h cairo-win32.h cairo-xlib.h cairo-xlib-xrender.h callconv.h Carbon/Carbon.h CarbonEvents.h Carbon.h c_asm.h cctype cderr.h cerrno certdb.h cert.h certt.h CFBase.h CFBundle.h CFData.h CFDictionary.h cf.h CFNumber.h CFPlugIn.h CFPreferences.h CFString.h CFURL.h CGAffineTransform.h CheckBox.h ciferfam.h Clipboard.h cmmf.h cmmft.h cmplrs/stsupport.h cms.h cmsreclist.h cmst.h Cocoa/Cocoa.h CodeFragments.h comdef.h commctrl.h COMMCTRL.H commdlg.h compat.h complex condapi.h ConditionalMacros.h conio.h console.h ControlDefinitions.h Controls.h CoreFoundation/CoreFoundation.h CoreServices/CoreServices.h CPalmRec.cpp Cpalmrec.h CPCatgry.cpp CPDbBMgr.h CPString.cpp CPString.h crmf.h crmft.h crtdbg.h crt_externs.h crypt.h cryptohi.h cryptoht.h cstddef ctime ctype.h curl/curl.h curl/easy.h curses.h cxxabi.h DateTimeUtils.h dbus/dbus-glib.h dbus/dbus-glib-lowlevel.h dbus/dbus.h ddeml.h Debug.h dem.h descrip.h Devices.h dfb_types.h dfiff.h dgiff.h Dialogs.h direct/build.h direct/clock.h direct/conf.h direct/debug.h direct/direct.h directfb_keyboard.h directfb_strings.h direct.h direct/hash.h direct/interface.h direct/interface_implementation.h direct/list.h direct/log.h direct/memcpy.h direct/mem.h direct/messages.h direct/modules.h direct/serial.h direct/signals.h direct/stream.h direct/system.h direct/thread.h direct/trace.h direct/tree.h direct/types.h direct/utf8.h direct/util.h dirent.h DiskInit.h dlfcn.h dlgs.h dl.h docobj.h dos/dosextens.h dos.h Drag.h DriverServices.h DriverSynchronization.h DropInPanel.h dvidef.h ecl-exp.h elf.h endian.h Entry.h err.h errno.h Errors.h Events.h exception exdisp.h ExDisp.h exe386.h execinfo.h extras.h fcntl.h features.h fenv.h ffi.h fibdef.h File.h filehdr.h files.h Files.h FindDirectory.h Finder.h FinderRegistry.h FixMath.h float.h fnmatch.h Folders.h fontconfig/fcfreetype.h fontconfig/fontconfig.h Font.h Fonts.h fp.h fpieee.h frame/log.h frame/req.h freetype/freetype.h freetype/ftadvanc.h freetype/ftbitmap.h freetype/ftcache.h freetype/ftfntfmt.h freetype/ftglyph.h freetype/ftlcdfil.h freetype/ftoutln.h freetype/ftsizes.h freetype/ftsynth.h freetype/ftxf86.h freetype.h freetype/t1tables.h freetype/ttnameid.h freetype/tttables.h fribidi/fribidi.h FSp_fopen.h fstream fstream.h ft2build.h ftadvanc.h ftbitmap.h ftcache.h ftfntfmt.h ftglyph.h ftlcdfil.h ftoutln.h fts.h ftsizes.h ftsynth.h ftxf86.h fusion/arena.h fusion/build.h fusion/call.h fusion/conf.h fusion/fusion.h fusion/fusion_internal.h fusion/hash.h fusion/lock.h fusion/object.h fusion/property.h fusion/protocol.h fusion/reactor.h fusion/ref.h fusion/shmalloc.h fusion/shm/pool.h fusion/shm/shm.h fusion/shm/shm_internal.h fusion/types.h fusion/vector.h gconf/gconf-client.h Gdiplus.h gdk/gdkdirectfb.h gdk/gdk.h gdk/gdkkeysyms.h gdk/gdkprivate.h gdk/gdkwayland.h gdk/gdkx.h gdk-pixbuf/gdk-pixbuf.h Gestalt.h getopt.h gio/gio.h glibconfig.h glib.h glib-object.h glob.h gmodule.h gnome.h gnu/libc-version.h gps.h grp.h gssapi_generic.h gssapi/gssapi_generic.h gssapi/gssapi.h gssapi.h gst/app/gstappsink.h gst/app/gstappsrc.h gst/gst.h gst/video/video.h gtk/gtk.h gtk/gtkunixprint.h gtk/gtkx.h hasht.h HIToolbox/HIToolbox.h hlink.h ia64/sys/inline.h Icons.h iconv.h ieeefp.h ifaddrs.h image.h imagehlp.h imm.h initguid.h initializer_list InterfaceDefs.h InternetConfig.h IntlResources.h ints.h intshcut.h inttypes.h iodef.h io.h IOKit/IOKitLib.h IOKit/IOMessage.h IOKit/pwr_mgt/IOPMLib.h iomanip iostream.h jar-ds.h jarfile.h jar.h JavaControl.h JavaEmbedding/JavaControl.h JavaVM/jni.h JManager.h JNIEnvTests.h jni.h JVMManagerTests.h Kerberos/Kerberos.h kernel/image.h kernel/OS.h key.h keyhi.h keyt.h keythi.h kvm.h LAction.h langinfo.h LApplication.h LArray.h LArrayIterator.h LAttachable.h LAttachment.h LaunchServices.h lber.h LBroadcaster.h LButton.h lcache.h LCaption.h LCheckBox.h LCicnButton.h LClipboard.h LCommander.h LComparator.h LControl.h ldap.h ldaplog.h ldappr.h ldap_ssl.h LDataStream.h ldfcn.h LDialogBox.h ldif.h LDocApplication.h LDocument.h LDragAndDrop.h LDragTask.h LEditField.h LEditText.h LEventDispatcher.h LFile.h LFileStream.h LFileTypeList.h LFocusBox.h LGrafPortView.h LHandleStream.h libc_r.h libelf.h libelf/libelf.h libgen.h libgnome/gnome-url.h libgnome/libgnome.h libgnomeui/gnome-icon-lookup.h libgnomeui/gnome-icon-theme.h libgnomeui/gnome-ui-init.h libutil.h limits.h link.h linux/ioprio.h linux/kernel.h linux/limits.h linux/rtc.h linux/version.h List.h Lists.h LListBox.h LListener.h LMenuBar.h LMenu.h LModelDirector.h LModelObject.h LModelProperty.h loader.h locale locale.h LOffscreenView.h logkeys.h logstrng.h Looper.h LowMem.h LPane.h LPeriodical.h LPicture.h LPlaceHolder.h LPrintout.h LProgressBar.h LPushButton.h LRadioGroup.h LRadioGroupView.h LRunArray.h LScroller.h LSharable.h LSingleDoc.h LStaticText.h LStdControl.h LStream.h LString.h LTabGroup.h LTabGroupView.h LTableArrayStorage.h LTableMonoGeometry.h LTableSingleSelector.h LTableView.h LTextEditView.h LTextTableView.h LUndoer.h LVariableArray.h LView.h LWindow.h m68881.h MacErrors.h MacHeadersCarbon.h machine/ansi.h machine/builtins.h machine/clock.h machine/endian.h machine/frame.h machine/inline.h machine/limits.h machine/signal.h machine/trap.h mach/mach_host.h mach/mach_init.h mach/mach_interface.h mach/mach_port.h mach-o/dyld.h MacLocales.h MacMemory.h MacTCP.h MacTypes.h MacWindows.h malloc.h malloc_np.h mapicode.h mapidefs.h mapiguid.h mapi.h mapitags.h mapiutil.h mapix.h Math64.h math.h mbstring.h mem.h memory.h Memory.h MenuBar.h Menu.h Menus.h Message.h Mime.h MixedMode.h mlang.h mmsystem.h model.h Movies.h mpw/errno.h mshtmhst.h mshtml.h mswsock.h Multiprocessing.h mutex.h Navigation.h ncompat.h ncurses.h netCore.h netdb.h net/if.h netinet/in.h netinet/in_systm.h netinet/tcp.h newexe.h new.h nl_types.h NodeInfo.h nspr.h nssb64.h nssb64t.h nssbase.h nssbaset.h nssck.api nssckbi.h nssckepv.h nssckft.h nssckfwc.h nssckfw.h nssckfwt.h nssckg.h nssckmdt.h nssckt.h nss.h nssilckt.h nssilock.h nsslocks.h nssrwlk.h nssrwlkt.h nssutil.h nsswitch.h objbase.h objidl.h Objsafe.h ocsp.h ocspt.h ojiapitests.h ole2.h oleidl.h OpenGL/OpenGL.h OpenTptInternet.h OpenTransport.h OS.h osreldate.h OSUtils.h p12.h p12plcy.h p12t.h Packages.h Palettes.h PALM_CMN.H pango/pango-break.h pango/pangocairo.h pango/pangofc-decoder.h pango/pangofc-font.h pango/pangofc-fontmap.h pango/pango-fontmap.h pango/pango.h pango/pango-modules.h pango/pango-utils.h pango/pangoxft.h pascal.h Patches.h Path.h pcfs/pc_dir.h Pgenerr.h PGenErr.h Ph.h pixman.h pk11func.h pk11pqg.h pk11priv.h pk11pub.h pk11sdr.h pkcs11f.h pkcs11.h pkcs11n.h pkcs11p.h pkcs11t.h pkcs11u.h pkcs12.h pkcs12t.h pkcs7t.h plarena.h plarenas.h plbase64.h plerror.h plgetopt.h plhash.h plstr.h PLStringFuncs.h PMApplication.h pmddim.h poll.h Polygon.h portable.h port.h portreg.h Power.h PP_ClassHeaders.cp PP_Constants.h PPCToolbox.h PP_DebugHeaders.cp PP_KeyCodes.h PP_Macros.h PP_Messages.h PP_Prefix.h PP_Resources.h PP_Types.h pratom.h prbit.h prclist.h prcmon.h prcountr.h prcpucfg.h prcvar.h prdtoa.h preenc.h prenv.h prerr.h prerror.h prinet.h prinit.h prinrval.h Printing.h Print/PMPrintingDialogExtensions.h prio.h pripcsem.h private prlink.h prlock.h prlog.h prlong.h prmem.h prmon.h prmwait.h prnetdb.h Processes.h process.h Process.h prolock.h proto/dos.h proto/exec.h prpdce.h prprf.h prproces.h prrng.h prrwlock.h prshma.h prshm.h prsystem.h prthread.h prtime.h prtpool.h prtrace.h prtypes.h prvrsion.h prwin16.h psap.h Pt.h pthread.h pthread_np.h pulse/pulseaudio.h pwd.h Python.h QDOffscreen.h queue Quickdraw.h QuickDraw.h QuickTimeComponents.h quipu/attr.h regex.h Region.h resolv.h Resources.h Retrace.h rld_interface.h Roster.h rpc.h rpcproxy.h rpc/types.h sane/sane.h sane/sanei.h sane/saneopts.h sanitizer/asan_interface.h sched.h Scrap.h Screen.h Script.h ScrollBar.h secasn1.h secasn1t.h seccomon.h secder.h secdert.h secdig.h secdigt.h secerr.h sec.h sechash.h secitem.h secmime.h secmod.h secmodt.h secoid.h secoidt.h secpkcs5.h secpkcs7.h secport.h secrng.h security.h secutil.h semaphore.h servprov.h setjmp.h SFNTLayoutTypes.h SFNTTypes.h sha1.h share.h shellapi.h shlguid.h shlobj.h shsign.h sigcontext.h signal.h SimpleGameSound.h SIOUX.h size_t.h smime.h sndio.h someincludefile.h soundcard.h Sound.h soundtouch/SoundTouchFactory.h soundtouch/SoundTouch.h spawn.h sqlite3.h sslerr.h ssl.h sslproto.h sslt.h sstream StandardFile.h starlet.h stat.h statreg.cpp statreg.h stdarg.h stdbool.h stddef.h stdint.h stdio.h stdlib.h storage/FindDirectory.h StorageKit.h StringCompare.h string.h String.h strings.h Strings.h StringView.h stropts.h strstrea.h structs.h stsdef.h SupportDefs.h support/String.h support/SupportDefs.h support/TLS.h svrcore.h symconst.h sym.h synch.h syncmgr.h sys/atomic_op.h sys/auxv.h sys/bitypes.h sys/byteorder.h syscall.h sys/cdefs.h sys/cfgodm.h sys/elf.h sys/endian.h sys/epoll.h sys/errno.h sys/eventfd.h sys/fault.h sys/fcntl.h sys/file.h sys/filio.h sys/frame.h sys/immu.h sys/inotify.h sys/inttypes.h sys/ioccom.h sys/ioctl.h sys/ipc.h sys/klog.h sys/ldr.h sys/link.h sys/locking.h syslog.h sys/lwp.h sys/machine.h sys/mman.h sys/mmu.h sys/mount.h sys/mpctl.h sys/msg.h sys/param.h sys/pda.h sys/poll.h sys/ppc.h sys/prctl.h sys/priv.h sys/procfs.h sys/pstat.h sys/ptrace.h sys/queue.h sys/quota.h sys/reboot.h sys/reg.h sys/regset.h sys/resource.h sys/sched.h sys/select.h sys/sem.h sys/sendfile.h sys/shm.h sys/siginfo.h sys/signal.h sys/socket.h sys/sockio.h sys/sparc/frame.h sys/stack.h sys/statfs.h sys/stat.h sys/statvfs.h sys/syscall.h sys/sysctl.h sys/sysinfo.h sys/sysmacros.h sys/sysmp.h sys/syssgi.h sys/systeminfo.h sys/system_properties.h sys/thr.h sys/timeb.h sys/time.h sys/times.h sys/ttycom.h sys/types.h sys/ucontext.h sys/uio.h sys/un.h sys/unistd.h sys/user.h sys/utsname.h sys/vfs.h sys/wait.h t1tables.h tables.h TArray.h TArrayIterator.h task.h tchar.h TCHAR.H termios.h TextCommon.h TextEdit.h TextEncodingConverter.h TextServices.h TextUtils.h TextView.h th/PCR_Th.h thread.h ThreadManagerTests.h Threads.h time.h Timer.h tlhelp32.h ToolUtils.h tr1/functional trace.h Traps.h ttnameid.h tttables.h typeinfo types.h Types.h UAppleEventsMgr.h UAttachments.h ucontext.h uconv.h UCursor.h UDebugging.h UDesktop.h UDrawingState.h UDrawingUtils.h UEnvironment.h UEventMgr.h UException.h UExtractFromAEDesc.h UGWorld.h UKeyFilters.h ulocks.h ulserrno.h UMemoryMgr.h UModalDialogs.h UNavServicesDialogs.h UnicodeBlockObjects.h UnicodeConverter.h UnicodeUtilities.h unidef.h unikbd.h unistd.h unix.h unixio.h unknwn.h unwind.h UPrinting.h UQuickTime.h UReanimator.h URegions.h URegistrar.h UResourceMgr.h urlhist.h urlmon.h UScrap.h UScreenPort.h UTCUtils.h UTETextAction.h UTEViewTextAction.h UTextEdit.h UTextTraits.h utilmodt.h utilpars.h utilparst.h utilrename.h utime.h UWindows.h values.h varargs.h vcclr.h View.h Volume.h wab.h wait.h wchar.h wctype.h winbase.h win/compobj.h windef.h Window.h windows.h Windows.h windowsx.h Wininet.h winnls.h winperf.h winreg.h Winreg.h winsock2.h winsock.h winspool.h winsvc.h winuser.h winver.h wmem.h workbench/startup.h wtypes.h wx/image.h wx/listctrl.h wx/log.h wx/toolbar.h wx/wx.h wx/xrc/xmlres.h X11/cursorfont.h X11/extensions/Print.h X11/extensions/scrnsaver.h X11/extensions/shape.h X11/extensions/Xcomposite.h X11/extensions/Xdamage.h X11/extensions/Xfixes.h X11/extensions/Xrender.h X11/extensions/XShm.h X11/ImUtil.h X11/Intrinsic.h X11/keysymdef.h X11/keysym.h X11/Shell.h X11/StringDefs.h X11/Xatom.h X11/Xft/Xft.h X11/Xfuncproto.h X11/X.h X11/XKBlib.h X11/Xlib.h X11/Xlibint.h X11/Xlib-xcb.h X11/Xlocale.h X11/Xos.h X11/Xutil.h xcb/shm.h xcb/xcb.h xlocale.h zmouse.h zlib.h sys/event.h pixman.h make[4]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/config' make[4]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/js/src' js-confdefs.h /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.file_generate /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/python/mozbuild/mozbuild/action/process_define_files.py process_define_file js-confdefs.h .deps/js-confdefs.h.pp /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/js-confdefs.h.in js-config.h /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.file_generate /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/python/mozbuild/mozbuild/action/process_define_files.py process_define_file js-config.h .deps/js-config.h.pp /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/js-config.h.in ReservedWordsGenerated.h /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.file_generate /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/frontend/GenerateReservedWords.py main frontend/ReservedWordsGenerated.h .deps/frontend/ReservedWordsGenerated.h.pp /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/frontend/ReservedWords.h selfhosted.out.h /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.file_generate /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/embedjs.py generate_selfhosted selfhosted.out.h .deps/selfhosted.out.h.pp /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/js.msg /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/TypedObjectConstants.h /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/SelfHostingDefines.h /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Utilities.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Array.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/AsyncIteration.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Classes.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Date.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Error.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Function.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Generator.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/Collator.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/CommonFunctions.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/CurrencyDataGenerated.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/DateTimeFormat.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/IntlObject.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/LangTagMappingsGenerated.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/NumberFormat.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/PluralRules.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/intl/RelativeTimeFormat.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Iterator.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Map.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Module.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Number.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Object.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Promise.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Reflect.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/RegExp.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/RegExpGlobalReplaceOpt.h.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/RegExpLocalReplaceOpt.h.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/String.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Set.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/Sorting.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/TypedArray.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/TypedObject.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/WeakMap.js /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/builtin/WeakSet.js StatsPhasesGenerated.h /usr/bin/g++ -E -o self-hosting-preprocessed.pp -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DHAVE_SINCOS=1 -DJS_64BIT=1 -DHAVE_STRNDUP=1 -DHAVE_POSIX_FALLOCATE=1 -DRELEASE_OR_BETA=1 -DXP_UNIX=1 -DCROSS_COMPILE= -DEXPOSE_INTL_API=1 -DHAVE_GMTIME_R=1 -DHAVE_SYS_TYPES_H=1 -DJS_CODEGEN_X64=1 -DJS_PUNBOX64=1 -DMOZILLA_UAVERSION="60.0" -DMOZJS_MAJOR_VERSION=60 -DHAVE_LIBM=1 -DHAVE_POSIX_FADVISE=1 -DHAVE_SSIZE_T=1 -DHAVE_VALLOC=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_GETOPT_H=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_NL_TYPES_H=1 -DMOZILLA_VERSION="60.0.3" -DXP_LINUX=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE_DIRENT_H=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_INTTYPES_H=1 -DJS_POSIX_NSPR=1 -DHAVE_SYS_QUEUE_H=1 -DHAVE_RES_NINIT=1 -DENABLE_INTL_API=1 -DHAVE_LOCALECONV=1 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DHAVE_PTHREAD_GETNAME_NP=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_VA_COPY=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_STDINT_H=1 -DVA_COPY=va_copy -DHAVE_LINUX_RTNETLINK_H=1 -DMALLOC_USABLE_SIZE_CONST_PTR= -DHAVE_ALLOCA_H=1 -DJS_STANDALONE=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_NETINET_IN_H=1 -DHAVE_LINUX_IF_ADDR_H=1 -DMOZJS_MINOR_VERSION=0 -DTRIMMED=1 -DHAVE_SYS_STATVFS_H=1 -DNDEBUG=1 -DMALLOC_H= -DHAVE_BYTESWAP_H=1 -DHAVE_LINUX_PERF_EVENT_H=1 -DHAVE_DLOPEN=1 -DMOZ_STATIC_JS=1 -DHAVE_64BIT_BUILD=1 -D_REENTRANT=1 -DHAVE_MALLOC_H=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_LINUX_QUOTA_H=1 -DHAVE_SYS_VFS_H=1 -DU_USING_ICU_NAMESPACE=0 -DMOZ_UPDATE_CHANNEL=default -DHAVE_LANGINFO_CODESET=1 -DSTATIC_EXPORTABLE_JS_API=1 -DHAVE_CPUID_H=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DMOZ_DLL_SUFFIX=".so" -DMOZILLA_VERSION_U=60.0.3 -DCPP_THROW_NEW=throw() -DNO_NSPR_10_SUPPORT=1 -DU_STATIC_IMPLEMENTATION=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_MEMALIGN=1 -DEDITLINE=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMOZ_BUILD_APP=js -DHAVE_SYS_QUOTA_H=1 self-hosting-cpp-input.cpp /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.file_generate /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/gc/GenerateStatsPhases.py generateHeader gc/StatsPhasesGenerated.h .deps/gc/StatsPhasesGenerated.h.pp StatsPhasesGenerated.cpp /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/_virtualenv/bin/python -m mozbuild.action.file_generate /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/js/src/gc/GenerateStatsPhases.py generateCpp gc/StatsPhasesGenerated.cpp .deps/gc/StatsPhasesGenerated.cpp.pp ../../config/nsinstall -R -m 644 'js-config.h' '../../dist/include' make[4]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/js/src' make[4]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/memory/build' make[4]: Nothing to be done for 'export'. make[4]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/memory/build' make[4]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/mozglue/build' make[4]: Nothing to be done for 'export'. make[4]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/mozglue/build' make[4]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/js/src/build' make[4]: Nothing to be done for 'export'. make[4]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/js/src/build' make[3]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make[2]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make[2]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make recurse_compile make[3]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' make[4]: Entering directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/mfbt' mkdir -p '.deps/' /usr/bin/gcc -std=gnu99 -o lz4.o -c -I/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/dist/system_wrappers -include /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DIMPL_MFBT -DLZ4LIB_VISIBILITY= -I/home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/mfbt -I/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/mfbt -I/home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/mfbt/double-conversion -I/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/dist/include -fPIC -include /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/js/src/js-confdefs.h -DMOZILLA_CLIENT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -Wformat-overflow=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -g -freorder-blocks -O3 -fomit-frame-pointer -MD -MP -MF .deps/lz4.o.pp /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/mfbt/lz4.c /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/rules.mk:773: recipe for target 'lz4.o' failed make[4]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/mfbt' /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/recurse.mk:73: recipe for target 'mfbt/target' failed make[3]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/recurse.mk:32: recipe for target 'compile' failed make[2]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/config/rules.mk:434: recipe for target 'default' failed make[1]: Leaving directory '/home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out' makefile.cargo:162: recipe for target 'all' failed --- stderr Creating config.status Reticulating splines... Finished reading 37 moz.build files in 0.64s Read 0 gyp files in parallel contributing 0.00s to total wall time Processed into 161 build config descriptors in 0.36s RecursiveMake backend executed in 1.94s 125 total backend files; 125 created; 0 updated; 0 unchanged; 0 deleted; 6 -> 29 Makefile Total wall time: 3.11s; CPU time: 0.43s; Efficiency: 14%; Untracked: 0.16s backend.mk:2160: warning: overriding recipe for target '../dist/system_wrappers/pixman.h' backend.mk:1278: warning: ignoring old recipe for target '../dist/system_wrappers/pixman.h' backend.mk:2160: warning: overriding recipe for target '../dist/system_wrappers/pixman.h' backend.mk:1278: warning: ignoring old recipe for target '../dist/system_wrappers/pixman.h' In file included from /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/mozjs/mfbt/lz4.c:159:0: /home/vagrant/repos/servo/target/debug/build/mozjs_sys-2e89ff6ed8011a40/out/dist/system_wrappers/string.h:3:15: fatal error: String.h: No such file or directory #include_next ^~~~~~~~~~ compilation terminated. make[4]: *** [lz4.o] Error 1 make[3]: *** [mfbt/target] Error 2 make[2]: *** [compile] Error 2 make[1]: *** [default] Error 2 make: *** [all] Error 2 thread 'main' panicked at 'assertion failed: result.success()', /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.8/build.rs:114:5 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. warning: build failed, waiting for other jobs to finish... error: build failed [Warning] Could not generate notification! Optional Python module 'dbus' is not installed. Build FAILED in 1:04:20 ```
tigercosmos commented 5 years ago

I used a new environment of Ubuntu 18.04 in Docker, and encountered errors with mozjs_sys v0.61.12

build log ```log root@71779494e780:~/servo# RUST_BACKTRACE=1 ./mach build -d Compiling xcb v0.8.2 Compiling mozjs_sys v0.61.12 Compiling ipc-channel v0.11.2 Compiling hyper_serde v0.9.0 Compiling hyper-openssl v0.7.0 Compiling webdriver v0.39.0 Compiling influent v0.5.1 Compiling xml5ever v0.12.1 error: failed to run custom build command for `mozjs_sys v0.61.12` process didn't exit successfully: `/root/servo/target/debug/build/mozjs_sys-ddaa7a77a0364ab0/build-script-build` (exit code: 101) --- stdout [[ /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure -ot /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure.in ]] && touch /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure || true [[ /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/old-configure -ot /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/old-configure.in ]] && touch /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/old-configure || true ! [[ /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure.in -ot /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure ]] && touch /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure || true ! [[ /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/old-configure.in -ot /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/old-configure ]] && touch /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/old-configure || true if [[ /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure -nt /root/servo/target/debug/build/mozjs_sys-f9fc9adb244befc9/out/config.status ]] ; then \ cd /root/servo/target/debug/build/mozjs_sys-f9fc9adb244befc9/out && \ PYTHON="python2" MOZ_TOOLS="" \ CC="gcc" CFLAGS="" \ CPP="gcc -E" CPPFLAGS="" \ CXX="g++" CXXFLAGS="" \ AS="" AR="ar" \ STLPORT_LIBS="" \ /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --disable-shared-js --build-backends=RecursiveMake --disable-shared-js || (cat config.log && exit 1) ; \ fi cd /root/servo/target/debug/build/mozjs_sys-f9fc9adb244befc9/out && make -f Makefile make[1]: Entering directory '/root/servo/target/debug/build/mozjs_sys-f9fc9adb244befc9/out' make[1]: Leaving directory '/root/servo/target/debug/build/mozjs_sys-f9fc9adb244befc9/out' makefile.cargo:172: recipe for target 'all' failed --- stderr make[1]: Makefile: No such file or directory make[1]: *** No rule to make target 'Makefile'. Stop. make: *** [all] Error 2 thread 'main' panicked at 'assertion failed: result.success()', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.61.12/build.rs:142:5 stack backtrace: 0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 1: std::sys_common::backtrace::_print at src/libstd/sys_common/backtrace.rs:71 2: std::panicking::default_hook::{{closure}} at src/libstd/sys_common/backtrace.rs:59 at src/libstd/panicking.rs:197 3: std::panicking::default_hook at src/libstd/panicking.rs:211 4: std::panicking::rust_panic_with_hook at src/libstd/panicking.rs:474 5: std::panicking::begin_panic at /rustc/e305df1846a6d985315917ae0c81b74af8b4e641/src/libstd/panicking.rs:408 6: build_script_build::build_jsapi at ./build.rs:142 7: build_script_build::main at ./build.rs:48 8: std::rt::lang_start::{{closure}} at /rustc/e305df1846a6d985315917ae0c81b74af8b4e641/src/libstd/rt.rs:64 9: std::panicking::try::do_call at src/libstd/rt.rs:49 at src/libstd/panicking.rs:293 10: __rust_maybe_catch_panic at src/libpanic_unwind/lib.rs:85 11: std::rt::lang_start_internal at src/libstd/panicking.rs:272 at src/libstd/panic.rs:388 at src/libstd/rt.rs:48 12: std::rt::lang_start at /rustc/e305df1846a6d985315917ae0c81b74af8b4e641/src/libstd/rt.rs:64 13: main 14: __libc_start_main 15: _start ```
jdm commented 5 years ago

Seems like it did not run configure, which would have generated the makefile :<

tigercosmos commented 5 years ago

Even I used new 16.04 and followed .travis.yml steps to build, it still failed on mozjs_sys v0.61.12. Shall we suspect it is an upstream issue?

jdm commented 5 years ago

Can you reproduce it if you clone mozjs and build it directly?

tigercosmos commented 5 years ago

I can.

```log root@84d860fc911f:/mozjs# LIBCLANG_PATH=/usr/lib/clang/6.0/lib cargo build Compiling mozjs_sys v0.61.12 (/mozjs) error: failed to run custom build command for `mozjs_sys v0.61.12 (/mozjs)` process didn't exit successfully: `/mozjs/target/debug/build/mozjs_sys-803c933cfd499238/build-script-build` (exit code: 101) --- stdout [[ /mozjs/mozjs/js/src/configure -ot /mozjs/mozjs/js/src/configure.in ]] && touch /mozjs/mozjs/js/src/configure || true [[ /mozjs/mozjs/js/src/old-configure -ot /mozjs/mozjs/js/src/old-configure.in ]] && touch /mozjs/mozjs/js/src/old-configure || true ! [[ /mozjs/mozjs/js/src/configure.in -ot /mozjs/mozjs/js/src/configure ]] && touch /mozjs/mozjs/js/src/configure || true ! [[ /mozjs/mozjs/js/src/old-configure.in -ot /mozjs/mozjs/js/src/old-configure ]] && touch /mozjs/mozjs/js/src/old-configure || true if [[ /mozjs/mozjs/js/src/configure -nt /mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out/config.status ]] ; then \ cd /mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out && \ PYTHON="python2" MOZ_TOOLS="" \ CC="gcc" CFLAGS="" \ CPP="gcc -E" CPPFLAGS="" \ CXX="g++" CXXFLAGS="" \ AS="" AR="ar" \ STLPORT_LIBS="" \ /mozjs/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --disable-shared-js --build-backends=RecursiveMake --disable-shared-js || (cat config.log && exit 1) ; \ fi cd /mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out && make -f Makefile make[1]: Entering directory '/mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out' make[1]: Leaving directory '/mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out' makefile.cargo:172: recipe for target 'all' failed --- stderr make[1]: Makefile: No such file or directory make[1]: *** No rule to make target 'Makefile'. Stop. make: *** [all] Error 2 thread 'main' panicked at 'assertion failed: result.success()', build.rs:142:5 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. root@84d860fc911f:/mozjs# rm -rf target root@84d860fc911f:/mozjs# LIBCLANG_PATH=/usr/lib/clang/6.0/lib cargo build Compiling libc v0.2.53 Compiling cc v1.0.35 Compiling autocfg v0.1.2 Compiling memchr v2.2.0 Compiling version_check v0.1.5 Compiling rustc-demangle v0.1.14 Compiling glob v0.2.11 Compiling lazy_static v1.3.0 Compiling byteorder v1.3.1 Compiling ucd-util v0.1.3 Compiling proc-macro2 v0.4.28 Compiling regex v1.1.6 Compiling cfg-if v0.1.7 Compiling unicode-xid v0.1.0 Compiling utf8-ranges v1.0.2 Compiling quick-error v1.2.2 Compiling unicode-width v0.1.5 Compiling vec_map v0.8.1 Compiling strsim v0.8.0 Compiling scopeguard v0.3.3 Compiling bindgen v0.49.0 Compiling bitflags v1.0.4 Compiling termcolor v1.0.4 Compiling ansi_term v0.11.0 Compiling peeking_take_while v0.1.2 Compiling pkg-config v0.3.14 Compiling shlex v0.1.1 Compiling thread_local v0.3.6 Compiling backtrace v0.3.15 Compiling nom v4.2.3 Compiling clang-sys v0.28.0 Compiling log v0.4.6 Compiling regex-syntax v0.6.6 Compiling backtrace-sys v0.1.28 Compiling libloading v0.5.0 Compiling humantime v1.2.0 Compiling textwrap v0.11.0 Compiling libz-sys v1.0.25 Compiling hashbrown v0.1.8 Compiling aho-corasick v0.7.3 Compiling atty v0.2.11 Compiling clap v2.33.0 Compiling quote v0.6.12 Compiling failure v0.1.5 Compiling which v2.0.1 Compiling cexpr v0.3.5 Compiling env_logger v0.6.1 Compiling mozjs_sys v0.61.12 (/mozjs) error: failed to run custom build command for `mozjs_sys v0.61.12 (/mozjs)` process didn't exit successfully: `/mozjs/target/debug/build/mozjs_sys-803c933cfd499238/build-script-build` (exit code: 101) --- stdout [[ /mozjs/mozjs/js/src/configure -ot /mozjs/mozjs/js/src/configure.in ]] && touch /mozjs/mozjs/js/src/configure || true [[ /mozjs/mozjs/js/src/old-configure -ot /mozjs/mozjs/js/src/old-configure.in ]] && touch /mozjs/mozjs/js/src/old-configure || true ! [[ /mozjs/mozjs/js/src/configure.in -ot /mozjs/mozjs/js/src/configure ]] && touch /mozjs/mozjs/js/src/configure || true ! [[ /mozjs/mozjs/js/src/old-configure.in -ot /mozjs/mozjs/js/src/old-configure ]] && touch /mozjs/mozjs/js/src/old-configure || true if [[ /mozjs/mozjs/js/src/configure -nt /mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out/config.status ]] ; then \ cd /mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out && \ PYTHON="python2" MOZ_TOOLS="" \ CC="gcc" CFLAGS="" \ CPP="gcc -E" CPPFLAGS="" \ CXX="g++" CXXFLAGS="" \ AS="" AR="ar" \ STLPORT_LIBS="" \ /mozjs/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --disable-shared-js --build-backends=RecursiveMake --disable-shared-js || (cat config.log && exit 1) ; \ fi Creating Python environment New python executable in /mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out/_virtualenv/bin/python2 Also creating executable in /mozjs/target/debug/build/mozjs_sys-cdea9ac1ee05b847/out/_virtualenv/bin/python Installing setuptools, pip, wheel...done. running build_ext copying build/lib.linux-x86_64-2.7/psutil/_psutil_linux.so -> psutil copying build/lib.linux-x86_64-2.7/psutil/_psutil_posix.so -> psutil Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt) Reexecuting in the virtualenv checking for vcs source checkout... no checking for a shell... /bin/sh checking for host system type... x86_64-pc-linux-gnu checking for target system type... x86_64-pc-linux-gnu checking for a shell... /bin/sh checking for host system type... x86_64-pc-linux-gnu checking for target system type... x86_64-pc-linux-gnu checking for android platform directory... no checking for android sysroot directory... no checking for android system directory... no checking for the Android toolchain directory... not found checking for android platform directory... no checking for android system directory... no checking for android sysroot directory... no checking for the Android toolchain directory... not found checking for vcs source checkout... no checking whether cross compiling... no checking for the target C compiler... /usr/bin/gcc checking whether the target C compiler can be used... yes checking for Python 3... /usr/bin/python3 (3.5.2) checking for pkg_config... /usr/bin/pkg-config checking for pkg-config version... 0.29.1 checking for yasm... not found checking for android ndk version... no checking for GoogleVR SDK... Not specified checking the target C compiler version... 5.5.0 checking the target C compiler works... yes checking for the target C++ compiler... /usr/bin/g++ checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 5.5.0 checking the target C++ compiler works... yes checking for the host C compiler... /usr/bin/gcc checking whether the host C compiler can be used... yes checking the host C compiler version... 5.5.0 checking the host C compiler works... yes checking for the host C++ compiler... /usr/bin/g++ checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 5.5.0 checking the host C++ compiler works... yes checking for 64-bit OS... yes checking bindgen cflags... no checking for linker... gold checking for stdint.h... yes checking for inttypes.h... yes checking for malloc.h... yes checking for alloca.h... yes checking for sys/byteorder.h... no checking for getopt.h... yes checking for unistd.h... yes checking for nl_types.h... yes checking for cpuid.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for linux/if_addr.h... yes checking for linux/rtnetlink.h... yes checking for sys/queue.h... yes checking for sys/types.h... yes checking for netinet/in.h... yes checking for byteswap.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking whether the C compiler supports -Wunreachable-code-return... no checking whether the C++ compiler supports -Wunreachable-code-return... no checking whether the C compiler supports -Wclass-varargs... no checking whether the C++ compiler supports -Wclass-varargs... no checking whether the C compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wc++1z-compat... no checking whether the C++ compiler supports -Wcomma... no checking whether the C compiler supports -Wduplicated-cond... no checking whether the C++ compiler supports -Wduplicated-cond... no checking whether the C++ compiler supports -Wimplicit-fallthrough... no checking whether the C compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wno-inline-new-delete... no checking whether the C compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C compiler supports -Wno-error=deprecated-declarations... yes checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes checking whether the C compiler supports -Wno-error=array-bounds... yes checking whether the C++ compiler supports -Wno-error=array-bounds... yes checking whether the C compiler supports -Wno-error=free-nonheap-object... yes checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes checking whether the C compiler supports -Wformat... yes checking whether the C++ compiler supports -Wformat... yes checking whether the C compiler supports -Wformat-security... yes checking whether the C++ compiler supports -Wformat-security... yes checking whether the C compiler supports -Wformat-overflow=2... no checking whether the C++ compiler supports -Wformat-overflow=2... no checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-noexcept-type... no checking whether the C++ compiler supports -fno-sized-deallocation... yes checking for awk... /usr/bin/mawk checking for perl... /usr/bin/perl checking for minimum required perl version >= 5.006... 5.022001 checking for full perl installation... yes checking for gmake... /usr/bin/make checking for watchman... not found checking for xargs... /usr/bin/xargs checking for rpmbuild... not found checking for autoconf... /usr/bin/autoconf2.13 creating cache ./config.cache checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for gcc... /usr/bin/gcc -std=gnu99 checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) works... yes checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether /usr/bin/gcc -std=gnu99 accepts -g... yes checking for c++... /usr/bin/g++ -std=gnu++14 checking whether the C++ compiler (/usr/bin/g++ -std=gnu++14 ) works... yes checking whether the C++ compiler (/usr/bin/g++ -std=gnu++14 ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether /usr/bin/g++ -std=gnu++14 accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for strip... strip checking for windres... no checking for sb-conf... no checking for ve... no checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for --noexecstack option to as... yes checking for -z noexecstack option to ld... yes checking for -z text option to ld... yes checking for -z relro option to ld... yes checking for --build-id option to ld... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking whether 64-bits std::atomic requires -latomic... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether /usr/bin/gcc -std=gnu99 accepts -pthread... yes checking whether /usr/bin/gcc -std=gnu99 needs -traditional... no checking for 8-bit clean memcmp... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for gmtime_r... yes checking for localtime_r... yes checking for pthread_getname_np... yes checking for clock_gettime(CLOCK_MONOTONIC)... checking for sin in -lm... yes checking for sincos in -lm... yes checking for __sincos in -lm... no checking for res_ninit()... yes checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking whether va_list can be copied by value... no checking for C++ dynamic_cast to void*... yes checking for __thread keyword for TLS variables... yes checking for localeconv... yes checking NSPR selection... posix-wrapper checking for gzread in -lz... yes checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for -pipe support... yes checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking what kind of ordering can be done with the linker... none checking for posix_fadvise... yes checking for posix_fallocate... yes checking for malloc.h... yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes checking whether malloc_usable_size definition can use const argument... no checking for valloc in malloc.h... yes checking for valloc in unistd.h... no checking for localeconv... (cached) yes updating cache ./config.cache creating ./config.data This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:708: checking host system type configure:729: checking target system type configure:747: checking build system type configure:1877: checking for gcc configure:1990: checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) works configure:2006: /usr/bin/gcc -std=gnu99 -o conftest conftest.c 1>&5 configure:2003:1: warning: return type defaults to 'int' [-Wimplicit-int] configure:2032: checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) is a cross-compiler configure:2037: checking whether we are using GNU C configure:2046: /usr/bin/gcc -std=gnu99 -E conftest.c configure:2065: checking whether /usr/bin/gcc -std=gnu99 accepts -g configure:2101: checking for c++ configure:2133: checking whether the C++ compiler (/usr/bin/g++ -std=gnu++14 ) works configure:2149: /usr/bin/g++ -std=gnu++14 -o conftest conftest.C 1>&5 configure:2175: checking whether the C++ compiler (/usr/bin/g++ -std=gnu++14 ) is a cross-compiler configure:2180: checking whether we are using GNU C++ configure:2189: /usr/bin/g++ -std=gnu++14 -E conftest.C configure:2208: checking whether /usr/bin/g++ -std=gnu++14 accepts -g configure:2242: checking for ranlib configure:2274: checking for as configure:2328: checking for ar configure:2363: checking for strip configure:2398: checking for windres configure:2817: checking for sb-conf configure:2817: checking for ve configure:2940: checking for X configure:3007: /usr/bin/gcc -E -std=gnu99 conftest.c >/dev/null 2>conftest.out configure:3083: /usr/bin/gcc -std=gnu99 -o conftest conftest.c -lXt 1>&5 configure: In function 'main': configure:3079:1: warning: implicit declaration of function 'XtMalloc' [-Wimplicit-function-declaration] configure:3257: checking for dnet_ntoa in -ldnet configure:3276: /usr/bin/gcc -std=gnu99 -o conftest conftest.c -ldnet 1>&5 /usr/bin/ld: cannot find -ldnet collect2: error: ld returned 1 exit status configure: failed program was: #line 3265 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:3298: checking for dnet_ntoa in -ldnet_stub configure:3317: /usr/bin/gcc -std=gnu99 -o conftest conftest.c -ldnet_stub 1>&5 /usr/bin/ld: cannot find -ldnet_stub collect2: error: ld returned 1 exit status configure: failed program was: #line 3306 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:3346: checking for gethostbyname configure:3378: /usr/bin/gcc -std=gnu99 -o conftest conftest.c 1>&5 configure:3448: checking for connect configure:3480: /usr/bin/gcc -std=gnu99 -o conftest conftest.c 1>&5 configure:3544: checking for remove configure:3576: /usr/bin/gcc -std=gnu99 -o conftest conftest.c 1>&5 configure:3640: checking for shmat configure:3672: /usr/bin/gcc -std=gnu99 -o conftest conftest.c 1>&5 configure:3745: checking for IceConnectionNumber in -lICE configure:3764: /usr/bin/gcc -std=gnu99 -o conftest conftest.c -lICE 1>&5 configure:3957: /usr/bin/gcc -std=gnu99 -c conftest.c 1>&5 configure: In function 'main': configure:3953:15: error: '__thumb2__' undeclared (first use in this function) configure:3953:15: note: each undeclared identifier is reported only once for each function it appears in configure: failed program was: #line 3950 "configure" #include "confdefs.h" int main() { return sizeof(__thumb2__); ; return 0; } configure:4694: /usr/bin/gcc -std=gnu99 -o conftest conftest.c 1>&5 configure:4724: checking for --noexecstack option to as configure:4735: /usr/bin/gcc -std=gnu99 -c -Wa,--noexecstack conftest.c 1>&5 configure:4748: checking for -z noexecstack option to ld configure:4759: /usr/bin/gcc -std=gnu99 -o conftest -Wl,-z,noexecstack conftest.c 1>&5 configure:4772: checking for -z text option to ld configure:4783: /usr/bin/gcc -std=gnu99 -o conftest -Wl,-z,noexecstack -Wl,-z,text conftest.c 1>&5 configure:4796: checking for -z relro option to ld configure:4807: /usr/bin/gcc -std=gnu99 -o conftest -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro conftest.c 1>&5 configure:4820: checking for --build-id option to ld configure:4831: /usr/bin/gcc -std=gnu99 -o conftest -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c 1>&5 configure:5554: checking for working const configure:5608: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:5634: checking for mode_t configure:5672: checking for off_t configure:5710: checking for pid_t configure:5748: checking for size_t configure:5798: checking for ssize_t configure:5811: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:5854: checking whether 64-bits std::atomic requires -latomic configure:5870: /usr/bin/g++ -std=gnu++14 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.C 1>&5 configure:5937: checking for dirent.h that defines DIR configure:5950: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:5978: checking for opendir in -ldir configure:5997: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldir 1>&5 /usr/bin/ld: cannot find -ldir collect2: error: ld returned 1 exit status configure: failed program was: #line 5986 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir(); int main() { opendir() ; return 0; } configure:6130: checking for gethostbyname_r in -lc_r configure:6149: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lc_r 1>&5 /usr/bin/ld: cannot find -lc_r collect2: error: ld returned 1 exit status configure: failed program was: #line 6138 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname_r(); int main() { gethostbyname_r() ; return 0; } configure:6186: checking for library containing dlopen configure:6204: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c 1>&5 /tmp/ccArgFlP.o: In function `main': conftest.c:(.text+0xa): undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure: failed program was: #line 6193 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen(); int main() { dlopen() ; return 0; } configure:6226: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 configure:6244: checking for dlfcn.h configure:6257: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:6343: checking for socket in -lsocket configure:6362: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lsocket -ldl 1>&5 /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status configure: failed program was: #line 6351 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket(); int main() { socket() ; return 0; } configure:6399: checking for pthread_create in -lpthreads configure:6418: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lpthreads -ldl 1>&5 /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status configure: failed program was: #line 6407 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_create(); int main() { pthread_create() ; return 0; } configure:6437: checking for pthread_create in -lpthread configure:6456: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lpthread -ldl 1>&5 configure:6587: checking whether /usr/bin/gcc -std=gnu99 accepts -pthread configure:6685: checking whether /usr/bin/gcc -std=gnu99 needs -traditional configure:6731: checking for 8-bit clean memcmp configure:6749: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 configure:6741:1: warning: return type defaults to 'int' [-Wimplicit-int] configure: In function 'main': configure:6744:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] configure:6744:3: warning: incompatible implicit declaration of built-in function 'exit' configure:6744:3: note: include '' or provide a declaration of 'exit' configure:6744:8: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] configure:6769: checking for getc_unlocked configure:6801: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 configure:6769: checking for _getc_nolock configure:6801: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 /tmp/cceWRjkd.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_getc_nolock' collect2: error: ld returned 1 exit status configure: failed program was: #line 6774 "configure" #define _getc_nolock innocuous__getc_nolock #include "confdefs.h" #undef _getc_nolock /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _getc_nolock(); below. */ #define _getc_nolock innocuous__getc_nolock #include #undef _getc_nolock /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getc_nolock(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub__getc_nolock) || defined (__stub____getc_nolock) choke me #else _getc_nolock(); #endif ; return 0; } configure:6769: checking for gmtime_r configure:6801: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 configure:6769: checking for localtime_r configure:6801: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 configure:6769: checking for pthread_getname_np configure:6801: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 configure:6834: checking for clock_gettime(CLOCK_MONOTONIC) configure:6850: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -ldl 1>&5 configure:6884: checking for sin in -lm configure:6903: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:6896:6: warning: conflicting types for built-in function 'sin' configure:6934: checking for sincos in -lm configure:6953: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -lm -ldl 1>&5 configure:6946:6: warning: conflicting types for built-in function 'sincos' configure:6980: checking for __sincos in -lm configure:6999: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -lm -ldl 1>&5 /tmp/ccWgNEgy.o: In function `main': conftest.c:(.text+0xa): undefined reference to `__sincos' collect2: error: ld returned 1 exit status configure: failed program was: #line 6988 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __sincos(); int main() { __sincos() ; return 0; } configure:7027: checking for res_ninit() configure:7050: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:7078: checking for nl_langinfo and CODESET configure:7090: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:7126: checking for an implementation of va_copy() configure:7147: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:7163: checking whether va_list can be copied by value configure:7184: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure: In function 'f': configure:7174:19: error: assignment to expression with array type configure: failed program was: #line 7168 "configure" #include "confdefs.h" #include #include void f (int i, ...) { va_list args1, args2; va_start (args1, i); args2 = args1; if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42) exit (1); va_end (args1); va_end (args2); } int main() { f(0, 42); return 0 ; return 0; } configure:7280: checking for C++ dynamic_cast to void* configure:7307: /usr/bin/g++ -std=gnu++14 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.C -lm -ldl 1>&5 configure:7340: checking for __thread keyword for TLS variables configure:7352: /usr/bin/g++ -std=gnu++14 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -fPIC -shared -Wl,-z,defs conftest.C -lm -ldl 1>&5 configure:7400: checking for localeconv configure:7432: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:7572: checking NSPR selection configure:7900: checking for gzread in -lz configure:7919: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lz -lm -ldl 1>&5 configure:7954: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:8043: checking for valid optimization flags configure:8054: /usr/bin/gcc -std=gnu99 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -freorder-blocks -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:8471: checking for __cxa_demangle configure:8506: /usr/bin/g++ -std=gnu++14 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions -fno-math-errno -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.C -lm -ldl 1>&5 configure:8568: checking for -pipe support configure:8586: checking for tm_zone tm_gmtoff in struct tm configure:8598: /usr/bin/g++ -std=gnu++14 -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.C 1>&5 configure:8640: checking what kind of list files are supported by the linker configure:8645: /usr/bin/gcc -std=gnu99 -o conftest.o -c -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:8647: /usr/bin/gcc -std=gnu99 -o conftest -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.list -lm -ldl 1>&5 configure:8673: checking what kind of ordering can be done with the linker configure:8688: /usr/bin/gcc -std=gnu99 -o conftest -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,--section-ordering-file,conftest.order conftest.c -lm -ldl 1>&5 /usr/bin/ld: unrecognized option '--section-ordering-file' /usr/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status configure: failed program was: #line 8681 "configure" #include "confdefs.h" int main() { ; return 0; } configure:8700: /usr/bin/gcc -std=gnu99 -shared -Wl,-z,defs -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -o conftest -Wl gcc: error: unrecognized command line option '-Wl' configure:9137: checking for posix_fadvise configure:9169: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:9137: checking for posix_fallocate configure:9169: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:9239: checking for malloc.h configure:9252: /usr/bin/gcc -std=gnu99 -c -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:9287: checking for strndup configure:9319: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:9303:6: warning: conflicting types for built-in function 'strndup' configure:9287: checking for posix_memalign configure:9319: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:9303:6: warning: conflicting types for built-in function 'posix_memalign' configure:9287: checking for memalign configure:9319: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:9350: checking for malloc_usable_size configure:9382: /usr/bin/gcc -std=gnu99 -o conftest -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:9412: checking whether malloc_usable_size definition can use const argument configure:9423: /usr/bin/gcc -std=gnu99 -c -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wformat -Wformat-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-math-errno -pthread -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 conftest.c 1>&5 configure:9417:26: error: conflicting types for 'malloc_usable_size' In file included from configure:9415:0: /usr/include/malloc.h:129:15: note: previous declaration of 'malloc_usable_size' was here extern size_t malloc_usable_size (void *__ptr) __THROW; ^ configure: failed program was: #line 9414 "configure" #include "confdefs.h" #include #include size_t malloc_usable_size(const void *ptr); int main() { return malloc_usable_size(0); ; return 0; } configure:9445: checking for valloc in malloc.h configure:9470: checking for valloc in unistd.h configure:9500: checking for localeconv makefile.cargo:179: recipe for target 'maybe-configure' failed --- stderr Creating config.status Traceback (most recent call last): File "/mozjs/mozjs/js/src/../../configure.py", line 127, in sys.exit(main(sys.argv)) File "/mozjs/mozjs/js/src/../../configure.py", line 34, in main return config_status(config) File "/mozjs/mozjs/js/src/../../configure.py", line 112, in config_status from mozbuild.config_status import config_status File "/mozjs/mozjs/build/mach_bootstrap.py", line 363, in __call__ module = self._original_import(name, globals, locals, fromlist, level) File "/mozjs/mozjs/python/mozbuild/mozbuild/config_status.py", line 21, in from mozbuild.base import MachCommandConditions File "/mozjs/mozjs/build/mach_bootstrap.py", line 363, in __call__ module = self._original_import(name, globals, locals, fromlist, level) File "/mozjs/mozjs/python/mozbuild/mozbuild/base.py", line 16, in from mach.mixin.process import ProcessExecutionMixin File "/mozjs/mozjs/build/mach_bootstrap.py", line 363, in __call__ module = self._original_import(name, globals, locals, fromlist, level) File "/mozjs/mozjs/python/mach/mach/mixin/process.py", line 29, in raise Exception('Could not detect environment shell!') Exception: Could not detect environment shell! make: *** [maybe-configure] Error 1 thread 'main' panicked at 'assertion failed: result.success()', build.rs:142:5 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. root@84d860fc911f:/mozjs# ```
jdm commented 5 years ago

@tigercosmos Could you try checking out older versions to see when this stopped working for you?

jdm commented 5 years ago

Although this is interesting:

  File "/mozjs/mozjs/build/mach_bootstrap.py", line 363, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "/mozjs/mozjs/python/mach/mach/mixin/process.py", line 29, in <module>
    raise Exception('Could not detect environment shell!')

It comes from this code. What if you set your SHELL variable to /bin/bash?

tigercosmos commented 5 years ago

finally, I built mozjs successfully by set SHELL=/bin/bash and installed clang with the steps in the post

Then I tried to build servo and fell into #21970 :(

mrobinson commented 1 year ago

If this is still an issue (it's been some years), would you mind opening a bug on the mozjs project @ http://github.com/servo/mozjs? Thanks!