* Package: sys-devel/bc-1.07.1-r3  * Repository: gentoo  * Maintainer: base-system@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libedit userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox  * Package: sys-devel/bc-1.07.1-r3  * Repository: gentoo  * Maintainer: base-system@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux libedit userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking bc-1.07.1.tar.gz to /etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work >>> Source unpacked in /etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work >>> Preparing source in /etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1 ... * Applying bc-1.07.1-no-ed-its-sed.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1 ... ./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/bc-1.07.1-r3 --htmldir=/usr/share/doc/bc-1.07.1-r3/html --libdir=/usr/lib64 --without-readline --with-libedit checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... 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... 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 clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of clang... none checking how to run the C preprocessor... clang-cpp checking for grep that handles long lines and -e... /usr/sbin/grep checking for egrep... /usr/sbin/grep -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for x86_64-pc-linux-gnu-ar... llvm-ar checking the archiver (llvm-ar) interface... ar checking for bison... bison -y checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking whether make sets $(MAKE)... (cached) yes checking for stdarg.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for errno.h... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for lib.h... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ptrdiff_t... yes checking for vprintf... yes checking for _doprnt... no checking for isgraph... yes checking for setvbuf... yes checking for fstat... yes checking for strtol... yes checking for tgetent in -ltermcap... no checking for el_gets in -ledit... yes checking histedit.h usability... yes checking histedit.h presence... yes checking for histedit.h... yes Using the libedit library. Adding GCC specific compile flags. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating bc/Makefile config.status: creating dc/Makefile config.status: creating lib/Makefile config.status: creating doc/Makefile config.status: creating doc/texi-ver.incl config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1 ... make -j28 -l28 AR=llvm-ar make all-recursive make[1]: Entering directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1' Making all in lib make[2]: Entering directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/lib' clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o getopt.o getopt.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o getopt1.o getopt1.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o vfprintf.o vfprintf.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o number.o number.c rm -f libbc.a llvm-ar cru libbc.a getopt.o getopt1.o vfprintf.o number.o llvm-ranlib libbc.a make[2]: Leaving directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/lib' Making all in bc make[2]: Entering directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o main.o main.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o bc.o bc.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o scan.o scan.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o execute.o execute.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o load.o load.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o storage.o storage.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o util.o util.c clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o warranty.o warranty.c echo '{0}' > libmath.h make global.o make[3]: Entering directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' clang -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -U_FORTIFY_SOURCE -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -c -o global.o global.c make[3]: Leaving directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' clang -march=native -O3 -pipe -Wall -funsigned-char -march=native -O3 -pipe -Wall -funsigned-char -o libmath.h -o fbc main.o bc.o scan.o execute.o load.o storage.o util.o warranty.o global.o ../lib/libbc.a -lfl -ledit ld.lld: error: duplicate symbol: edit >>> defined at main.c >>> main.o:(edit) >>> defined at bc.c >>> bc.o:(.bss+0x10) ld.lld: error: duplicate symbol: hist >>> defined at main.c >>> main.o:(hist) >>> defined at bc.c >>> bc.o:(.bss+0x18) ld.lld: error: duplicate symbol: histev >>> defined at main.c >>> main.o:(histev) >>> defined at bc.c >>> bc.o:(.bss+0x20) ld.lld: error: duplicate symbol: edit >>> defined at main.c >>> main.o:(edit) >>> defined at scan.c >>> scan.o:(.bss+0x60) ld.lld: error: duplicate symbol: hist >>> defined at main.c >>> main.o:(hist) >>> defined at scan.c >>> scan.o:(.bss+0x68) ld.lld: error: duplicate symbol: histev >>> defined at main.c >>> main.o:(histev) >>> defined at scan.c >>> scan.o:(.bss+0x70) ld.lld: error: duplicate symbol: edit >>> defined at main.c >>> main.o:(edit) >>> defined at execute.c >>> execute.o:(.bss+0x8) ld.lld: error: duplicate symbol: hist >>> defined at main.c >>> main.o:(hist) >>> defined at execute.c >>> execute.o:(.bss+0x10) ld.lld: error: duplicate symbol: histev >>> defined at main.c >>> main.o:(histev) >>> defined at execute.c >>> execute.o:(.bss+0x18) ld.lld: error: duplicate symbol: edit >>> defined at main.c >>> main.o:(edit) >>> defined at load.c >>> load.o:(.bss+0x18) ld.lld: error: duplicate symbol: hist >>> defined at main.c >>> main.o:(hist) >>> defined at load.c >>> load.o:(.bss+0x20) ld.lld: error: duplicate symbol: histev >>> defined at main.c >>> main.o:(histev) >>> defined at load.c >>> load.o:(.bss+0x28) ld.lld: error: duplicate symbol: hist >>> defined at main.c >>> main.o:(hist) >>> defined at storage.c >>> storage.o:(.bss+0x0) ld.lld: error: duplicate symbol: histev >>> defined at main.c >>> main.o:(histev) >>> defined at storage.c >>> storage.o:(.bss+0x8) ld.lld: error: duplicate symbol: edit >>> defined at main.c >>> main.o:(edit) >>> defined at storage.c >>> storage.o:(.bss+0x18) ld.lld: error: duplicate symbol: edit >>> defined at main.c >>> main.o:(edit) >>> defined at util.c >>> util.o:(.bss+0x10) ld.lld: error: duplicate symbol: hist >>> defined at main.c >>> main.o:(hist) >>> defined at util.c >>> util.o:(.bss+0x18) ld.lld: error: duplicate symbol: histev >>> defined at main.c >>> main.o:(histev) >>> defined at util.c >>> util.o:(.bss+0x20) ld.lld: error: duplicate symbol: edit >>> defined at main.c >>> main.o:(edit) >>> defined at warranty.c >>> warranty.o:(.bss+0x0) ld.lld: error: duplicate symbol: hist >>> defined at main.c >>> main.o:(hist) >>> defined at warranty.c >>> warranty.o:(.bss+0x8) ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) clang-13: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [Makefile:630: libmath.h] Error 1 make[2]: Leaving directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' make[1]: *** [Makefile:357: all-recursive] Error 1 make[1]: Leaving directory '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1' make: *** [Makefile:297: all] Error 2 * ERROR: sys-devel/bc-1.07.1-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-devel/bc-1.07.1-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.07.1-r3::gentoo'`. * The complete build log is located at '/etc/portage/package.log/build/sys-devel/bc-1.07.1-r3:20220225-015320.log'. * For convenience, a symlink to the build log is located at '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/temp/build.log'. * The ebuild environment file is located at '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/temp/environment'. * Working directory: '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1' * S: '/etc/portage/package.tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1'