* Package: sys-devel/bc-1.07.1-r3  * Repository: gentoo  * Maintainer: base-system@gentoo.org  * USE: abi_ppc_64 elibc_glibc kernel_linux libedit ppc64 userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bc-1.07.1.tar.gz to /var/tmp/portage/sys-devel/bc-1.07.1-r3/work >>> Source unpacked in /var/tmp/portage/sys-devel/bc-1.07.1-r3/work >>> Preparing source in /var/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 /var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1 ... ./configure --prefix=/usr --build=powerpc64-unknown-linux-gnu --host=powerpc64-unknown-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... /usr/lib/portage/python3.7/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 for powerpc64-unknown-linux-gnu-gcc... powerpc64-unknown-linux-gnu-gcc 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 powerpc64-unknown-linux-gnu-gcc accepts -g... yes checking for powerpc64-unknown-linux-gnu-gcc option to accept ISO C89... none needed checking whether powerpc64-unknown-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of powerpc64-unknown-linux-gnu-gcc... none checking how to run the C preprocessor... powerpc64-unknown-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 powerpc64-unknown-linux-gnu-ar... powerpc64-unknown-linux-gnu-ar checking the archiver (powerpc64-unknown-linux-gnu-ar) interface... ar checking for bison... bison -y checking for powerpc64-unknown-linux-gnu-ranlib... powerpc64-unknown-linux-gnu-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 /var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1 ... make -j1 AR=powerpc64-unknown-linux-gnu-ar make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1' Making all in lib make[2]: Entering directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/lib' powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o getopt.o getopt.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o getopt1.o getopt1.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o vfprintf.o vfprintf.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o number.o number.c rm -f libbc.a powerpc64-unknown-linux-gnu-ar cru libbc.a getopt.o getopt1.o vfprintf.o number.o powerpc64-unknown-linux-gnu-ranlib libbc.a make[2]: Leaving directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/lib' Making all in bc make[2]: Entering directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o main.o main.c main.c: In function ‘use_quit’: main.c:355:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 355 | write (1, "\n(interrupt) Exiting bc.\n", 26); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o bc.o bc.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o scan.o scan.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o execute.o execute.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o load.o load.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o storage.o storage.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o util.o util.c powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o warranty.o warranty.c echo '{0}' > libmath.h make global.o make[3]: Entering directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I./../h -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -c -o global.o global.c make[3]: Leaving directory '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1/bc' powerpc64-unknown-linux-gnu-gcc -O2 -mcpu=970 -pipe -Wall -funsigned-char -O2 -mcpu=970 -pipe -Wall -funsigned-char -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -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 ./fbc -c ./libmath.b libmath.h /bin/sh: line 1: 89 Segmentation fault (core dumped) ./fbc -c ./libmath.b < /dev/null > libmath.h make[2]: *** [Makefile:631: libmath.h] Error 139 make[2]: Leaving directory '/var/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 '/var/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 '/var/log/portage/build/sys-devel/bc-1.07.1-r3:20200822-155404.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/bc-1.07.1-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.07.1-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1' * S: '/var/tmp/portage/sys-devel/bc-1.07.1-r3/work/bc-1.07.1'