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