* Package: sci-mathematics/calc-2.13.0.1:0 * Repository: gentoo * Maintainer: sci-mathematics@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking calc-2.13.0.1.tar.bz2 to /var/tmp/portage/sci-mathematics/calc-2.13.0.1/work >>> Source unpacked in /var/tmp/portage/sci-mathematics/calc-2.13.0.1/work >>> Preparing source in /var/tmp/portage/sci-mathematics/calc-2.13.0.1/work/calc-2.13.0.1 ... * Applying calc-2.13.0.1-RPATH.patch ... [ ok ] * Applying calc-2.13.0.1-respect-LDFLAGS.patch ... patching file Makefile patching file Makefile.simple patching file custom/Makefile patching file Makefile patching file custom/Makefile patching file custom/Makefile.simple patching file custom/Makefile.tail [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-mathematics/calc-2.13.0.1/work/calc-2.13.0.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-mathematics/calc-2.13.0.1/work/calc-2.13.0.1 ... make -j4 -j1 CC=x86_64-pc-linux-gnu-gcc 'DEBUG=-O2 -pipe -march=native -fno-diagnostics-color' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'EXTRA_LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' CALCPAGER=cat USE_READLINE=-DUSE_READLINE 'READLINE_LIB=-lreadline -lhistory -lncurses -ltinfo -L"/var/tmp/portage/sci-mathematics/calc-2.13.0.1/work/calc-2.13.0.1"/custom -lcustcalc' all forming have_ban_pragma.h have_ban_pragma.h formed forming have_memmv.h have_memmv.h formed forming calcerr.h calcerr.h formed forming have_stdlib.h have_stdlib.h formed forming have_unistd.h have_unistd.h formed forming endian_calc.h endian_calc.h formed forming longbits.h longbits.h formed forming have_string.h have_string.h formed forming have_const.h have_const.h formed forming have_newstr.h have_newstr.h formed x86_64-pc-linux-gnu-gcc -DCALC_SRC -DCUSTOM -Wall -march=native -UUNBAN -fPIC -O2 -pipe -march=native -fno-diagnostics-color -c -o size.o size.c x86_64-pc-linux-gnu-gcc -DCALC_SRC -DCUSTOM -Wall -march=native -UUNBAN -fPIC -O2 -pipe -march=native -fno-diagnostics-color -c -o zmath.o zmath.c In file included from zmath.c:30: alloc.h:88:7: error: expected ';' before 'void' 88 | E_FUNC void *memmove(void *s1, CONST void *s2, MEMMOVE_SIZE_T n); | ^~~~~ | ; alloc.h:88:32: error: unknown type name 'CONST' 88 | E_FUNC void *memmove(void *s1, CONST void *s2, MEMMOVE_SIZE_T n); | ^~~~~ make: *** [: zmath.o] Error 1 shuffle=1326917813 * ERROR: sci-mathematics/calc-2.13.0.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-mathematics/calc-2.13.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/calc-2.13.0.1::gentoo'`. * The complete build log is located at '/var/log/portage/sci-mathematics:calc-2.13.0.1:20231121-194229.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/calc-2.13.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/calc-2.13.0.1/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/calc-2.13.0.1/work/calc-2.13.0.1' * S: '/var/tmp/portage/sci-mathematics/calc-2.13.0.1/work/calc-2.13.0.1'