{"body":"❯ nix-shell --keep-failed --show-trace\nthese derivations will be built:\n  /nix/store/jg5a83gcfq06ziz73dvfvb4w7fyqwxqx-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv\nbuilding '/nix/store/jg5a83gcfq06ziz73dvfvb4w7fyqwxqx-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv'...\nunpacking sources\nunpacking source archive /nix/store/m1zi510r3vvfp5aha7ghcxawydix3syz-source\nsource root is source\npatching sources\nautoreconfPhase\nautoreconf: export WARNINGS=\nautoreconf: Entering directory '.'\nautoreconf: configure.ac: not using Gettext\nautoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}\nautoreconf: configure.ac: tracing\nautoreconf: configure.ac: creating directory build-aux\nautoreconf: running: libtoolize --copy --force\nlibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.\nlibtoolize: copying file 'build-aux/ltmain.sh'\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.\nlibtoolize: copying file 'm4/libtool.m4'\nlibtoolize: copying file 'm4/ltoptions.m4'\nlibtoolize: copying file 'm4/ltsugar.m4'\nlibtoolize: copying file 'm4/ltversion.m4'\nlibtoolize: copying file 'm4/lt~obsolete.m4'\nautoreconf: configure.ac: not using Intltool\nautoreconf: configure.ac: not using Gtkdoc\nautoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS}\nautoreconf: running: /nix/store/m2l0ga2xmyryi1a1r9p2hmngrbv0d6x4-autoconf-2.70/bin/autoconf --force\nconfigure.ac:14: warning: The macro `AC_PROG_CC_STDC' is obsolete.\nconfigure.ac:14: You should run autoupdate.\n./lib/autoconf/c.m4:1628: AC_PROG_CC_STDC is expanded from...\nconfigure.ac:14: the top level\nautoreconf: running: /nix/store/m2l0ga2xmyryi1a1r9p2hmngrbv0d6x4-autoconf-2.70/bin/autoheader --force\nautoreconf: running: automake --add-missing --copy --force-missing\nconfigure.ac:14: installing 'build-aux/compile'\nconfigure.ac:22: installing 'build-aux/config.guess'\nconfigure.ac:22: installing 'build-aux/config.sub'\nconfigure.ac:13: installing 'build-aux/install-sh'\nconfigure.ac:13: installing 'build-aux/missing'\nMakefile.am: installing 'build-aux/depcomp'\nparallel-tests: installing 'build-aux/test-driver'\nautoreconf: 'build-aux/config.sub' is updated\nautoreconf: 'build-aux/config.guess' is updated\nautoreconf: Leaving directory '.'\nupdateAutotoolsGnuConfigScriptsPhase\nUpdating Autotools / GNU config script to a newer upstream version: ./build-aux/config.sub\nUpdating Autotools / GNU config script to a newer upstream version: ./build-aux/config.guess\nconfiguring\nfixing libtool script ./build-aux/ltmain.sh\nconfigure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/69f99x84q4dhg4ypgr3nhyj5xn0yqndb-protobuf-c-1.3.3-aarch64-unknown-linux-android --build=x86_64-unknown-linux-gnu --host=aarch64-unknown-linux-android\nchecking for a BSD-compatible install... /nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/install -c\nchecking whether build environment is sane... yes\nchecking for aarch64-unknown-linux-android-strip... no\nchecking for strip... strip\nconfigure: WARNING: using cross tools not prefixed with host triplet\nchecking for a race-free mkdir -p... /nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/mkdir -p\nchecking for gawk... gawk\nchecking whether make sets $(MAKE)... yes\nchecking whether make supports nested variables... yes\nchecking whether make supports the include directive... yes (GNU style)\nchecking for aarch64-unknown-linux-android-gcc... aarch64-unknown-linux-android-clang\nchecking whether the C compiler works... yes\nchecking for C compiler default output file name... a.out\nchecking for suffix of executables...\nchecking whether we are cross compiling... yes\nchecking for suffix of object files... o\nchecking whether the compiler supports GNU C... yes\nchecking whether aarch64-unknown-linux-android-clang accepts -g... yes\nchecking for aarch64-unknown-linux-android-clang option to enable C11 features... none needed\nchecking whether aarch64-unknown-linux-android-clang understands -c and -o together... yes\nchecking dependency style of aarch64-unknown-linux-android-clang... none\nchecking whether the compiler supports GNU C++... yes\nchecking whether aarch64-unknown-linux-android-clang++ accepts -g... yes\nchecking for aarch64-unknown-linux-android-clang++ option to enable C++11 features... none needed\nchecking dependency style of aarch64-unknown-linux-android-clang++... none\nchecking whether ln -s works... yes\nchecking for stdio.h... yes\nchecking for stdlib.h... yes\nchecking for string.h... yes\nchecking for inttypes.h... yes\nchecking for stdint.h... yes\nchecking for strings.h... yes\nchecking for sys/stat.h... yes\nchecking for sys/types.h... yes\nchecking for unistd.h... yes\nchecking for wchar.h... yes\nchecking for minix/config.h... no\nchecking whether it is safe to define __EXTENSIONS__... yes\nchecking whether _XOPEN_SOURCE should be defined... no\nchecking for special C compiler options needed for large files... no\nchecking for _FILE_OFFSET_BITS value needed for large files... no\nchecking whether make supports nested variables... (cached) yes\nchecking build system type... x86_64-unknown-linux-gnu\nchecking host system type... aarch64-unknown-linux-android\nchecking how to print strings... printf\nchecking for a sed that does not truncate output... /nix/store/r19q2xb4qw4l9v13hi1zgjrw5sd5dg0x-gnused-4.8/bin/sed\nchecking for grep that handles long lines and -e... /nix/store/fbkni3i1sjfxnfld8f6dmrri1f0q5y6i-gnugrep-3.6/bin/grep\nchecking for egrep... /nix/store/fbkni3i1sjfxnfld8f6dmrri1f0q5y6i-gnugrep-3.6/bin/grep -E\nchecking for fgrep... /nix/store/fbkni3i1sjfxnfld8f6dmrri1f0q5y6i-gnugrep-3.6/bin/grep -F\nchecking for ld used by aarch64-unknown-linux-android-clang... aarch64-unknown-linux-android-ld\nchecking if the linker (aarch64-unknown-linux-android-ld) is GNU ld... no\nchecking for BSD- or MS-compatible name lister (nm)... no\nchecking for aarch64-unknown-linux-android-dumpbin... no\nchecking for aarch64-unknown-linux-android-link... no\nchecking for dumpbin... no\nchecking for link... link -dump\nchecking the name lister (nm) interface... BSD nm\nchecking the maximum length of command line arguments... 32768\nchecking how to convert x86_64-unknown-linux-gnu file names to aarch64-unknown-linux-android format... func_convert_file_noop\nchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop\nchecking for aarch64-unknown-linux-android-ld option to reload object files... -r\nchecking for aarch64-unknown-linux-android-objdump... no\nchecking for objdump... objdump\nchecking how to recognize dependent libraries... pass_all\nchecking for aarch64-unknown-linux-android-dlltool... no\nchecking for dlltool... no\nchecking how to associate runtime and link libraries... printf %s\\n\nchecking for aarch64-unknown-linux-android-ar... no\nchecking for ar... ar\nchecking for archiver @FILE support... @\nchecking for aarch64-unknown-linux-android-strip... strip\nchecking for aarch64-unknown-linux-android-ranlib... no\nchecking for ranlib... ranlib\nchecking command to parse nm output from aarch64-unknown-linux-android-clang object... ok\nchecking for sysroot... no\nchecking for a working dd... /nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/dd\nchecking how to truncate binary pipes... /nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/dd bs=4096 count=1\nchecking for aarch64-unknown-linux-android-mt... no\nchecking for mt... no\nchecking if : is a manifest tool... no\nchecking for dlfcn.h... yes\nchecking for objdir... .libs\nchecking if aarch64-unknown-linux-android-clang supports -fno-rtti -fno-exceptions... yes\nchecking for aarch64-unknown-linux-android-clang option to produce PIC... -fPIC -DPIC\nchecking if aarch64-unknown-linux-android-clang PIC flag -fPIC -DPIC works... yes\nchecking if aarch64-unknown-linux-android-clang static flag -static works... no\nchecking if aarch64-unknown-linux-android-clang supports -c -o file.o... yes\nchecking if aarch64-unknown-linux-android-clang supports -c -o file.o... (cached) yes\nchecking whether the aarch64-unknown-linux-android-clang linker (aarch64-unknown-linux-android-ld) supports shared libraries... yes\nchecking dynamic linker characteristics... Android linker\nchecking how to hardcode library paths into programs... immediate\nchecking whether stripping libraries is possible... yes\nchecking if libtool supports shared libraries... yes\nchecking whether to build shared libraries... yes\nchecking whether to build static libraries... no\nchecking how to run the C++ preprocessor... aarch64-unknown-linux-android-clang++ -E\nchecking for ld used by aarch64-unknown-linux-android-clang++... aarch64-unknown-linux-android-ld\nchecking if the linker (aarch64-unknown-linux-android-ld) is GNU ld... no\nchecking whether the aarch64-unknown-linux-android-clang++ linker (aarch64-unknown-linux-android-ld) supports shared libraries... yes\nchecking for aarch64-unknown-linux-android-clang++ option to produce PIC... -fPIC -DPIC\nchecking if aarch64-unknown-linux-android-clang++ PIC flag -fPIC -DPIC works... yes\nchecking if aarch64-unknown-linux-android-clang++ static flag -static works... no\nchecking if aarch64-unknown-linux-android-clang++ supports -c -o file.o... yes\nchecking if aarch64-unknown-linux-android-clang++ supports -c -o file.o... (cached) yes\nchecking whether the aarch64-unknown-linux-android-clang++ linker (aarch64-unknown-linux-android-ld) supports shared libraries... yes\nchecking dynamic linker characteristics... Android linker\nchecking how to hardcode library paths into programs... immediate\nchecking whether C compiler accepts \"-Wc99-c11-compat\"... yes\nchecking whether C compiler accepts \"-Werror=incompatible-pointer-types\"... yes\nchecking whether C compiler accepts \"-Werror=int-conversion\"... yes\nchecking whether C compiler accepts \"-Wnull-dereference\"... yes\nchecking for doxygen... no\nchecking pkg-config is at least version 0.9.0... yes\nchecking whether aarch64-unknown-linux-android-clang++ supports C++11 features with -std=c++11... yes\nchecking for protobuf... yes\nchecking for google/protobuf/compiler/command_line_interface.h... yes\nchecking for protoc... /nix/store/gjv4r2fay3yj0s2bnk8ahnmalyamj520-protobuf-3.14.0-aarch64-unknown-linux-android/bin/protoc\n./configure: line 18231: /nix/store/gjv4r2fay3yj0s2bnk8ahnmalyamj520-protobuf-3.14.0-aarch64-unknown-linux-android/bin/protoc: cannot execute binary file: Exec format error\nchecking if LD -Wl,--version-script works... yes\nchecking whether self tests are run under valgrind... no\nchecking whether to build with code coverage support... no\nchecking whether byte ordering is bigendian... no\nchecking that generated files are newer than configure... done\nconfigure: creating ./config.status\nconfig.status: creating Makefile\nconfig.status: creating protobuf-c/libprotobuf-c.pc\nconfig.status: creating config.h\nconfig.status: executing depfiles commands\nconfig.status: executing libtool commands\n\n    protobuf-c 1.3.3\n\n        CC:                     aarch64-unknown-linux-android-clang\n        CFLAGS:                 -g -O2\n        CXX:                    aarch64-unknown-linux-android-clang++ -std=c++11\n        CXXFLAGS:               -g -O2\n        LDFLAGS:\n        LIBS:\n\n        prefix:                 /nix/store/69f99x84q4dhg4ypgr3nhyj5xn0yqndb-protobuf-c-1.3.3-aarch64-unknown-linux-android\n        sysconfdir:             ${prefix}/etc\n        libdir:                 ${exec_prefix}/lib\n        includedir:             ${prefix}/include\n        pkgconfigdir:           ${libdir}/pkgconfig\n\n        bigendian:              no\n        protobuf version:\n\nbuilding\nbuild flags: SHELL=/nix/store/cwnwyy82wrq53820z6yg7869z8dl5s7g-bash-4.4-p23/bin/bash\nmake  all-am\nmake[1]: Entering directory '/tmp/nix-build-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv-10/source'\n  CXX      protoc-c/protoc_gen_c-c_bytes_field.o\n  CXX      protoc-c/protoc_gen_c-c_enum.o\n  CXX      protoc-c/protoc_gen_c-c_enum_field.o\n  CXX      protoc-c/protoc_gen_c-c_extension.o\n  CXX      protoc-c/protoc_gen_c-c_field.o\n  CXX      protoc-c/protoc_gen_c-c_file.o\n  CXX      protoc-c/protoc_gen_c-c_generator.o\n  CXX      protoc-c/protoc_gen_c-c_helpers.o\n  CXX      protoc-c/protoc_gen_c-c_message.o\n  CXX      protoc-c/protoc_gen_c-c_message_field.o\n  CXX      protoc-c/protoc_gen_c-c_primitive_field.o\n  CXX      protoc-c/protoc_gen_c-c_service.o\n  CXX      protoc-c/protoc_gen_c-c_string_field.o\n  CXX      protoc-c/protoc_gen_c-main.o\n  CXXLD    protoc-c/protoc-gen-c\n/nix/store/fq92hv78w2vh4hcm6bqbxqml4w78d5yy-ndk-toolchain-binutils/bin/aarch64-linux-android-ld: warning: libprotobuf.so, needed by /nix/store/gjv4r2fay3yj0s2bnk8ahnmalyamj520-protobuf-3.14.0-aarch64-unknown-linux-android/lib/libprotoc.so, not found (try using -rpath or -rpath-link)\n  CC       protobuf-c/protobuf-c.lo\nclang90: warning: -llog: 'linker' input unused [-Wunused-command-line-argument]\nclang90: warning: argument unused during compilation: '-L/nix/store/fq92hv78w2vh4hcm6bqbxqml4w78d5yy-ndk-toolchain-binutils/lib' [-Wunused-command-line-argument]\nwarning: unknown warning option '-Wc99-c11-compat' [-Wunknown-warning-option]\n1 warning generated.\n  CCLD     protobuf-c/libprotobuf-c.la\nmake[1]: Leaving directory '/tmp/nix-build-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv-10/source'\ninstalling\ninstall flags: SHELL=/nix/store/cwnwyy82wrq53820z6yg7869z8dl5s7g-bash-4.4-p23/bin/bash install\nmake  install-am\nmake[1]: Entering directory '/tmp/nix-build-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv-10/source'\nmake[2]: Entering directory '/tmp/nix-build-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv-10/source'\n /nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/mkdir -p '/nix/store/69f99x84q4dhg4ypgr3nhyj5xn0yqndb-protobuf-c-1.3.3-aarch64-unknown-linux-android/lib'\n /nix/store/cwnwyy82wrq53820z6yg7869z8dl5s7g-bash-4.4-p23/bin/bash ./libtool   --mode=install /nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/install -c   protobuf-c/libprotobuf-c.la '/nix/store/69f99x84q4dhg4ypgr3nhyj5xn0yqndb-protobuf-c-1.3.3-aarch64-unknown-linux-android/lib'\nlibtool: install: /nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/install -c protobuf-c/.libs/libprotobuf-c.so /nix/store/69f99x84q4dhg4ypgr3nhyj5xn0yqndb-protobuf-c-1.3.3-aarch64-unknown-linux-android/lib/libprotobuf-c.so\n/nix/store/0y7rv26ffa359wvqd3js94cn73z882fg-coreutils-8.32/bin/install: cannot stat 'protobuf-c/.libs/libprotobuf-c.so': No such file or directory\nmake[2]: *** [Makefile:1118: install-libLTLIBRARIES] Error 1\nmake[2]: Leaving directory '/tmp/nix-build-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv-10/source'\nmake[1]: *** [Makefile:2214: install-am] Error 2\nmake[1]: Leaving directory '/tmp/nix-build-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv-10/source'\nmake: *** [Makefile:2207: install] Error 2\nnote: keeping build directory '/tmp/nix-build-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv-10'\nbuilder for '/nix/store/jg5a83gcfq06ziz73dvfvb4w7fyqwxqx-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv' failed with exit code 2\nerror: build of '/nix/store/jg5a83gcfq06ziz73dvfvb4w7fyqwxqx-protobuf-c-1.3.3-aarch64-unknown-linux-android.drv' failed\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/vmkqeCU4","modified":1612692425,"id":"vmkqeCU4","size":15150,"lines":242,"own_paste":false,"theme":"","date":1612692425}