emerge -1 numpy Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/numpy-1.14.5::gentoo * numpy-1.14.5.zip BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking numpy-1.14.5.zip to /var/tmp/portage/dev-python/numpy-1.14.5/work >>> Source unpacked in /var/tmp/portage/dev-python/numpy-1.14.5/work >>> Preparing source in /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5 ... * Applying numpy-1.14.5-no-hardcode-blas.patch ... [ ok ] * Applying numpy-1.14.5-py37.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5 ... * python2_7: running distutils-r1_run_phase python_compile python2.7 setup.py build -j 12 Running from numpy source directory. blas_opt_info: system_info: NOT AVAILABLE /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/system_info.py:603: UserWarning: Atlas (http://math-atlas.sourceforge.net/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS environment variable. self.calc_info() blas_info: Disabled blas_info: (BLAS is None) customize UnixCCompiler libraries blas not found in [] NOT AVAILABLE /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/system_info.py:603: UserWarning: Blas (http://www.netlib.org/blas/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [blas]) or by setting the BLAS environment variable. self.calc_info() blas_src_info: NOT AVAILABLE /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/system_info.py:603: UserWarning: Blas (http://www.netlib.org/blas/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [blas_src]) or by setting the BLAS_SRC environment variable. self.calc_info() NOT AVAILABLE /bin/sh: svnversion: command not found /bin/sh: svnversion: command not found non-existing path in 'numpy/distutils': 'site.cfg' F2PY Version 2 lapack_opt_info: lapack_info: Disabled lapack_info: (LAPACK is None) customize UnixCCompiler libraries lapack not found in [] NOT AVAILABLE /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/system_info.py:603: UserWarning: Lapack (http://www.netlib.org/lapack/) libraries not found. Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [lapack]) or by setting the LAPACK environment variable. self.calc_info() lapack_src_info: NOT AVAILABLE /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/system_info.py:603: UserWarning: Lapack (http://www.netlib.org/lapack/) sources not found. Directories to search for the sources can be specified in the numpy/distutils/site.cfg file (section [lapack_src]) or by setting the LAPACK_SRC environment variable. self.calc_info() NOT AVAILABLE /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building py_modules sources creating /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5-python2_7/src.linux-x86_64-2.7 creating /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5-python2_7/src.linux-x86_64-2.7/numpy creating /var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5-python2_7/src.linux-x86_64-2.7/numpy/distutils building library "npymath" sources get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']' customize Gnu95FCompiler Found executable /usr/bin/gfortran Could not locate executable x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -mtune=native -shared Found executable /usr/bin/x86_64-pc-linux-gnu-ar customize IntelFCompiler Could not locate executable ifort Could not locate executable ifc customize LaheyFCompiler Could not locate executable lf95 customize PGroupFCompiler Could not locate executable pgfortran customize AbsoftFCompiler Could not locate executable f90 Could not locate executable f77 customize NAGFCompiler Could not locate executable f95 customize VastFCompiler customize CompaqFCompiler Could not locate executable fort customize IntelItaniumFCompiler Could not locate executable efort Could not locate executable efc customize IntelEM64TFCompiler customize GnuFCompiler Could not locate executable g77 customize G95FCompiler Could not locate executable g95 customize PathScaleFCompiler Could not locate executable pathf95 customize NAGFORCompiler Could not locate executable nagfor don't know how to compile Fortran code on platform 'posix' C compiler: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -mtune=native -O2 -pipe -march=native -mtune=native -fno-strict-aliasing -fPIC compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python2.7 -c' x86_64-pc-linux-gnu-gcc: _configtest.c failure. removing: _configtest.c _configtest.o Traceback (most recent call last): File "setup.py", line 394, in setup_package() File "setup.py", line 386, in setup_package setup(**metadata) File "/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/usr/lib64/python2.7/site-packages/setuptools/__init__.py", line 131, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/command/build.py", line 47, in run old_build.run(self) File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/command/build_src.py", line 148, in run self.build_sources() File "/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/command/build_src.py", line 159, in build_sources self.build_library_sources(*libname_info) File "/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/command/build_src.py", line 294, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5/numpy/distutils/command/build_src.py", line 377, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 675, in get_mathlib_info raise RuntimeError("Broken toolchain: cannot link a simple C program") RuntimeError: Broken toolchain: cannot link a simple C program * ERROR: dev-python/numpy-1.14.5::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 4140: Called distutils-r1_src_compile * environment, line 1187: Called _distutils-r1_run_foreach_impl 'python_compile' * environment, line 362: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile' * environment, line 3559: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2715: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2713: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile' * environment, line 826: Called distutils-r1_run_phase 'python_compile' * environment, line 1180: Called python_compile * environment, line 3145: Called distutils-r1_python_compile '-j' '12' * environment, line 1055: Called esetup.py 'build' '-j' '12' * environment, line 1734: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/numpy-1.14.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/numpy-1.14.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/numpy-1.14.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/numpy-1.14.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5' * S: '/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5' >>> Failed to emerge dev-python/numpy-1.14.5, Log file: >>> '/var/tmp/portage/dev-python/numpy-1.14.5/temp/build.log' * Messages for package dev-python/numpy-1.14.5: * ERROR: dev-python/numpy-1.14.5::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 4140: Called distutils-r1_src_compile * environment, line 1187: Called _distutils-r1_run_foreach_impl 'python_compile' * environment, line 362: Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile' * environment, line 3559: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2715: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile' * environment, line 2713: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile' * environment, line 826: Called distutils-r1_run_phase 'python_compile' * environment, line 1180: Called python_compile * environment, line 3145: Called distutils-r1_python_compile '-j' '12' * environment, line 1055: Called esetup.py 'build' '-j' '12' * environment, line 1734: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/numpy-1.14.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/numpy-1.14.5::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/numpy-1.14.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/numpy-1.14.5/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5' * S: '/var/tmp/portage/dev-python/numpy-1.14.5/work/numpy-1.14.5'