Running phase: unpackPhase unpacking source archive /nix/store/iaaimqcmmlgcwbvh0hf0j30iggvpfsm5-source source root is source Running phase: patchPhase Running phase: autoreconfPhase autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 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 autoreconf: running: /nix/store/7iq63vpgry5kwrsnid9wvm2bdpcdi72k-autoconf-2.72/bin/autoconf --force autoreconf: running: /nix/store/7iq63vpgry5kwrsnid9wvm2bdpcdi72k-autoconf-2.72/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:34: installing 'build-aux/ar-lib' configure.ac:34: installing 'build-aux/compile' configure.ac:191: installing 'build-aux/config.guess' configure.ac:191: installing 'build-aux/config.sub' configure.ac:19: installing 'build-aux/install-sh' configure.ac:19: installing 'build-aux/missing' src/lcalc/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: 'build-aux/install-sh' is updated autoreconf: Leaving directory '.' Running phase: 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 Running phase: configurePhase fixing libtool script ./build-aux/ltmain.sh ./configure patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/5wjj1f3pa1ndi3kvskm1fcs9kdy2xajf-bash-5.2p37/bin/sh" configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/rlji36dblxamhrciyx852b12zggsjg9k-lcalc-2.0.5 --with-pari checking for a BSD-compatible install... /nix/store/p9m0bsw49c5m6wnm3m4fs97yx5rxcmfj-coreutils-9.5/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /nix/store/p9m0bsw49c5m6wnm3m4fs97yx5rxcmfj-coreutils-9.5/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '353' is supported by ustar format... yes checking whether GID '350' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes 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... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of clang++... none checking for gcc... clang checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking the archiver (ar) interface... ar 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 getopt.h... yes checking for limits.h... yes checking for math.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for gengetopt... /nix/store/xm2fwjnqvkh98h66vv1mzvmgbniwv57j-gengetopt-2.23/bin/gengetopt checking for mkstemp... yes checking for size_t... yes checking for pari/pari.h... yes checking for ellglobalred in -lpari... yes checking build system type... aarch64-apple-darwin24.1.0 checking host system type... aarch64-apple-darwin24.1.0 checking how to print strings... printf checking for a sed that does not truncate output... /nix/store/dzbxz3pglzhwnz01475xqj6p8y0rdm78-gnused-4.9/bin/sed checking for grep that handles long lines and -e... /nix/store/1bdb707v8jph12q0b3rjqwn1xwjkynp2-gnugrep-3.11/bin/grep checking for egrep... /nix/store/1bdb707v8jph12q0b3rjqwn1xwjkynp2-gnugrep-3.11/bin/grep -E checking for fgrep... /nix/store/1bdb707v8jph12q0b3rjqwn1xwjkynp2-gnugrep-3.11/bin/grep -F checking for ld used by clang... ld checking if the linker (ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786432 checking how to convert aarch64-apple-darwin24.1.0 file names to aarch64-apple-darwin24.1.0 format... func_convert_file_noop checking how to convert aarch64-apple-darwin24.1.0 file names to toolchain format... func_convert_file_noop checking for ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse nm output from clang object... ok checking for sysroot... no checking for a working dd... /nix/store/p9m0bsw49c5m6wnm3m4fs97yx5rxcmfj-coreutils-9.5/bin/dd checking how to truncate binary pipes... /nix/store/p9m0bsw49c5m6wnm3m4fs97yx5rxcmfj-coreutils-9.5/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... no checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fno-common -DPIC checking if clang PIC flag -fno-common -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (ld) supports shared libraries... yes checking dynamic linker characteristics... darwin24.1.0 dyld 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... clang++ -E checking for ld used by clang++... ld checking if the linker (ld) is GNU ld... no checking whether the clang++ linker (ld) supports shared libraries... yes checking for clang++ option to produce PIC... -fno-common -DPIC checking if clang++ PIC flag -fno-common -DPIC works... yes checking if clang++ static flag -static works... no checking if clang++ supports -c -o file.o... yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (ld) supports shared libraries... yes checking dynamic linker characteristics... darwin24.1.0 dyld checking how to hardcode library paths into programs... immediate checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating lcalc.pc config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/examples/Makefile config.status: creating doc/examples/data/Makefile config.status: creating doc/man1/lcalc.1 config.status: creating src/libLfunction/Makefile config.status: creating src/lcalc/Lcommandline.ggo config.status: creating src/lcalc/Makefile config.status: creating tests/Makefile config.status: creating tests/lib/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands Running phase: buildPhase build flags: SHELL=/nix/store/5wjj1f3pa1ndi3kvskm1fcs9kdy2xajf-bash-5.2p37/bin/bash Making all in doc make[1]: Entering directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc' Making all in examples make[2]: Entering directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc/examples' Making all in data make[3]: Entering directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc/examples/data' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc/examples/data' make[3]: Entering directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc/examples' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc/examples' make[2]: Leaving directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc/examples' make[2]: Entering directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc' make[1]: Leaving directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/doc' Making all in src/libLfunction make[1]: Entering directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/src/libLfunction' /nix/store/5wjj1f3pa1ndi3kvskm1fcs9kdy2xajf-bash-5.2p37/bin/bash ../../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I../../src -g -O2 -c -o Ldokchitser.lo Ldokchitser.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I../../src -g -O2 -c Ldokchitser.cc -fno-common -DPIC -o .libs/Ldokchitser.o In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:63:20: error: reference to 'complex' is ambiguous 63 | template<> class complex; | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:64:20: error: reference to 'complex' is ambiguous 64 | template<> class complex; | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:65:20: error: reference to 'complex' is ambiguous 65 | template<> class complex; | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:67:40: error: reference to 'complex' is ambiguous 67 | template _Tp abs(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:68:40: error: reference to 'complex' is ambiguous 68 | template _Tp arg(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:69:41: error: reference to 'complex' is ambiguous 69 | template _Tp norm(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:71:26: error: reference to 'complex' is ambiguous 71 | template complex<_Tp> conj(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:71:50: error: reference to 'complex' is ambiguous 71 | template complex<_Tp> conj(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:72:26: error: reference to 'complex' is ambiguous 72 | template complex<_Tp> polar(const _Tp&, const _Tp& = 0); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:75:26: error: reference to 'complex' is ambiguous 75 | template complex<_Tp> cos(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:75:49: error: reference to 'complex' is ambiguous 75 | template complex<_Tp> cos(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:76:26: error: reference to 'complex' is ambiguous 76 | template complex<_Tp> cosh(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:76:50: error: reference to 'complex' is ambiguous 76 | template complex<_Tp> cosh(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:77:26: error: reference to 'complex' is ambiguous 77 | template complex<_Tp> exp(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:77:49: error: reference to 'complex' is ambiguous 77 | template complex<_Tp> exp(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:78:26: error: reference to 'complex' is ambiguous 78 | template complex<_Tp> log(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:78:49: error: reference to 'complex' is ambiguous 78 | template complex<_Tp> log(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:79:26: error: reference to 'complex' is ambiguous 79 | template complex<_Tp> log10(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ In file included from Ldokchitser.cc:1: In file included from ./L.h:43: In file included from ./Lglobals.h:55: ./Lcomplex.h:79:51: error: reference to 'complex' is ambiguous 79 | template complex<_Tp> log10(const complex<_Tp>&); | ^ ./Lcomplex.h:62:32: note: candidate found by name lookup is 'std::complex' 62 | template class complex; | ^ /nix/store/0nhi47d5ip48wprxnava6vv973zzzndf-libcxx-19.1.5-dev/include/c++/v1/__fwd/complex.h:22:28: note: candidate found by name lookup is 'std::__1::complex' 22 | class _LIBCPP_TEMPLATE_VIS complex; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [Makefile:519: Ldokchitser.lo] Error 1 make[1]: Leaving directory '/private/tmp/nix-build-lcalc-2.0.5.drv-0/source/src/libLfunction' make: *** [Makefile:477: all-recursive] Error 1