* Package: sci-mathematics/nestedsums-1.5.2-r1:0 * Repository: gentoo * Maintainer: grozin@gentoo.org sci-mathematics@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nestedsums-1.5.2.tar.gz to /var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work >>> Source unpacked in /var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work >>> Preparing source in /var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2 ... >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2 ... * econf: updating nestedsums-1.5.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nestedsums-1.5.2/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/nestedsums-1.5.2-r1 --htmldir=/usr/share/doc/nestedsums-1.5.2-r1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... 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 we are using the GNU C++ compiler... yes checking whether clang++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of clang++... none checking how to run the C++ preprocessor... clang++ -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for x86_64-pc-linux-gnu-gcc... clang checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... ld.lld checking if the linker (ld.lld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... llvm-nm checking the name lister (llvm-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for ld.lld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... llvm-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... llvm-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... llvm-strip checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking command to parse llvm-nm output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... clang-cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... 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... -fPIC -DPIC checking if clang PIC flag -fPIC -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.lld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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.lld -m elf_x86_64 checking if the linker (ld.lld -m elf_x86_64) is GNU ld... yes checking whether the clang++ linker (ld.lld -m elf_x86_64) supports shared libraries... yes checking for clang++ option to produce PIC... -fPIC -DPIC checking if clang++ PIC flag -fPIC -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.lld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of long double... 16 checking size of void *... 8 checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GINACLIB... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating nestedsums-config config.status: creating nestedsums.spec config.status: creating nestedsums/Makefile config.status: creating nestedsums/nestedsums.h config.status: creating nestedsums/version.h config.status: creating checks/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/temp/clang16-errors.log' -> '/var/tmp/clang/sci-mathematics/nestedsums-1.5.2-r1/clang16-errors.log' '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/temp/clang16-safe.log' -> '/var/tmp/clang/sci-mathematics/nestedsums-1.5.2-r1/clang16-safe.log' >>> Compiling source in /var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2' Making all in nestedsums make[2]: Entering directory '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2/nestedsums' /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c -o root_of_unity.lo root_of_unity.cc /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c -o basic_letter.lo basic_letter.cc /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c -o letter.lo letter.cc /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c -o unit_letter.lo unit_letter.cc libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c basic_letter.cc -fPIC -DPIC -o .libs/basic_letter.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c root_of_unity.cc -fPIC -DPIC -o .libs/root_of_unity.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c letter.cc -fPIC -DPIC -o .libs/letter.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -O3 -pipe -march=native -fno-diagnostics-color -std=c++14 -c unit_letter.cc -fPIC -DPIC -o .libs/unit_letter.o basic_letter.cc:403:36: error: call to 'pow' is ambiguous 403 | res += binomial(m1+m2-k-1,m2-1)*pow(-1,m1-k)*pow(c2-c1,-m1-m2+k) | ^~~ /usr/include/c++/v1/math.h:848:1: note: candidate function [with _A1 = int, _A2 = int] 848 | pow(_A1 __x, _A2 __y) _NOEXCEPT | ^ /usr/include/ginac/power.h:121:11: note: candidate function [with T1 = int, T2 = int] 121 | inline ex pow(const T1 & b, const T2 & e) | ^ basic_letter.cc:407:36: error: call to 'pow' is ambiguous 407 | res += binomial(m1+m2-k-1,m1-1)*pow(-1,m1)*pow(c2-c1,-m1-m2+k) | ^~~ /usr/include/c++/v1/math.h:848:1: note: candidate function [with _A1 = int, _A2 = int] 848 | pow(_A1 __x, _A2 __y) _NOEXCEPT | ^ /usr/include/ginac/power.h:121:11: note: candidate function [with T1 = int, T2 = int] 121 | inline ex pow(const T1 & b, const T2 & e) | ^ 2 errors generated. make[2]: *** [Makefile:583: basic_letter.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2/nestedsums' make[1]: *** [Makefile:515: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2' make: *** [Makefile:387: all] Error 2 * ERROR: sci-mathematics/nestedsums-1.5.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/nestedsums-1.5.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/nestedsums-1.5.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sci-mathematics:nestedsums-1.5.2-r1:20231211-181639.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2' * S: '/var/tmp/portage/sci-mathematics/nestedsums-1.5.2-r1/work/nestedsums-1.5.2'