Skip to content

Instantly share code, notes, and snippets.

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 jdelStrother/fff35a29e05f4df49d43a89961ea91a7 to your computer and use it in GitHub Desktop.
Save jdelStrother/fff35a29e05f4df49d43a89961ea91a7 to your computer and use it in GitHub Desktop.
$ nix build --keep-failed --print-build-logs --argstr system aarch64-darwin -f . rpcsvc-proto
rpcsvc-proto> unpacking sources
rpcsvc-proto> unpacking source archive /nix/store/yrkh3121l2w45xjxgvyvz96dk8mqgn6h-source
rpcsvc-proto> source root is source
rpcsvc-proto> patching sources
rpcsvc-proto> autoreconfPhase
rpcsvc-proto> autoreconf: export WARNINGS=
rpcsvc-proto> autoreconf: Entering directory '.'
rpcsvc-proto> autoreconf: running: autopoint --force
rpcsvc-proto> autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION
rpcsvc-proto> Copying file ABOUT-NLS
rpcsvc-proto> Copying file config.rpath
rpcsvc-proto> Creating directory m4
rpcsvc-proto> Copying file m4/gettext.m4
rpcsvc-proto> Copying file m4/host-cpu-c-abi.m4
rpcsvc-proto> Copying file m4/iconv.m4
rpcsvc-proto> Copying file m4/intlmacosx.m4
rpcsvc-proto> Copying file m4/lib-ld.m4
rpcsvc-proto> Copying file m4/lib-link.m4
rpcsvc-proto> Copying file m4/lib-prefix.m4
rpcsvc-proto> Copying file m4/nls.m4
rpcsvc-proto> Copying file m4/po.m4
rpcsvc-proto> Copying file m4/progtest.m4
rpcsvc-proto> Copying file po/Makefile.in.in
rpcsvc-proto> Copying file po/Makevars.template
rpcsvc-proto> Copying file po/Rules-quot
rpcsvc-proto> Copying file po/en@boldquot.header
rpcsvc-proto> Copying file po/en@quot.header
rpcsvc-proto> Copying file po/insert-header.sin
rpcsvc-proto> Copying file po/remove-potcdate.sin
rpcsvc-proto> autoreconf: running: aclocal --force -I m4
rpcsvc-proto> autoreconf: configure.ac: tracing
rpcsvc-proto> autoreconf: configure.ac: not using Libtool
rpcsvc-proto> autoreconf: configure.ac: not using Intltool
rpcsvc-proto> autoreconf: configure.ac: not using Gtkdoc
rpcsvc-proto> autoreconf: running: /nix/store/wv3c5hcnf9mry42wn365pr8xb8cy023b-autoconf-2.71/bin/autoconf --force
rpcsvc-proto> configure.ac:5: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
rpcsvc-proto> configure.ac:5: You should use the 'AC_CONFIG_HEADERS' macro instead.
rpcsvc-proto> ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
rpcsvc-proto> aclocal.m4:727: AM_CONFIG_HEADER is expanded from...
rpcsvc-proto> configure.ac:5: the top level
rpcsvc-proto> configure.ac:12: warning: The macro `AC_GNU_SOURCE' is obsolete.
rpcsvc-proto> configure.ac:12: You should run autoupdate.
rpcsvc-proto> ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from...
rpcsvc-proto> configure.ac:12: the top level
rpcsvc-proto> configure.ac:15: warning: The macro `AC_ISC_POSIX' is obsolete.
rpcsvc-proto> configure.ac:15: You should run autoupdate.
rpcsvc-proto> ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from...
rpcsvc-proto> configure.ac:15: the top level
rpcsvc-proto> configure.ac:25: warning: AC_OUTPUT should be used without arguments.
rpcsvc-proto> configure.ac:25: You should run autoupdate.
rpcsvc-proto> autoreconf: running: /nix/store/wv3c5hcnf9mry42wn365pr8xb8cy023b-autoconf-2.71/bin/autoheader --force
rpcsvc-proto> autoreconf: running: automake --add-missing --copy --force-missing
rpcsvc-proto> configure.ac:11: installing './compile'
rpcsvc-proto> configure.ac:19: installing './config.guess'
rpcsvc-proto> configure.ac:19: installing './config.sub'
rpcsvc-proto> configure.ac:3: installing './install-sh'
rpcsvc-proto> configure.ac:3: installing './missing'
rpcsvc-proto> Makefile.am: installing './INSTALL'
rpcsvc-proto> rpcgen/Makefile.am: installing './depcomp'
rpcsvc-proto> rpcsvc/Makefile.am:14: warning: '%'-style pattern rules are a GNU make extension
rpcsvc-proto> autoreconf: Leaving directory '.'
rpcsvc-proto> updateAutotoolsGnuConfigScriptsPhase
rpcsvc-proto> Updating Autotools / GNU config script to a newer upstream version: ./config.sub
rpcsvc-proto> Updating Autotools / GNU config script to a newer upstream version: ./config.guess
rpcsvc-proto> configuring
rpcsvc-proto> configure flags: --disable-dependency-tracking --prefix=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2 --bindir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/bin --sbindir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/sbin --includedir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/include --oldincludedir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/include --mandir=/nix/store/vbj0wfisnm7jr2pz7s24w0z9b282gni3-rpcsvc-proto-1.4.2-man/share/man --infodir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/share/info --docdir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/share/doc/rpcsvc-proto --libdir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/lib --libexecdir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/libexec --localedir=/nix/store/zgz9z51cs2z1361aq5s7d9mfjw2ggikx-rpcsvc-proto-1.4.2/share/locale
rpcsvc-proto> checking for a BSD-compatible install... /nix/store/9j3llpmw53sb31f9hhc0vjsccs8pbnh8-coreutils-8.32/bin/install -c
rpcsvc-proto> checking whether build environment is sane... yes
rpcsvc-proto> checking for a race-free mkdir -p... /nix/store/9j3llpmw53sb31f9hhc0vjsccs8pbnh8-coreutils-8.32/bin/mkdir -p
rpcsvc-proto> checking for gawk... gawk
rpcsvc-proto> checking whether make sets $(MAKE)... yes
rpcsvc-proto> checking whether make supports nested variables... yes
rpcsvc-proto> checking for gcc... clang
rpcsvc-proto> checking whether the C compiler works... yes
rpcsvc-proto> checking for C compiler default output file name... a.out
rpcsvc-proto> checking for suffix of executables...
rpcsvc-proto> checking whether we are cross compiling... no
rpcsvc-proto> checking for suffix of object files... o
rpcsvc-proto> checking whether the compiler supports GNU C... yes
rpcsvc-proto> checking whether clang accepts -g... yes
rpcsvc-proto> checking for clang option to enable C11 features... none needed
rpcsvc-proto> checking whether clang understands -c and -o together... yes
rpcsvc-proto> checking whether make supports the include directive... yes (GNU style)
rpcsvc-proto> checking dependency style of clang... none
rpcsvc-proto> checking for stdio.h... yes
rpcsvc-proto> checking for stdlib.h... yes
rpcsvc-proto> checking for string.h... yes
rpcsvc-proto> checking for inttypes.h... yes
rpcsvc-proto> checking for stdint.h... yes
rpcsvc-proto> checking for strings.h... yes
rpcsvc-proto> checking for sys/stat.h... yes
rpcsvc-proto> checking for sys/types.h... yes
rpcsvc-proto> checking for unistd.h... yes
rpcsvc-proto> checking for wchar.h... yes
rpcsvc-proto> checking for minix/config.h... no
rpcsvc-proto> checking whether it is safe to define __EXTENSIONS__... yes
rpcsvc-proto> checking whether _XOPEN_SOURCE should be defined... no
rpcsvc-proto> checking how to run the C preprocessor... clang -E
rpcsvc-proto> checking for library containing strerror... none required
rpcsvc-proto> checking whether make sets $(MAKE)... (cached) yes
rpcsvc-proto> checking for a sed that does not truncate output... /nix/store/00379bxbss7ibanid1cj3k60pdp1r7zg-gnused-4.8/bin/sed
rpcsvc-proto> checking whether NLS is requested... yes
rpcsvc-proto> checking for msgfmt... /nix/store/c98p0c0mywd5dx606y3n5065bv02bvq8-gettext-0.21/bin/msgfmt
rpcsvc-proto> checking for gmsgfmt... /nix/store/c98p0c0mywd5dx606y3n5065bv02bvq8-gettext-0.21/bin/msgfmt
rpcsvc-proto> checking for xgettext... /nix/store/c98p0c0mywd5dx606y3n5065bv02bvq8-gettext-0.21/bin/xgettext
rpcsvc-proto> checking for msgmerge... /nix/store/c98p0c0mywd5dx606y3n5065bv02bvq8-gettext-0.21/bin/msgmerge
rpcsvc-proto> checking build system type... aarch64-apple-darwin20.3.0
rpcsvc-proto> checking host system type... aarch64-apple-darwin20.3.0
rpcsvc-proto> checking for ld... ld
rpcsvc-proto> checking if the linker (ld) is GNU ld... no
rpcsvc-proto> checking for shared library run path origin... done
rpcsvc-proto> checking 32-bit host C ABI... no
rpcsvc-proto> checking for grep that handles long lines and -e... /nix/store/p2km7rv857bvii0dq8j6ma0pvi1scwg8-gnugrep-3.6/bin/grep
rpcsvc-proto> checking for egrep... /nix/store/p2km7rv857bvii0dq8j6ma0pvi1scwg8-gnugrep-3.6/bin/grep -E
rpcsvc-proto> checking for ELF binary format... no
rpcsvc-proto> checking for the common suffixes of directories in the library search path... lib,lib,lib
rpcsvc-proto> checking for CFPreferencesCopyAppValue... yes
rpcsvc-proto> checking for CFLocaleCopyPreferredLanguages... yes
rpcsvc-proto> checking for GNU gettext in libc... yes
rpcsvc-proto> checking whether to use NLS... yes
rpcsvc-proto> checking where the gettext function comes from... libc
rpcsvc-proto> checking that generated files are newer than configure... done
rpcsvc-proto> configure: creating ./config.status
rpcsvc-proto> config.status: creating Makefile
rpcsvc-proto> config.status: creating rpcgen/Makefile
rpcsvc-proto> config.status: creating rpcsvc/Makefile
rpcsvc-proto> config.status: creating po/Makefile.in
rpcsvc-proto> config.status: creating config.h
rpcsvc-proto> config.status: executing depfiles commands
rpcsvc-proto> config.status: executing po-directories commands
rpcsvc-proto> config.status: creating po/POTFILES
rpcsvc-proto> config.status: creating po/Makefile
rpcsvc-proto> building
rpcsvc-proto> build flags: SHELL=/nix/store/zlqr0bsayqar9vy8jagh1cy8pn0w9ywz-bash-4.4-p23/bin/bash
rpcsvc-proto> make all-recursive
rpcsvc-proto> make[1]: Entering directory '/private/tmp/nix-build-rpcsvc-proto-1.4.2.drv-2/source'
rpcsvc-proto> Making all in rpcgen
rpcsvc-proto> make[2]: Entering directory '/private/tmp/nix-build-rpcsvc-proto-1.4.2.drv-2/source/rpcgen'
rpcsvc-proto> clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o rpc_clntout.o rpc_clntout.c
rpcsvc-proto> clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o rpc_cout.o rpc_cout.c
rpcsvc-proto> clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o rpc_hout.o rpc_hout.c
rpcsvc-proto> clang -DHAVE_CONFIG_H -I. -I.. -g -O2 -c -o rpc_main.o rpc_main.c
rpcsvc-proto> rpc_main.c:334:17: error: variable has incomplete type 'struct stat64'
rpcsvc-proto> struct stat64 buf;
rpcsvc-proto> ^
rpcsvc-proto> rpc_main.c:334:10: note: forward declaration of 'struct stat64'
rpcsvc-proto> struct stat64 buf;
rpcsvc-proto> ^
rpcsvc-proto> rpc_main.c:336:7: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration]
rpcsvc-proto> if (stat64 (CPP, &buf) == 0)
rpcsvc-proto> ^
rpcsvc-proto> rpc_main.c:1122:17: error: variable has incomplete type 'struct stat64'
rpcsvc-proto> struct stat64 buf;
rpcsvc-proto> ^
rpcsvc-proto> rpc_main.c:1122:10: note: forward declaration of 'struct stat64'
rpcsvc-proto> struct stat64 buf;
rpcsvc-proto> ^
rpcsvc-proto> rpc_main.c:1125:9: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration]
rpcsvc-proto> if (stat64 (infile, &buf) < 0)
rpcsvc-proto> ^
rpcsvc-proto> 2 warnings and 2 errors generated.
rpcsvc-proto> make[2]: *** [Makefile:442: rpc_main.o] Error 1
rpcsvc-proto> make[2]: Leaving directory '/private/tmp/nix-build-rpcsvc-proto-1.4.2.drv-2/source/rpcgen'
rpcsvc-proto> make[1]: *** [Makefile:394: all-recursive] Error 1
rpcsvc-proto> make[1]: Leaving directory '/private/tmp/nix-build-rpcsvc-proto-1.4.2.drv-2/source'
rpcsvc-proto> make: *** [Makefile:335: all] Error 2
note: keeping build directory '/private/tmp/nix-build-rpcsvc-proto-1.4.2.drv-2'
builder for '/nix/store/jfy5p3inls8qya7llcyvq7lljsmx867b-rpcsvc-proto-1.4.2.drv' failed with exit code 2; last 10 log lines:
^
rpc_main.c:1125:9: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration]
if (stat64 (infile, &buf) < 0)
^
2 warnings and 2 errors generated.
make[2]: *** [Makefile:442: rpc_main.o] Error 1
make[2]: Leaving directory '/private/tmp/nix-build-rpcsvc-proto-1.4.2.drv-2/source/rpcgen'
make[1]: *** [Makefile:394: all-recursive] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-rpcsvc-proto-1.4.2.drv-2/source'
make: *** [Makefile:335: all] Error 2
[0 built (1 failed)]
error: build of '/nix/store/jfy5p3inls8qya7llcyvq7lljsmx867b-rpcsvc-proto-1.4.2.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment