Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Servo setup
MC-S104347:servo willij87$ ./mach build --dev
Compiling rustc-demangle v0.1.1
Compiling open v1.1.1
Compiling webrender v0.11.0 (https://github.com/servo/webrender#c4a0c01f)
Compiling string_cache_shared v0.3.0
Compiling fnv v1.0.5
Compiling gcc v0.3.35
Compiling bitflags v0.4.0
Compiling sig v0.1.1
Compiling webrender_traits v0.11.0 (https://github.com/servo/webrender#c4a0c01f)
Compiling slab v0.1.3
Compiling core-foundation-sys v0.2.2
Compiling osmesa-src v12.0.1 (https://github.com/servo/osmesa-src#ec520f5f)
Compiling utf8-ranges v0.1.3
Compiling getopts v0.2.14
Compiling alloc-no-stdlib v1.2.0
Compiling browserhtml v0.1.17 (https://github.com/browserhtml/browserhtml?branch=crate#aafbb099)
Compiling winapi v0.2.8
Compiling brotli v1.0.6
Compiling rustc-serialize v0.3.19
Compiling unicode-normalization v0.1.2
Compiling log v0.3.6
Compiling khronos_api v1.0.0
Compiling hpack v0.2.0
Compiling scoped_threadpool v0.1.7
Compiling backtrace v0.2.3
Compiling plugins v0.0.1 (file:///Users/willij87/workspace/servo/components/plugins)
Compiling pkg-config v0.3.8
Compiling openssl-sys-extras v0.7.14
Compiling matches v0.1.2
Compiling utf-8 v0.6.0
Compiling openssl-sys v0.7.17
Compiling libz-sys v1.0.6
Compiling httparse v1.1.2
Compiling unicode-segmentation v0.1.2
Compiling solicit v0.4.4
Compiling bitflags v0.7.0
Compiling xml-rs v0.3.4
Compiling ref_filter_map v1.0.1
Compiling lzw v0.10.0
Compiling odds v0.2.16
Compiling itoa v0.1.1
Compiling lazy_static v0.2.1
Compiling void v1.0.2
Compiling unreachable v0.1.1
Compiling nodrop v0.1.8
Compiling debug_unreachable v0.1.1
Compiling encoding_index_tests v0.1.4
Compiling openssl v0.7.14
Compiling encoding-index-tradchinese v1.20141219.5
Compiling encoding-index-singlebyte v1.20141219.5
Compiling semver v0.1.20
Compiling unicode-xid v0.0.3
Compiling arrayvec v0.3.17
Compiling cmake v0.1.17
Compiling mp3-metadata v0.2.3
Compiling rustc_version v0.1.7
Compiling unicase v1.4.0
Compiling azure v0.9.1 (https://github.com/servo/rust-azure#d817e7e1)
Compiling expat-sys v2.1.4
Compiling angle v0.1.2 (https://github.com/servo/angle?branch=servo#99128001)
Compiling script v0.0.1 (file:///Users/willij87/workspace/servo/components/script)
Compiling heartbeats-simple-sys v0.3.2
Compiling encoding-index-korean v1.20141219.5
Compiling cfg-if v0.1.0
Compiling threadpool v1.3.2
Compiling tinyfiledialogs v0.1.0 (https://github.com/jdm/tinyfiledialogs#41d4268b)
Compiling bit-vec v0.4.3
Compiling gl_generator v0.5.2
Compiling quote v0.3.5
Compiling bit-set v0.4.0
Compiling mozjs_sys v0.0.0 (https://github.com/servo/mozjs#f7917c48)
Compiling owning_ref v0.2.2
Compiling serde v0.8.18
Compiling task_info v0.0.1 (file:///Users/willij87/workspace/servo/support/rust-task_info)
Compiling servo v0.0.1 (file:///Users/willij87/workspace/servo/ports/servo)
Compiling bytes v0.3.0
Compiling block v0.1.6
Compiling backtrace-sys v0.1.4
Compiling gleam v0.2.24
Compiling offscreen_gl_context v0.5.1
Compiling servo-glutin v0.6.3
Compiling xi-unicode v0.0.1
Compiling language-tags v0.2.2
Compiling harfbuzz-sys v0.1.7
Compiling inflate v0.1.1
Compiling regex-syntax v0.3.5
Compiling mime v0.2.2
Compiling byteorder v0.5.3
Compiling ogg v0.3.3
Compiling mp4parse v0.5.0
Compiling blurmock v0.1.2
Compiling js v0.1.3 (https://github.com/servo/rust-mozjs#342f304a)
Compiling glob v0.2.11
Compiling servo-skia v0.20130412.24
Compiling encoding-index-simpchinese v1.20141219.5
Compiling num-traits v0.1.35
Compiling heapsize v0.3.7
Compiling device v0.0.1 (https://github.com/servo/devices#1bb5a200)
Compiling typeable v0.1.2
Compiling bincode v0.6.0
Compiling immeta v0.3.4
Compiling num-integer v0.1.32
Compiling syntex_pos v0.50.0
Compiling color_quant v1.0.0
Compiling gif v0.9.0
Compiling simd v0.1.1 (https://github.com/huonw/simd#0d85d25d)
Compiling encoding-index-japanese v1.20141219.5
Compiling sha1 v0.2.0
Compiling unicode-bidi v0.2.3
Compiling winapi-build v0.1.1
Compiling libc v0.2.17
Compiling encoding v0.2.33
Compiling dbghelp-sys v0.2.0
Compiling kernel32-sys v0.2.2
Compiling walkdir v0.1.6
Compiling app_units v0.3.0
Compiling term v0.4.4
Compiling nix v0.5.1
Compiling unicode-script v0.1.1
Compiling style v0.0.1 (file:///Users/willij87/workspace/servo/components/style)
Compiling net2 v0.2.26
Compiling idna v0.1.0
Compiling thread-id v2.0.0
Compiling thread_local v0.2.6
Compiling cssparser v0.7.1
Compiling euclid v0.10.2
Compiling syntex_errors v0.50.0
Compiling url v1.2.0
Compiling rand v0.3.14
Compiling memchr v0.1.11
Compiling aho-corasick v0.5.3
Compiling selectors v0.15.0
Compiling regex v0.1.76
Compiling cgl v0.1.5
Compiling ws2_32-sys v0.2.1
Compiling gaol v0.0.1 (https://github.com/servo/gaol#c67de2fb)
Compiling deque v0.3.1
Compiling num-bigint v0.1.35
Compiling syntex_syntax v0.50.0
Compiling heartbeats-simple v0.3.0
Compiling time v0.1.35
Compiling malloc_buf v0.0.6
Compiling objc v0.2.1
Compiling num-rational v0.1.35
Compiling shared_library v0.1.5
Compiling num_cpus v1.1.0
Compiling uuid v0.3.1
Compiling miniz-sys v0.1.7
Compiling phf_shared v0.7.20
Compiling smallvec v0.1.8
Compiling rayon v0.5.0
Compiling parking_lot_core v0.1.4
Compiling phf v0.7.20
Compiling phf_generator v0.7.20
Compiling string_cache_codegen v0.3.0
Compiling parking_lot v0.3.3
Compiling phf_macros v0.7.20
Compiling servo_atoms v0.0.1 (file:///Users/willij87/workspace/servo/components/atoms)
Compiling html5ever-atoms v0.1.1
Compiling phf_codegen v0.7.20
Compiling xml5ever v0.2.0
Compiling string_cache v0.3.0
Compiling ogg_metadata v0.3.0
Compiling audio-video-metadata v0.1.2
Compiling signpost v0.1.0 (https://github.com/pcwalton/signpost.git#81803b4d)
Build failed, waiting for other jobs to finish...
error: failed to run custom build command for `mozjs_sys v0.0.0 (https://github.com/servo/mozjs#f7917c48)`
process didn't exit successfully: `/Users/willij87/workspace/servo/target/debug/build/mozjs_sys-64ea4645edcc97f1/build-script-build` (exit code: 101)
--- stdout
[[ /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure -ot /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure.in ]] && touch /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure || true
[[ /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/old-configure -ot /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/old-configure.in ]] && touch /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/old-configure || true
! [[ /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure.in -ot /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure ]] && touch /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure || true
! [[ /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/old-configure.in -ot /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/old-configure ]] && touch /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/old-configure || true
if [[ /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure -nt /Users/willij87/workspace/servo/target/debug/build/mozjs_sys-baf03e2d413d8231/out/config.status ]] ; then \
cd /Users/willij87/workspace/servo/target/debug/build/mozjs_sys-baf03e2d413d8231/out && \
PYTHON="python" MOZ_TOOLS="" \
CC="gcc" CPP="gcc -E" CXX="g++" AR="ar" \
/Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --build-backends=RecursiveMake --enable-sm-promise --disable-shared-js || (cat config.log && exit 1) ; \
fi
Creating Python environment
Using real prefix '/System/Library/Frameworks/Python.framework/Versions/2.7'
New python executable in /Users/willij87/workspace/servo/target/debug/build/mozjs_sys-baf03e2d413d8231/out/_virtualenv/bin/python
Installing setuptools, pip, wheel...done.
running build_ext
copying build/lib.macosx-10.10-intel-2.7/psutil/_psutil_osx.so -> psutil
copying build/lib.macosx-10.10-intel-2.7/psutil/_psutil_posix.so -> psutil
Reexecuting in the virtualenv
checking for a shell... /bin/sh
checking for host system type... x86_64-apple-darwin14.5.0
checking for target system type... x86_64-apple-darwin14.5.0
checking for the Android toolchain directory... not found
checking whether cross compiling... no
checking for pkg_config... /usr/local/bin/pkg-config
checking for pkg-config version... 0.29.1
checking for yasm... not found
checking for the target C compiler... /usr/bin/gcc
checking whether the target C compiler can be used... yes
checking the target C compiler version... 7.0.0
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.0.0
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.0.0
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.0.0
checking for rustc... /Users/willij87/workspace/servo/.servo/rust/2016-11-29/rustc-nightly-x86_64-apple-darwin/rustc/bin/rustc
checking rustc version... 1.15.0-nightly
checking for awk... /usr/bin/awk
checking for perl... /usr/bin/perl
checking for minimum required perl version >= 5.006... 5.018002
checking for full perl installation... yes
checking for doxygen... not found
checking for xargs... /usr/bin/xargs
checking for dsymutil... /usr/bin/dsymutil
checking for genisoimage... not found
checking for autoconf... /usr/local/Cellar/autoconf213/2.13/bin/autoconf213
creating cache ./config.cache
checking host system type... x86_64-apple-darwin14.5.0
checking target system type... x86_64-apple-darwin14.5.0
checking build system type... x86_64-apple-darwin14.5.0
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++11
checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 ) works... yes
checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether /usr/bin/g++ -std=gnu++11 accepts -g... yes
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... ar
checking for ld... ld
checking for strip... strip
checking for windres... no
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... /usr/bin/g++ -std=gnu++11 -E
checking for sb-conf... no
checking for ve... no
checking for gmake... no
checking for make... /usr/bin/make
checking for X... no
checking that static assertion macros used in autoconf tests work... yes
checking for --noexecstack option to as... yes
checking for -z noexecstack option to ld... no
checking for -z text option to ld... no
checking for --build-id option to ld... no
checking whether the C compiler supports -Wclass-varargs... yes
checking whether the C compiler supports -Wloop-analysis... yes
checking whether the C compiler supports -Wstring-conversion... yes
checking whether the C compiler supports -Wthread-safety... yes
checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
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 -Wc++11-compat-pedantic... yes
checking whether the C++ compiler supports -Wc++14-compat... yes
checking whether the C++ compiler supports -Wc++14-compat-pedantic... yes
checking whether the C++ compiler supports -Wc++1z-compat... no
checking whether the C++ compiler supports -Wclass-varargs... yes
checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
checking whether the C++ compiler supports -Wloop-analysis... yes
checking whether the C++ compiler supports -Wstring-conversion... yes
checking whether the C++ compiler supports -Wthread-safety... yes
checking whether the C++ compiler supports -Wno-inline-new-delete... yes
checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
checking whether the C++ compiler supports -Wno-error=array-bounds... yes
checking for 64-bit OS... yes
checking for -framework ExceptionHandling... yes
checking for -dead_strip option to ld... yes
checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 -fno-common -stdlib=libc++ -fno-rtti -lobjc) actually is a C++ compiler... yes
checking for ANSI C header files... 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 for endian.h... no
checking for machine/endian.h... yes
checking for sys/isa_defs.h... no
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 sys/byteorder.h... no
checking for compat.h... no
checking for getopt.h... yes
checking for sys/bitypes.h... no
checking for memory.h... yes
checking for unistd.h... yes
checking for gnu/libc-version.h... no
checking for nl_types.h... yes
checking for malloc.h... no
checking for X11/XKBlib.h... no
checking for io.h... no
checking for cpuid.h... yes
checking for sys/statvfs.h... yes
checking for sys/statfs.h... no
checking for sys/vfs.h... no
checking for sys/mount.h... yes
checking for sys/quota.h... no
checking for linux/quota.h... no
checking for sys/cdefs.h... yes
checking for linux/perf_event.h... no
checking for gethostbyname_r in -lc_r... no
checking for socket in -lsocket... no
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 clock_gettime(CLOCK_MONOTONIC)... no
checking for sin in -lm... yes
checking for __sincos in -lm... yes
checking for wcrtomb... yes
checking for mbrtowc... yes
checking for res_ninit()... no
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 whether the C++ "using" keyword resolves ambiguity... yes
checking for C++ dynamic_cast to void*... yes
checking for __thread keyword for TLS variables... yes
checking for __attribute__((always_inline))... yes
checking for LC_MESSAGES... 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 whether C compiler supports -fprofile-generate... yes
checking for tm_zone tm_gmtoff in struct tm... yes
checking what kind of list files are supported by the linker... filelist
checking for posix_fadvise... no
checking for posix_fallocate... no
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:841: checking host system type
configure:862: checking target system type
configure:880: checking build system type
configure:2216: checking for gcc
configure:2329: checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) works
configure:2345: /usr/bin/gcc -std=gnu99 -o conftest conftest.c 1>&5
configure:2342:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(){return(0);}
^
1 warning generated.
configure:2371: checking whether the C compiler (/usr/bin/gcc -std=gnu99 ) is a cross-compiler
configure:2376: checking whether we are using GNU C
configure:2385: /usr/bin/gcc -std=gnu99 -E conftest.c
configure:2404: checking whether /usr/bin/gcc -std=gnu99 accepts -g
configure:2440: checking for c++
configure:2472: checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 ) works
configure:2488: /usr/bin/g++ -std=gnu++11 -o conftest conftest.C 1>&5
configure:2514: checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 ) is a cross-compiler
configure:2519: checking whether we are using GNU C++
configure:2528: /usr/bin/g++ -std=gnu++11 -E conftest.C
configure:2547: checking whether /usr/bin/g++ -std=gnu++11 accepts -g
configure:2581: checking for ranlib
configure:2613: checking for as
configure:2667: checking for ar
configure:2702: checking for ld
configure:2737: checking for strip
configure:2772: checking for windres
configure:2862: checking how to run the C preprocessor
configure:2942: checking how to run the C++ preprocessor
configure:2960: /usr/bin/g++ -std=gnu++11 -E conftest.C >/dev/null 2>conftest.out
configure:3392: checking for sb-conf
configure:3392: checking for ve
configure:3588: checking for gmake
configure:3588: checking for make
configure:3655: checking for X
configure:3722: gcc -E conftest.c >/dev/null 2>conftest.out
configure:3718:10: fatal error: 'X11/Intrinsic.h' file not found
#include <X11/Intrinsic.h>
^
1 error generated.
configure: failed program was:
#line 3717 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:3798: /usr/bin/gcc -std=gnu99 -o conftest conftest.c -lXt 1>&5
configure:3794:1: warning: implicit declaration of function 'XtMalloc' is invalid in C99 [-Wimplicit-function-declaration]
XtMalloc()
^
1 warning generated.
ld: library not found for -lXt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 3791 "configure"
#include "confdefs.h"
int main() {
XtMalloc()
; return 0; }
configure:4710: /usr/bin/gcc -std=gnu99 -c conftest.c 1>&5
configure:4706:15: error: use of undeclared identifier '__thumb2__'
return sizeof(__thumb2__);
^
1 error generated.
configure: failed program was:
#line 4703 "configure"
#include "confdefs.h"
int main() {
return sizeof(__thumb2__);
; return 0; }
configure:4955: checking that static assertion macros used in autoconf tests work
configure:4976: /usr/bin/gcc -std=gnu99 -c conftest.c 1>&5
configure:4993: /usr/bin/gcc -std=gnu99 -c conftest.c 1>&5
configure:4993:1: error: 'static_assert_line_4993' declared as an array with a negative size
CONFIGURE_STATIC_ASSERT(0)
^~~~~~~~~~~~~~~~~~~~~~~~~~
configure:4988:44: note: expanded from macro 'CONFIGURE_STATIC_ASSERT'
#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configure:4989:55: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL'
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configure:4990:94: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL2'
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
^~~~~~~~~~~~~~~~~~~~
1 error generated.
configure: failed program was:
#line 4986 "configure"
#include "confdefs.h"
#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
int main() {
CONFIGURE_STATIC_ASSERT(0)
; return 0; }
configure:5016: /usr/bin/g++ -std=gnu++11 -c conftest.C 1>&5
configure:5033: /usr/bin/g++ -std=gnu++11 -c conftest.C 1>&5
configure:5033:1: error: 'static_assert_line_5033' declared as an array with a negative size
CONFIGURE_STATIC_ASSERT(0)
^~~~~~~~~~~~~~~~~~~~~~~~~~
configure:5028:44: note: expanded from macro 'CONFIGURE_STATIC_ASSERT'
#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configure:5029:55: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL'
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
configure:5030:94: note: expanded from macro 'CONFIGURE_STATIC_ASSERT_IMPL2'
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
^~~~~~~~~~~~~~~~~~~~
1 error generated.
configure: failed program was:
#line 5026 "configure"
#include "confdefs.h"
#define CONFIGURE_STATIC_ASSERT(condition) CONFIGURE_STATIC_ASSERT_IMPL(condition, __LINE__)
#define CONFIGURE_STATIC_ASSERT_IMPL(condition, line) CONFIGURE_STATIC_ASSERT_IMPL2(condition, line)
#define CONFIGURE_STATIC_ASSERT_IMPL2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1]
int main() {
CONFIGURE_STATIC_ASSERT(0)
; return 0; }
configure:5422: checking for --noexecstack option to as
configure:5433: /usr/bin/gcc -std=gnu99 -c -Wa,--noexecstack -Qunused-arguments conftest.c 1>&5
configure:5446: checking for -z noexecstack option to ld
configure:5457: /usr/bin/gcc -std=gnu99 -o conftest -Qunused-arguments -Wl,-z,noexecstack conftest.c 1>&5
ld: unknown option: -z
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 5450 "configure"
#include "confdefs.h"
int main() {
; return 0; }
configure:5470: checking for -z text option to ld
configure:5481: /usr/bin/gcc -std=gnu99 -o conftest -Qunused-arguments -Wl,-z,text conftest.c 1>&5
ld: unknown option: -z
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 5474 "configure"
#include "confdefs.h"
int main() {
; return 0; }
configure:5495: checking for --build-id option to ld
configure:5506: /usr/bin/gcc -std=gnu99 -o conftest -Qunused-arguments -Wl,--build-id conftest.c 1>&5
ld: unknown option: --build-id
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 5499 "configure"
#include "confdefs.h"
int main() {
; return 0; }
configure:5553: checking whether the C compiler supports -Wclass-varargs
configure:5576: /usr/bin/gcc -std=gnu99 -c -Werror -Wclass-varargs -Qunused-arguments conftest.c 1>&5
configure:5604: checking whether the C compiler supports -Wloop-analysis
configure:5627: /usr/bin/gcc -std=gnu99 -c -Werror -Wloop-analysis -Qunused-arguments conftest.c 1>&5
configure:5710: checking whether the C compiler supports -Wstring-conversion
configure:5733: /usr/bin/gcc -std=gnu99 -c -Werror -Wstring-conversion -Qunused-arguments conftest.c 1>&5
configure:5761: checking whether the C compiler supports -Wthread-safety
configure:5784: /usr/bin/gcc -std=gnu99 -c -Werror -Wthread-safety -Qunused-arguments conftest.c 1>&5
configure:5821: checking whether the C compiler supports -Wno-error=maybe-uninitialized
configure:5844: /usr/bin/gcc -std=gnu99 -c -Werror -Wno-error=maybe-uninitialized -Qunused-arguments conftest.c 1>&5
error: unknown warning option '-Werror=maybe-uninitialized'; did you mean '-Werror=uninitialized'? [-Werror,-Wunknown-warning-option]
configure: failed program was:
#line 5837 "configure"
#include "confdefs.h"
int main() {
return(0);
; return 0; }
configure:5872: checking whether the C compiler supports -Wno-error=deprecated-declarations
configure:5895: /usr/bin/gcc -std=gnu99 -c -Werror -Wno-error=deprecated-declarations -Qunused-arguments conftest.c 1>&5
configure:5923: checking whether the C compiler supports -Wno-error=array-bounds
configure:5946: /usr/bin/gcc -std=gnu99 -c -Werror -Wno-error=array-bounds -Qunused-arguments conftest.c 1>&5
configure:6139: checking whether the C++ compiler supports -Wc++11-compat-pedantic
configure:6162: /usr/bin/g++ -std=gnu++11 -c -Werror -Wc++11-compat-pedantic -Qunused-arguments conftest.C 1>&5
configure:6190: checking whether the C++ compiler supports -Wc++14-compat
configure:6213: /usr/bin/g++ -std=gnu++11 -c -Werror -Wc++14-compat -Qunused-arguments conftest.C 1>&5
configure:6241: checking whether the C++ compiler supports -Wc++14-compat-pedantic
configure:6264: /usr/bin/g++ -std=gnu++11 -c -Werror -Wc++14-compat-pedantic -Qunused-arguments conftest.C 1>&5
configure:6292: checking whether the C++ compiler supports -Wc++1z-compat
configure:6315: /usr/bin/g++ -std=gnu++11 -c -Werror -Wc++1z-compat -Qunused-arguments conftest.C 1>&5
error: unknown warning option '-Wc++1z-compat' [-Werror,-Wunknown-warning-option]
configure: failed program was:
#line 6308 "configure"
#include "confdefs.h"
int main() {
return(0);
; return 0; }
configure:6343: checking whether the C++ compiler supports -Wclass-varargs
configure:6366: /usr/bin/g++ -std=gnu++11 -c -Werror -Wclass-varargs -Qunused-arguments conftest.C 1>&5
configure:6394: checking whether the C++ compiler supports -Wimplicit-fallthrough
configure:6417: /usr/bin/g++ -std=gnu++11 -c -Werror -Wimplicit-fallthrough -Qunused-arguments conftest.C 1>&5
configure:6445: checking whether the C++ compiler supports -Wloop-analysis
configure:6468: /usr/bin/g++ -std=gnu++11 -c -Werror -Wloop-analysis -Qunused-arguments conftest.C 1>&5
configure:6551: checking whether the C++ compiler supports -Wstring-conversion
configure:6574: /usr/bin/g++ -std=gnu++11 -c -Werror -Wstring-conversion -Qunused-arguments conftest.C 1>&5
configure:6602: checking whether the C++ compiler supports -Wthread-safety
configure:6625: /usr/bin/g++ -std=gnu++11 -c -Werror -Wthread-safety -Qunused-arguments conftest.C 1>&5
configure:6660: checking whether the C++ compiler supports -Wno-inline-new-delete
configure:6683: /usr/bin/g++ -std=gnu++11 -c -Werror -Winline-new-delete -Qunused-arguments conftest.C 1>&5
configure:6718: checking whether the C++ compiler supports -Wno-error=maybe-uninitialized
configure:6741: /usr/bin/g++ -std=gnu++11 -c -Werror -Wno-error=maybe-uninitialized -Qunused-arguments conftest.C 1>&5
error: unknown warning option '-Werror=maybe-uninitialized'; did you mean '-Werror=uninitialized'? [-Werror,-Wunknown-warning-option]
configure: failed program was:
#line 6734 "configure"
#include "confdefs.h"
int main() {
return(0);
; return 0; }
configure:6769: checking whether the C++ compiler supports -Wno-error=deprecated-declarations
configure:6792: /usr/bin/g++ -std=gnu++11 -c -Werror -Wno-error=deprecated-declarations -Qunused-arguments conftest.C 1>&5
configure:6820: checking whether the C++ compiler supports -Wno-error=array-bounds
configure:6843: /usr/bin/g++ -std=gnu++11 -c -Werror -Wno-error=array-bounds -Qunused-arguments conftest.C 1>&5
configure:6993: checking for 64-bit OS
configure:7002: /usr/bin/gcc -std=gnu99 -c -Qunused-arguments conftest.c 1>&5
configure:7108: checking for -framework ExceptionHandling
configure:7118: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -Qunused-arguments -lobjc -framework ExceptionHandling conftest.c 1>&5
configure:7140: checking for -dead_strip option to ld
configure:7151: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -Qunused-arguments -lobjc -Wl,-dead_strip conftest.c 1>&5
configure:7777: checking whether the C++ compiler (/usr/bin/g++ -std=gnu++11 -fno-common -stdlib=libc++ -fno-rtti -lobjc) actually is a C++ compiler
configure:7796: /usr/bin/g++ -std=gnu++11 -o conftest -fno-common -stdlib=libc++ -fno-rtti -Qunused-arguments -lobjc conftest.C 1>&5
configure:8039: checking for ANSI C header files
configure:8052: gcc -E -Qunused-arguments conftest.c >/dev/null 2>conftest.out
configure:8119: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -Qunused-arguments -lobjc conftest.c 1>&5
configure:8114:67: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
^
configure:8114:67: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
configure:8146: checking for working const
configure:8200: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8224: checking for mode_t
configure:8260: checking for off_t
configure:8296: checking for pid_t
configure:8332: checking for size_t
configure:8382: checking for ssize_t
configure:8395: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8424: checking for endian.h
configure:8437: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8431:10: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
configure: failed program was:
#line 8429 "configure"
#include "confdefs.h"
#include <endian.h>
int main() {
; return 0; }
configure:8480: checking for machine/endian.h
configure:8493: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8536: checking for sys/isa_defs.h
configure:8549: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8543:10: fatal error: 'sys/isa_defs.h' file not found
#include <sys/isa_defs.h>
^
1 error generated.
configure: failed program was:
#line 8541 "configure"
#include "confdefs.h"
#include <sys/isa_defs.h>
int main() {
; return 0; }
configure:8606: checking whether 64-bits std::atomic requires -latomic
configure:8619: /usr/bin/g++ -std=gnu++11 -o conftest -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -Qunused-arguments -lobjc conftest.C 1>&5
configure:8714: checking for dirent.h that defines DIR
configure:8727: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8755: checking for opendir in -ldir
configure:8774: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -Qunused-arguments -lobjc conftest.c -ldir 1>&5
ld: library not found for -ldir
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 8763 "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:8849: checking for sys/byteorder.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8856:10: fatal error: 'sys/byteorder.h' file not found
#include <sys/byteorder.h>
^
1 error generated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"
#include <sys/byteorder.h>
int main() {
; return 0; }
configure:8849: checking for compat.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8856:10: fatal error: 'compat.h' file not found
#include <compat.h>
^
1 error generated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"
#include <compat.h>
int main() {
; return 0; }
configure:8849: checking for getopt.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8849: checking for sys/bitypes.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8856:10: fatal error: 'sys/bitypes.h' file not found
#include <sys/bitypes.h>
^
1 error generated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"
#include <sys/bitypes.h>
int main() {
; return 0; }
configure:8849: checking for memory.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8849: checking for unistd.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8849: checking for gnu/libc-version.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8856:10: fatal error: 'gnu/libc-version.h' file not found
#include <gnu/libc-version.h>
^
1 error generated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"
#include <gnu/libc-version.h>
int main() {
; return 0; }
configure:8849: checking for nl_types.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8849: checking for malloc.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8856:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^
1 error generated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"
#include <malloc.h>
int main() {
; return 0; }
configure:8849: checking for X11/XKBlib.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8856:10: fatal error: 'X11/XKBlib.h' file not found
#include <X11/XKBlib.h>
^
1 error generated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"
#include <X11/XKBlib.h>
int main() {
; return 0; }
configure:8849: checking for io.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8856:10: fatal error: 'io.h' file not found
#include <io.h>
^
1 error generated.
configure: failed program was:
#line 8854 "configure"
#include "confdefs.h"
#include <io.h>
int main() {
; return 0; }
configure:8849: checking for cpuid.h
configure:8862: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8897: checking for sys/statvfs.h
configure:8910: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8897: checking for sys/statfs.h
configure:8910: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8904:10: fatal error: 'sys/statfs.h' file not found
#include <sys/statfs.h>
^
1 error generated.
configure: failed program was:
#line 8902 "configure"
#include "confdefs.h"
#include <sys/statfs.h>
int main() {
; return 0; }
configure:8897: checking for sys/vfs.h
configure:8910: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8904:10: fatal error: 'sys/vfs.h' file not found
#include <sys/vfs.h>
^
1 error generated.
configure: failed program was:
#line 8902 "configure"
#include "confdefs.h"
#include <sys/vfs.h>
int main() {
; return 0; }
configure:8897: checking for sys/mount.h
configure:8910: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8944: checking for sys/quota.h
configure:8957: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
In file included from configure:8951:
/usr/include/sys/quota.h:146:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_magic;
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:147:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_version; /* == QF_VERSION */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:148:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_maxentries; /* must be a power of 2 */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:149:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_entrycnt; /* count of active entries */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:150:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_flags; /* reserved for now (0) */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:151:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_chktime; /* time of last quota check */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:152:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_btime; /* time limit for excessive disk use */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:153:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_itime; /* time limit for excessive files */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:155:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqh_spare[4]; /* pad struct to power of 2 */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:159:2: error: unknown type name 'u_int64_t'
u_int64_t dqb_bhardlimit; /* absolute limit on disk bytes alloc */
^
/usr/include/sys/quota.h:160:2: error: unknown type name 'u_int64_t'
u_int64_t dqb_bsoftlimit; /* preferred limit on disk bytes */
^
/usr/include/sys/quota.h:161:2: error: unknown type name 'u_int64_t'
u_int64_t dqb_curbytes; /* current byte count */
^
/usr/include/sys/quota.h:162:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqb_ihardlimit; /* maximum # allocated inodes + 1 */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:163:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqb_isoftlimit; /* preferred inode limit */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:164:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqb_curinodes; /* current # allocated inodes */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:165:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqb_btime; /* time limit for excessive disk use */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:166:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqb_itime; /* time limit for excessive files */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:167:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqb_id; /* identifier (0 for empty entries) */
^
note: '__int128_t' declared here
/usr/include/sys/quota.h:168:2: error: unknown type name 'u_int32_t'; did you mean '__int128_t'?
u_int32_t dqb_spare[4]; /* pad struct to power of 2 */
^
note: '__int128_t' declared here
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
configure: failed program was:
#line 8949 "configure"
#include "confdefs.h"
#include <sys/quota.h>
int main() {
; return 0; }
configure:8990: checking for linux/quota.h
configure:9003: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:8997:10: fatal error: 'linux/quota.h' file not found
#include <linux/quota.h>
^
1 error generated.
configure: failed program was:
#line 8995 "configure"
#include "confdefs.h"
#include <linux/quota.h>
int main() {
; return 0; }
configure:9099: checking for sys/cdefs.h
configure:9112: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:9162: checking for linux/perf_event.h
configure:9175: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -Qunused-arguments conftest.c 1>&5
configure:9169:10: fatal error: 'linux/perf_event.h' file not found
#include <linux/perf_event.h>
^
1 error generated.
configure: failed program was:
#line 9167 "configure"
#include "confdefs.h"
#include <linux/perf_event.h>
int main() {
; return 0; }
configure:9234: checking for gethostbyname_r in -lc_r
configure:9253: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -Qunused-arguments -lobjc conftest.c -lc_r 1>&5
ld: library not found for -lc_r
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 9242 "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:9447: checking for socket in -lsocket
configure:9466: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -Qunused-arguments -lobjc conftest.c -lsocket 1>&5
ld: library not found for -lsocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 9455 "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:9691: checking whether /usr/bin/gcc -std=gnu99 accepts -pthread
configure:9786: checking whether /usr/bin/gcc -std=gnu99 needs -traditional
configure:9811:10: fatal error: 'termio.h' file not found
#include <termio.h>
^
1 error generated.
configure:9832: checking for 8-bit clean memcmp
configure:9850: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c 1>&5
configure:9842:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
configure:9845:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
^
configure:9845:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
configure:9845:8: warning: implicitly declaring library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'
exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
^
configure:9845:8: note: include the header <string.h> or explicitly provide a declaration for 'memcmp'
3 warnings generated.
configure:9870: checking for getc_unlocked
configure:9902: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c 1>&5
configure:9870: checking for _getc_nolock
configure:9902: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c 1>&5
Undefined symbols for architecture x86_64:
"__getc_nolock", referenced from:
_main in conftest-6c8599.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 9875 "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 <assert.h>
#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:9870: checking for gmtime_r
configure:9902: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c 1>&5
configure:9870: checking for localtime_r
configure:9902: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c 1>&5
configure:9931: checking for clock_gettime(CLOCK_MONOTONIC)
configure:9947: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c 1>&5
configure:9943:36: warning: implicit declaration of function 'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration]
clock_gettime(CLOCK_MONOTONIC, &ts);
^
configure:9943:50: error: use of undeclared identifier 'CLOCK_MONOTONIC'
clock_gettime(CLOCK_MONOTONIC, &ts);
^
1 warning and 1 error generated.
configure: failed program was:
#line 9939 "configure"
#include "confdefs.h"
#include <time.h>
int main() {
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
; return 0; }
configure:9947: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c -lrt 1>&5
configure:9943:36: warning: implicit declaration of function 'clock_gettime' is invalid in C99 [-Wimplicit-function-declaration]
clock_gettime(CLOCK_MONOTONIC, &ts);
^
configure:9943:50: error: use of undeclared identifier 'CLOCK_MONOTONIC'
clock_gettime(CLOCK_MONOTONIC, &ts);
^
1 warning and 1 error generated.
configure: failed program was:
#line 9939 "configure"
#include "confdefs.h"
#include <time.h>
int main() {
struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
; return 0; }
configure:9979: checking for sin in -lm
configure:9998: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c -lm 1>&5
configure:9991:6: warning: incompatible redeclaration of library function 'sin' [-Wincompatible-library-redeclaration]
char sin();
^
configure:9991:6: note: 'sin' is a builtin with type 'double (double)'
1 warning generated.
configure:10029: checking for __sincos in -lm
configure:10048: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c -lm -lm 1>&5
configure:10086: checking for wcrtomb
configure:10098: /usr/bin/g++ -std=gnu++11 -o conftest -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.C -lm 1>&5
configure:10121: checking for mbrtowc
configure:10133: /usr/bin/g++ -std=gnu++11 -o conftest -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.C -lm 1>&5
configure:10165: checking for res_ninit()
configure:10188: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c -lm 1>&5
Undefined symbols for architecture x86_64:
"_res_9_ninit", referenced from:
_main in conftest-ca084f.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 10173 "configure"
#include "confdefs.h"
#ifdef linux
#define _BSD_SOURCE 1
#endif
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
int main() {
int foo = res_ninit(&_res);
; return 0; }
configure:10216: checking for nl_langinfo and CODESET
configure:10228: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c -lm 1>&5
configure:10264: checking for an implementation of va_copy()
configure:10285: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -pthread -Qunused-arguments conftest.c 1>&5
configure:10301: checking whether va_list can be copied by value
configure:10322: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -pthread -Qunused-arguments conftest.c 1>&5
configure:10312:19: error: array type 'va_list' (aka '__builtin_va_list') is not assignable
args2 = args1;
~~~~~ ^
1 error generated.
configure: failed program was:
#line 10306 "configure"
#include "confdefs.h"
#include <stdarg.h>
#include <stdlib.h>
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:10418: checking whether the C++ "using" keyword resolves ambiguity
configure:10439: /usr/bin/g++ -std=gnu++11 -c -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -Qunused-arguments conftest.C 1>&5
configure:10463: checking for C++ dynamic_cast to void*
configure:10490: /usr/bin/g++ -std=gnu++11 -o conftest -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.C -lm 1>&5
configure:10523: checking for __thread keyword for TLS variables
configure:10535: /usr/bin/g++ -std=gnu++11 -o conftest -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -Qunused-arguments -lobjc -fPIC -Wl,-dead_strip conftest.C -lm 1>&5
configure:10573: checking for __attribute__((always_inline))
configure:10585: /usr/bin/g++ -std=gnu++11 -c -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -Qunused-arguments conftest.C 1>&5
configure:10609: checking for LC_MESSAGES
configure:10621: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -pthread -Qunused-arguments conftest.c 1>&5
configure:10647: checking for localeconv
configure:10679: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c -lm 1>&5
configure:10819: checking NSPR selection
configure:11144: checking for gzread in -lz
configure:11163: /usr/bin/gcc -std=gnu99 -o conftest -fno-common -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.c -lz -lm 1>&5
configure:11198: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -pthread -Qunused-arguments conftest.c 1>&5
configure:11448: checking for valid optimization flags
configure:11459: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -pthread -O3 -fno-stack-protector -Qunused-arguments conftest.c 1>&5
configure:12236: checking for __cxa_demangle
configure:12271: /usr/bin/g++ -std=gnu++11 -o conftest -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -Qunused-arguments -lobjc conftest.C -lm 1>&5
configure:12332: checking for -pipe support
configure:12346: checking whether C compiler supports -fprofile-generate
configure:12355: /usr/bin/gcc -std=gnu99 -c -fno-common -fno-math-errno -pthread -pipe -fprofile-generate -fprofile-correction -Qunused-arguments conftest.c 1>&5
clang: warning: optimization flag '-fprofile-correction' is not supported
configure:12390: checking for tm_zone tm_gmtoff in struct tm
configure:12402: /usr/bin/g++ -std=gnu++11 -c -fno-common -stdlib=libc++ -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -Qunused-arguments conftest.C 1>&5
configure:12444: checking what kind of list files are supported by the linker
configure:12449: /usr/bin/gcc -std=gnu99 -o conftest.o -c -fno-common -fno-math-errno -pthread -pipe -Qunused-arguments conftest.c 1>&5
configure:12451: /usr/bin/gcc -std=gnu99 -o conftest -lobjc conftest.list -lm 1>&5
ld: file too small (length=18) file 'conftest.list' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:12455: /usr/bin/gcc -std=gnu99 -o conftest -lobjc -Wl,-filelist,conftest.list -lm 1>&5
configure:12808: checking for posix_fadvise
configure:12840: /usr/bin/gcc -std=gnu99 -o conftest -Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wclass-varargs -Wloop-analysis -Wstring-conversion -Wthread-safety -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-common -fno-math-errno -pthread -pipe -Qunused-arguments -lobjc conftest.c -lm 1>&5
Undefined symbols for architecture x86_64:
"_posix_fadvise", referenced from:
_main in conftest-755401.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 12813 "configure"
#define posix_fadvise innocuous_posix_fadvise
#include "confdefs.h"
#undef posix_fadvise
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char posix_fadvise(); below. */
#define posix_fadvise innocuous_posix_fadvise
#include <assert.h>
#undef posix_fadvise
/* 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 posix_fadvise();
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_posix_fadvise) || defined (__stub___posix_fadvise)
choke me
#else
posix_fadvise();
#endif
; return 0; }
configure:12808: checking for posix_fallocate
configure:12840: /usr/bin/gcc -std=gnu99 -o conftest -Qunused-arguments -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wclass-varargs -Wloop-analysis -Wstring-conversion -Wthread-safety -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-common -fno-math-errno -pthread -pipe -Qunused-arguments -lobjc conftest.c -lm 1>&5
Undefined symbols for architecture x86_64:
"_posix_fallocate", referenced from:
_main in conftest-fc6aa9.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure: failed program was:
#line 12813 "configure"
#define posix_fallocate innocuous_posix_fallocate
#include "confdefs.h"
#undef posix_fallocate
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char posix_fallocate(); below. */
#define posix_fallocate innocuous_posix_fallocate
#include <assert.h>
#undef posix_fallocate
/* 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 posix_fallocate();
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_posix_fallocate) || defined (__stub___posix_fallocate)
choke me
#else
posix_fallocate();
#endif
; return 0; }
configure: error: Building ICU requires either yasm or a GNU assembler. If you do not have either of those available for this platform you must use --without-intl-api
--- stderr
configure: error: Building ICU requires either yasm or a GNU assembler. If you do not have either of those available for this platform you must use --without-intl-api
DEBUG: <truncated - see config.log for full output>
DEBUG: #include <assert.h>
DEBUG: #undef posix_fallocate
DEBUG: /* Override any gcc2 internal prototype to avoid an error. */
DEBUG: /* We use char because int might match the return type of a gcc2
DEBUG: builtin and then its argument prototype would still apply. */
DEBUG: char posix_fallocate();
DEBUG:
DEBUG: int main() {
DEBUG:
DEBUG: /* The GNU C library defines this for functions which it implements
DEBUG: to always fail with ENOSYS. Some functions are actually named
DEBUG: something starting with __ and the normal name is an alias. */
DEBUG: #if defined (__stub_posix_fallocate) || defined (__stub___posix_fallocate)
DEBUG: choke me
DEBUG: #else
DEBUG: posix_fallocate();
DEBUG: #endif
DEBUG:
DEBUG: ; return 0; }
DEBUG: configure: error: Building ICU requires either yasm or a GNU assembler. If you do not have either of those available for this platform you must use --without-intl-api
ERROR: old-configure failed
make: *** [maybe-configure] Error 1
thread 'main' panicked at 'assertion failed: result.success()', /Users/willij87/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/f7917c4/build.rs:43
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Build FAILED in 0:06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.