* Package: sci-mathematics/sage-clib-6.7  * Repository: sage-on-gentoo  * Maintainer: sci@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking sage-6.7.tar.gz to /var/tmp/portage/sci-mathematics/sage-clib-6.7/work >>> Source unpacked in /var/tmp/portage/sci-mathematics/sage-clib-6.7/work >>> Preparing source in /var/tmp/portage/sci-mathematics/sage-clib-6.7/work/sage-6.7/src/c_lib ... * Applying sage-clib-6.2-SConstruct.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-mathematics/sage-clib-6.7/work/sage-6.7/src/c_lib ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-mathematics/sage-clib-6.7/work/sage-6.7/src/c_lib ... >>> Source compiled. >>> Test phase [not enabled]: sci-mathematics/sage-clib-6.7 >>> Install sage-clib-6.7 into /var/tmp/portage/sci-mathematics/sage-clib-6.7/image/ category sci-mathematics scons -j1 install scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... Install file: "include/interrupt.h" as "/var/tmp/portage/sci-mathematics/sage-clib-6.7/image/usr/include/csage/interrupt.h" Install file: "include/ntl_wrap.h" as "/var/tmp/portage/sci-mathematics/sage-clib-6.7/image/usr/include/csage/ntl_wrap.h" gcc -o src/interrupt.os -c -march=native -O2 -pipe -fPIC -I/usr/include -I/usr/include/python2.7 -I/usr/include/NTL -Iinclude src/interrupt.c In file included from /usr/include/python2.7/Python.h:8:0, from include/interrupt.h:58, from src/interrupt.c:43: /usr/include/python2.7/pyconfig.h:1188:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L  ^ In file included from /usr/include/stdio.h:27:0, from src/interrupt.c:29: /usr/include/features.h:225:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L  ^ g++ -o src/ntl_wrap.os -c -march=native -O2 -pipe -fPIC -I/usr/include -I/usr/include/python2.7 -I/usr/include/NTL -Iinclude src/ntl_wrap.cpp In file included from /usr/include/python2.7/Python.h:8:0, from include/ntl_wrap.h:33, from src/ntl_wrap.cpp:5: /usr/include/python2.7/pyconfig.h:1188:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L  ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/x86_64-pc-linux-gnu/bits/os_defines.h:39:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:430, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/iostream:38, from src/ntl_wrap.cpp:1: /usr/include/features.h:225:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L  ^ In file included from /usr/include/python2.7/Python.h:8:0, from include/ntl_wrap.h:33, from src/ntl_wrap.cpp:5: /usr/include/python2.7/pyconfig.h:1210:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600  ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/x86_64-pc-linux-gnu/bits/os_defines.h:39:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:430, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/iostream:38, from src/ntl_wrap.cpp:1: /usr/include/features.h:166:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700  ^ src/ntl_wrap.cpp: In function ‘void setup_NTL_error_callback(void (*)(const char*, void*), void*)’: src/ntl_wrap.cpp:17:5: error: ‘SetErrorCallbackFunction’ is not a member of ‘NTL’ NTL::SetErrorCallbackFunction(function, context);  ^ scons: *** [src/ntl_wrap.os] Error 1 scons: building terminated because of errors. * ERROR: sci-mathematics/sage-clib-6.7::sage-on-gentoo failed (install phase): * escons failed. * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 2254: Called escons 'install' * environment, line 929: Called die * The specific snippet of code: * [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed."; * * If you need support, post the output of `emerge --info '=sci-mathematics/sage-clib-6.7::sage-on-gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-mathematics/sage-clib-6.7::sage-on-gentoo'`. * The complete build log is located at '/var/tmp/portage/sci-mathematics/sage-clib-6.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/sage-clib-6.7/temp/environment'. * Working directory: '/var/tmp/portage/sci-mathematics/sage-clib-6.7/work/sage-6.7/src/c_lib' * S: '/var/tmp/portage/sci-mathematics/sage-clib-6.7/work/sage-6.7/src/c_lib'