Skip to content

Instantly share code, notes, and snippets.

@eqyiel
Created October 13, 2017 10:03
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 eqyiel/93185de6939d0b278cbf27784fa0961e to your computer and use it in GitHub Desktop.
Save eqyiel/93185de6939d0b278cbf27784fa0961e to your computer and use it in GitHub Desktop.
root@tomoyo> nix-shell /nix/store/gprzdyhwnzhlpzv9vq6ijkljmcxi4zp8-gcc-wrapper-6.4.0-armv7l-unknown-linux-gnueabi-armv7l-unknown-linux-gnueabi.drv
these derivations will be built:
/nix/store/r11x5hzn65l51c6m8w58h0klk1v7w02s-acl-2.2.52-armv7l-unknown-linux-gnueabi.drv
/nix/store/2dkvjmnx5d68m0qb7rh9m0vpznfkg8v0-coreutils-8.28-armv7l-unknown-linux-gnueabi.drv
/nix/store/apk31pvvbjcvj8rdmcaxh60vsnfiwcmx-mpfr-3.1.3-armv7l-unknown-linux-gnueabi.drv
/nix/store/d2kl6ic7ydi9llfq6ggcq35yq8drpn0d-libelf-0.8.13-armv7l-unknown-linux-gnueabi.drv
/nix/store/g3ak2v2azr3kmcp2qgl4h45nifkajf9a-gnugrep-3.1-armv7l-unknown-linux-gnueabi.drv
/nix/store/griqcl18pyg90g8bb2p3mfm3h165jzjd-zlib-1.2.11-armv7l-unknown-linux-gnueabi.drv
/nix/store/llywnv7ddq3cvbgwvii47kx0h4f76fp2-isl-0.14.1-armv7l-unknown-linux-gnueabi.drv
/nix/store/nm690062q1m4z91b8gjbhv2iqrscdrzh-libmpc-1.0.3-armv7l-unknown-linux-gnueabi.drv
/nix/store/p4qfrq8r4b6walrf3hkp7664bmkc8gf5-gcc-6.4.0-armv7l-unknown-linux-gnueabi.drv
/nix/store/pijhd3n0wyg0hnxcyfnc8qzs85gv5ihh-binutils-2.28.1-armv7l-unknown-linux-gnueabi.drv
building path(s) ‘/nix/store/5jnjy5cpkjb62nml9bci0r19xc5a4sad-gnugrep-3.1-armv7l-unknown-linux-gnueabi-info’, ‘/nix/store/i650gyql5l04101hpslyaj1xzkjj4c5x-gnugrep-3.1-armv7l-unknown-linux-gnueabi’
building path(s) ‘/nix/store/136sdvrvw4vahz48zp0qmri0qr2ky0pn-acl-2.2.52-armv7l-unknown-linux-gnueabi-man’, ‘/nix/store/2h6drwkagha4g6jv92zz2fvs2bq91r7f-acl-2.2.52-armv7l-unknown-linux-gnueabi’, ‘/nix/store/4zaaqksms6gmc52ijb4dndqsl0r75ra6-acl-2.2.52-armv7l-unknown-linux-gnueabi-doc’, ‘/nix/store/7zph9gq42h6fgmznnbbwlx3hi78lyb8l-acl-2.2.52-armv7l-unknown-linux-gnueabi-bin’, ‘/nix/store/s23cmv766d731bq9wi68ia7my64nfhaj-acl-2.2.52-armv7l-unknown-linux-gnueabi-dev’
building path(s) ‘/nix/store/1xmbsdcnlknppfgj5mvqrfl2vaj9j3kv-isl-0.14.1-armv7l-unknown-linux-gnueabi’
building path(s) ‘/nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi’
building path(s) ‘/nix/store/43h45pxg3bmrviv0ns47cwvjspw0hh9w-mpfr-3.1.3-armv7l-unknown-linux-gnueabi-dev’, ‘/nix/store/47jlmg3gh02vd722ksivwpdx7wl2na0b-mpfr-3.1.3-armv7l-unknown-linux-gnueabi’, ‘/nix/store/9bvbpkx2pdviv2f34fx94jb4qw38jhy7-mpfr-3.1.3-armv7l-unknown-linux-gnueabi-info’, ‘/nix/store/yfi8g726m1fjimfns52wrwxhc0296gds-mpfr-3.1.3-armv7l-unknown-linux-gnueabi-doc’
building path(s) ‘/nix/store/n63m7w1mcsgz7k49lkjp40qf3ai693in-zlib-1.2.11-armv7l-unknown-linux-gnueabi-static’, ‘/nix/store/q2kvgskg40dd23f8x0yfm7hdqgqwi7l0-zlib-1.2.11-armv7l-unknown-linux-gnueabi’, ‘/nix/store/y63ak94yl3ahfzxwpildj000n5s37va9-zlib-1.2.11-armv7l-unknown-linux-gnueabi-dev’
unpacking sources
unpacking sources
unpacking source archive /nix/store/ss6nbxp382iapsixk10v2k0f52bn0skv-grep-3.1.tar.xz
unpacking source archive /nix/store/g1xy1paj595yzzl2wmw4si63ravjykck-isl-0.14.1.tar.xz
unpacking sources
unpacking sources
unpacking source archive /nix/store/ggpgsklddx6h8dk0wkmlnk4brcxdb0jh-libelf-0.8.13.tar.gz
unpacking source archive /nix/store/6daljc3bhmqal7l0iqcqcpq21flpyfaw-acl-2.2.52.src.tar.gz
unpacking sources
unpacking sources
unpacking source archive /nix/store/0lzh7sl2klvi4rj68a5rafwxay242www-mpfr-3.1.3.tar.bz2
unpacking source archive /nix/store/rrzja19jbqxbfryp2zchb2ma5h041rxh-zlib-1.2.11.tar.gz
source root is libelf-0.8.13
setting SOURCE_DATE_EPOCH to timestamp 1257080996 of file libelf-0.8.13/MANIFEST
patching sources
applying patch /nix/store/lzmxj8jf7dsy73injx2q3x6j329fjlk2-dont-hardcode-ar.patch
patching file lib/Makefile.in
configuring
source root is acl-2.2.52
configure flags: --prefix=/nix/store/dfmyq8xjf2laq0plr4rgflzq96xg6z6m-libelf-0.8.13-armv7l-unknown-linux-gnueabi --build=x86_64-unknown-linux-gnu --host=armv7l-unknown-linux-gnueabi
setting SOURCE_DATE_EPOCH to timestamp 1368942682 of file acl-2.2.52/po/acl.pot
patching sources
Removing C++-style comments from include/acl.h
source root is zlib-1.2.11
configuring
creating cache ./config.cache
setting SOURCE_DATE_EPOCH to timestamp 1484501380 of file zlib-1.2.11/zutil.c
patching sources
fixing libtool script ./ltmain.sh
checking whether make sets ${MAKE}... configuring
configure flags: --prefix=/nix/store/q2kvgskg40dd23f8x0yfm7hdqgqwi7l0-zlib-1.2.11-armv7l-unknown-linux-gnueabi --shared
yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
builder for ‘/nix/store/d2kl6ic7ydi9llfq6ggcq35yq8drpn0d-libelf-0.8.13-armv7l-unknown-linux-gnueabi.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/p4qfrq8r4b6walrf3hkp7664bmkc8gf5-gcc-6.4.0-armv7l-unknown-linux-gnueabi.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/p4qfrq8r4b6walrf3hkp7664bmkc8gf5-gcc-6.4.0-armv7l-unknown-linux-gnueabi.drv’ failed
/run/current-system/sw/bin/nix-shell: failed to build all dependencies
[11] root@tomoyo>
root@tomoyo> grep 'no acceptable' configure /tmp/nix-build-libelf-0.8.13-armv7l-unknown-linux-gnueabi.drv-0/libelf-0.8.13
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
root@tomoyo> grep CC ../env-vars /tmp/nix-build-libelf-0.8.13-armv7l-unknown-linux-gnueabi.drv-0/libelf-0.8.13
declare -x BUILD_CC="armv7l-unknown-linux-gnueabi-gcc"
declare -x NIX_BUILD_CC="/nix/store/qxpsm1rkp5ibrdw9ksz46j7126cfkv0x-armv7l-unknown-linux-gnueabi-gcc-cross-wrapper-6.4.0-armv7l-unknown-linux-gnueabi-stage-final"
declare -x NIX_CC_WRAPPER_armv7l_unknown_linux_gnueabi_TARGET_BUILD="1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment