* Package: sci-mathematics/calc-2.12.5.4 * Repository: gentoo * Maintainer: sci-mathematics@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking calc-2.12.5.4.tar.bz2 to /var/tmp/portage/sci-mathematics/calc-2.12.5.4/work >>> Source unpacked in /var/tmp/portage/sci-mathematics/calc-2.12.5.4/work >>> Preparing source in /var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4 ... * Applying calc-2.12.5.4-as-needed.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4 ... make -j1 -j1 CC=x86_64-gentoo-linux-musl-gcc 'DEBUG=-O2 -pipe -march=native' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' CALCPAGER=/usr/bin/less USE_READLINE=-DUSE_READLINE 'READLINE_LIB=-lreadline -lhistory -lncurses -ltinfo -L"/var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4"/custom -lcustcalc' all forming have_unistd.h have_unistd.h formed forming have_stdlib.h have_stdlib.h formed gcc -DCALC_SRC -DCUSTOM -Wall -fPIC longbits.c -c rm -f longbits gcc -DCALC_SRC -DCUSTOM -Wall -fPIC longbits.o -o longbits forming longbits.h longbits.h formed forming align32.h align32.h formed forming have_string.h have_string.h formed forming args.h args.h formed forming calcerr.h calcerr.h formed forming conf.h conf.h formed gcc -DCALC_SRC -DCUSTOM -Wall -fPIC endian.c -c rm -f endian gcc -DCALC_SRC -DCUSTOM -Wall -fPIC endian.o -o endian forming endian_calc.h endian_calc.h formed forming have_fpos.h have_fpos.h formed forming have_posscl.h have_posscl.h formed forming have_fpos_pos.h have_fpos_pos.h formed forming have_offscl.h have_offscl.h formed forming fposval.h fposval.h formed forming have_const.h have_const.h formed forming have_memmv.h have_memmv.h formed forming have_newstr.h have_newstr.h formed forming have_times.h have_times.h formed forming have_uid_t.h have_uid_t.h formed forming terminal.h terminal.h formed forming have_ustat.h have_ustat.h formed forming have_getsid.h have_getsid.h formed forming have_getpgid.h have_getpgid.h formed forming have_gettime.h have_gettime.h formed forming have_getprid.h have_getprid.h formed forming have_urandom.h have_urandom.h formed forming have_rusage.h have_rusage.h formed forming have_strdup.h have_strdup.h formed forming have_unused.h have_unused.h formed forming calcerr.c calcerr.c formed rm -f custom/.all cd custom; make -f Makefile ALLOW_CUSTOM="-DCUSTOM" AR=ar AWK=awk BINDIR="/usr/bin" BLD_TYPE="calc-dynamic-only" CALC_INCDIR="/usr/include/calc" CALC_SHAREDIR="/usr/share/calc" CAT=cat CC="x86_64-gentoo-linux-musl-gcc" CCERR="" CCMISC="" CCOPT="-O2 -pipe -march=native" CCWARN="-Wall" CC_SHARE="-fPIC" CFLAGS="-DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.." CHMOD=chmod CMP=cmp CO=co COMMON_CFLAGS="-DCALC_SRC -DCUSTOM -Wall -I.." COMMON_LDFLAGS="" CP=cp CUSTOMCALDIR="/usr/share/calc/custom" CUSTOMHELPDIR="/usr/share/calc/custhelp" CUSTOMINCDIR="/usr/include/calc/custom" DEBUG="-O2 -pipe -march=native" DEFAULT_LIB_INSTALL_PATH="" FMT=fmt GREP=egrep HELPDIR="/usr/share/calc/help" ICFLAGS="-DCALC_SRC -DCUSTOM -Wall -fPIC -I.." ILDFLAGS="" INCDIR="/usr/include" LANG=C LCC="gcc" LDCONFIG=ldconfig LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" LD_SHARE="" LIBCUSTCALC_SHLIB="-shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 "-Wl,-soname,libcustcalc.so.2.12.5.4"" LIBDIR="/usr/lib" LN=ln MAKE=make MAKEDEPEND=makedepend MAKE_FILE=Makefile MKDIR=mkdir MV=mv PURIFY="" Q="@" RANLIB="ranlib" RM=rm RMDIR=rmdir SCRIPTDIR="/usr/bin/cscript" SED=sed SORT=sort T= TOP_MAKE_FILE=Makefile TOUCH=touch TRUE=true VERSION=2.12.5.4 target=Linux all make[1]: Entering directory '/var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4/custom' x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. -c -o custtbl.o custtbl.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. -c -o c_argv.o c_argv.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. -c -o c_devnull.o c_devnull.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. -c -o c_help.o c_help.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. c_sysinfo.c -c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. -c -o c_pzasusb8.o c_pzasusb8.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. -c -o c_pmodm127.o c_pmodm127.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -I.. -c -o c_register.o c_register.c x86_64-gentoo-linux-musl-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname,libcustcalc.so.2.12.5.4 custtbl.o c_argv.o c_devnull.o c_help.o c_sysinfo.o c_pzasusb8.o c_pmodm127.o c_register.o -o libcustcalc.so.2.12.5.4 echo '=-=-=-=-= custom/Makefile start of Makefile.simple rule =-=-=-=-=' =-=-=-=-= custom/Makefile start of Makefile.simple rule =-=-=-=-= echo '=-=-=-=-= custom/Makefile end of Makefile.simple rule =-=-=-=-=' =-=-=-=-= custom/Makefile end of Makefile.simple rule =-=-=-=-= rm -f .all touch .all make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4/custom' x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o addop.o addop.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o assocfunc.o assocfunc.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o blkcpy.o blkcpy.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o block.o block.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o byteswap.o byteswap.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o calcerr.o calcerr.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o codegen.o codegen.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o comfunc.o comfunc.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o commath.o commath.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o config.o config.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o const.o const.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -c -o custom.o custom.c x86_64-gentoo-linux-musl-gcc -DCALC_SRC -DCUSTOM -Wall -fPIC -O2 -pipe -march=native -Wno-error=long-long -Wno-long-long -c file.c In file included from file.c:47: file.c: In function 'filepos2z': fposval.h:15:86: error: 'FPOS_POS_LEN' undeclared (first use in this function); did you mean 'FILEPOS_LEN'? 15 | _FILEPOS(dest, src) memcpy((void *)(dest), (void *)(src), sizeof(FPOS_POS_LEN)) | ^~~~~~~~~~~~ file.c:1367:2: note: in expansion of macro 'SWAP_HALF_IN_FILEPOS' 1367 | SWAP_HALF_IN_FILEPOS(ret.v, &pos); | ^~~~~~~~~~~~~~~~~~~~ fposval.h:15:86: note: each undeclared identifier is reported only once for each function it appears in 15 | _FILEPOS(dest, src) memcpy((void *)(dest), (void *)(src), sizeof(FPOS_POS_LEN)) | ^~~~~~~~~~~~ file.c:1367:2: note: in expansion of macro 'SWAP_HALF_IN_FILEPOS' 1367 | SWAP_HALF_IN_FILEPOS(ret.v, &pos); | ^~~~~~~~~~~~~~~~~~~~ file.c: In function 'z2filepos': fposval.h:15:86: error: 'FPOS_POS_LEN' undeclared (first use in this function); did you mean 'FILEPOS_LEN'? 15 | _FILEPOS(dest, src) memcpy((void *)(dest), (void *)(src), sizeof(FPOS_POS_LEN)) | ^~~~~~~~~~~~ file.c:1445:2: note: in expansion of macro 'SWAP_HALF_IN_FILEPOS' 1445 | SWAP_HALF_IN_FILEPOS(&ret, &tmp); | ^~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:2177: file.o] Error 1 * ERROR: sci-mathematics/calc-2.12.5.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/calc-2.12.5.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/calc-2.12.5.4::gentoo'`. * The complete build log is located at '/var/log/portage/sci-mathematics:calc-2.12.5.4:20200416-105129.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/calc-2.12.5.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/calc-2.12.5.4/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4' * S: '/var/tmp/portage/sci-mathematics/calc-2.12.5.4/work/calc-2.12.5.4'