Skip to content

Instantly share code, notes, and snippets.

@tvon
Created March 8, 2016 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tvon/95a675b9c3ce3b0156d4 to your computer and use it in GitHub Desktop.
Save tvon/95a675b9c3ce3b0156d4 to your computer and use it in GitHub Desktop.
-- Build files have been written to: /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/tpm_emulator-x86_64/build
touch tpm_emulator-x86_64
/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/wget/wget -c -O gmp-4.3.2.tar.bz2 \/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../xen_ext_files/gmp-4.3.2.tar.bz2
===== Not fetching -c -O gmp-4.3.2.tar.bz2 /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../xen_ext_files/gmp-4.3.2.tar.bz2, copy pre-fetched file instead [6693/72580]
tar xjf gmp-4.3.2.tar.bz2
rm gmp-x86_64 -rf || :
mv gmp-4.3.2 gmp-x86_64
#patch -d gmp-x86_64 -p0 < gmp.patch
cd gmp-x86_64; CPPFLAGS="-isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/posix -isystem /tmp/nix-build-xen-4.5.2.drv-0/x
en-4.5.2/stubdom/../tools/xenstore/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/x86 -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/posi
x -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /nix/store/ikzdbd65z7453spdvm05r0izd56zdvkx-gcc-4.9.3/lib/gcc/x86_64-unknown-linux-gnu/4.9.3/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/lwip-x86_64/src/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/lwip-x86_64/s
rc/include/ipv4 -I/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/include -I/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../xen/include" CFLAGS="-mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno
-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions" CC=gcc ./configure --disable-shared --enable-static --disable-fft --without-readline --prefix=/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/cross-root-x86_64/x86_64-xen-elf
checking build system type... core2-unknown-linux-gnu
checking host system type... core2-unknown-linux-gnu
checking for a BSD-compatible install... /nix/store/95wmyhk0y60r09b98l6v4vswv5m7xm4q-coreutils-8.25/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=64
checking compiler gcc -mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions -isystem /tmp/nix-build-xen-4.5.2.drv
-0/xen-4.5.2/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/posix -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../tools/xenstore/include -isystem /tmp/nix-
build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/x86 -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/posix -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/cr
oss-root-x86_64/x86_64-xen-elf/include -isystem /nix/store/ikzdbd65z7453spdvm05r0izd56zdvkx-gcc-4.9.3/lib/gcc/x86_64-unknown-linux-gnu/4.9.3/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/lwip-x86_64/src/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/lwip-x86_64/src/include/ipv4 -I/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stu
bdom/include -I/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../xen/include... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking build system compiler gcc... yes
checking for build system preprocessor... gcc -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking for grep that handles long lines and -e... /nix/store/y50jbamh4iw1nhgyi3xdxg14fd8hslpg-gnugrep-2.22/bin/grep
checking for egrep... /nix/store/y50jbamh4iw1nhgyi3xdxg14fd8hslpg-gnugrep-2.22/bin/grep -E
using ABI="64"
CC="gcc"
CFLAGS="-mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions"
CPPFLAGS="-isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/posix -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/
stubdom/../tools/xenstore/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/x86 -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/x86/x86_64 -U __linux__ -U __FreeBSD__ -U __sun__ -nostdinc -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../extras/mini-os/include/posix -isyste
m /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem /nix/store/ikzdbd65z7453spdvm05r0izd56zdvkx-gcc-4.9.3/lib/gcc/x86_64-unknown-linux-gnu/4.9.3/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/lwip-x86_64/src/include -isystem /tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/lwip-x86_64/src/includ
e/ipv4 -I/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/include -I/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom/../xen/include"
MPN_PATH=" x86_64/core2 x86_64 generic"
checking for function prototypes... yes
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking whether assembler supports --noexecstack option... yes
checking for ar... ar
checking for BSD-compatible nm... /nix/store/6iqy0d7919hvn4ii0jbm2fgky3dqy914-binutils-2.23.1/bin/nm -B
checking for a sed that does not truncate output... /nix/store/wgy9kf7z23wd422nirlylq0whhy49ipw-gnused-4.2.2/bin/sed
checking for ld used by gcc... /nix/store/dxk25sxgxb9sxb9sdwmxy6rdrd86hp94-gcc-wrapper-4.9.3/bin/ld
checking if the linker (/nix/store/dxk25sxgxb9sxb9sdwmxy6rdrd86hp94-gcc-wrapper-4.9.3/bin/ld) is GNU ld... yes
checking for /nix/store/dxk25sxgxb9sxb9sdwmxy6rdrd86hp94-gcc-wrapper-4.9.3/bin/ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... no
checking dlfcn.h presence... yes
configure: WARNING: dlfcn.h: present but cannot be compiled
configure: WARNING: dlfcn.h: check for missing prerequisite headers?
configure: WARNING: dlfcn.h: see the Autoconf documentation
configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled"
configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
configure: WARNING: dlfcn.h: in the future, the compiler will take precedence
configure: WARNING: ## ---------------------------------- ##
configure: WARNING: ## Report this to gmp-bugs@gmplib.org ##
configure: WARNING: ## ---------------------------------- ##
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking the maximum length of command line arguments... 1572864
checking command to parse /nix/store/6iqy0d7919hvn4ii0jbm2fgky3dqy914-binutils-2.23.1/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... (cached) ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/nix/store/dxk25sxgxb9sxb9sdwmxy6rdrd86hp94-gcc-wrapper-4.9.3/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
checking for ANSI C header files... (cached) no
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking invent.h usability... no
checking invent.h presence... no [6581/72580]
checking for invent.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... no
checking nl_types.h presence... yes
configure: WARNING: nl_types.h: present but cannot be compiled
configure: WARNING: nl_types.h: check for missing prerequisite headers?
configure: WARNING: nl_types.h: see the Autoconf documentation
configure: WARNING: nl_types.h: section "Present But Cannot Be Compiled"
configure: WARNING: nl_types.h: proceeding with the preprocessor's result
configure: WARNING: nl_types.h: in the future, the compiler will take precedence
configure: WARNING: ## ---------------------------------- ##
configure: WARNING: ## Report this to gmp-bugs@gmplib.org ##
configure: WARNING: ## ---------------------------------- ##
checking for nl_types.h... yes
checking sys/attributes.h usability... no
checking sys/attributes.h presence... no
checking for sys/attributes.h... no
checking sys/iograph.h usability... no
checking sys/iograph.h presence... no
checking for sys/iograph.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... yes
configure: WARNING: sys/sysinfo.h: present but cannot be compiled
configure: WARNING: sys/sysinfo.h: check for missing prerequisite headers?
configure: WARNING: sys/sysinfo.h: see the Autoconf documentation
configure: WARNING: sys/sysinfo.h: section "Present But Cannot Be Compiled"
configure: WARNING: sys/sysinfo.h: proceeding with the preprocessor's result
configure: WARNING: sys/sysinfo.h: in the future, the compiler will take precedence
configure: WARNING: ## ---------------------------------- ##
configure: WARNING: ## Report this to gmp-bugs@gmplib.org ##
configure: WARNING: ## ---------------------------------- ##
checking for sys/sysinfo.h... yes
checking sys/syssgi.h usability... no
checking sys/syssgi.h presence... no
checking for sys/syssgi.h... no
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/resource.h... yes
checking for sys/sysctl.h... yes
checking for machine/hal_sysinfo.h... no
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking whether sys_errlist is declared... no
checking whether sys_nerr is declared... no
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... yes
checking for quad_t... no
checking for uint_least32_t... yes
checking for preprocessor stringizing operator... yes
checking for working volatile... yes
checking for C/C++ restrict keyword... restrict
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... inline
checking for cos in -lm... yes
checking for working alloca.h... yes
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking whether byte ordering is bigendian... no
checking format of `double' floating point... IEEE little endian
checking for alarm... yes
checking for attr_get... no
checking for clock... yes
checking for clock_gettime... yes
checking for cputime... no
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for getsysinfo... no
checking for localeconv... yes
checking for memset... yes
checking for mmap... yes
checking for mprotect... yes
checking for nl_langinfo... yes
checking for obstack_vprintf... yes
checking for popen... yes
checking for processor_info... no
checking for pstat_getprocessor... no
checking for raise... yes
checking for read_real_time... no
checking for sigaction... yes
checking for sigaltstack... yes
checking for sigstack... yes
checking for syssgi... no
checking for strchr... yes
checking for strerror... yes
checking for strnlen... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for sysctl... yes
checking for sysctlbyname... no
checking for times... yes
checking for vsnprintf... yes
checking whether vsnprintf works... yes
checking whether sscanf needs writable input... no
checking for struct pst_processor.psp_iticksperclktick... no
checking for suitable m4... m4
checking if m4wrap produces spurious output... no
checking how to switch to text section... .text
checking how to switch to data section... .data
checking for assembler label suffix... :
checking for assembler global directive... .globl
checking for assembler global directive attribute...
checking if globals are prefixed by underscore... no
checking how to switch to read-only data section... .section .rodata
checking for assembler .type directive... .type $1,@$2
checking for assembler .size directive... .size $1,$2
checking for assembler local label prefix... .L
checking for assembler byte directive... .byte
checking how to define a 32-bit word... .long
checking if .align assembly directive is logarithmic... no
checking if the .align directive accepts an 0x90 fill in .text... yes
checking for unsigned short... yes
checking size of unsigned short... configure: error: cannot compute sizeof (unsigned short)
See `config.log' for more details.
Makefile:162: recipe for target 'gmp-x86_64' failed
make[1]: *** [gmp-x86_64] Error 77
make[1]: Leaving directory '/tmp/nix-build-xen-4.5.2.drv-0/xen-4.5.2/stubdom'
Makefile:73: recipe for target 'install-stubdom' failed
make: *** [install-stubdom] Error 2
builder for ‘/nix/store/dpy7fs2fw5rzdvl1a86s4dvja6i3d0an-xen-4.5.2.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/kc8c85id77gv5v3gsjnbd44sj2y9vz3n-libvirt-1.3.0.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/qpwbpi3vzmmsgp5sr26qd6rkf21hqjmc-system-path.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/hcfhwc69r4d1b6qlzmbkbzw4g9r53ppy-unit-libvirt-guests.service.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/4v2i7n0bhif14i3zfcq9vhwbb5bh5ldz-unit-libvirtd.service.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/61x008b9m4vllgdgiy7l3grj4402addn-nixos-system-nixos-16.09pre78286.0bf8a1a.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/61x008b9m4vllgdgiy7l3grj4402addn-nixos-system-nixos-16.09pre78286.0bf8a1a.drv’ failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment