Hi,
There is no such file logs/pkgs/config.log. I tried to recompile with the option SAGE_INSTALL_GCC='yes', but I get the same error: real 43m24.500s user 238m40.314s sys 20m15.248s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all'): * package: numpy-1.13.3.p0 log file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log build directory: /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. make: *** [all] Error 1 Le jeudi 29 mars 2018 23:45:08 UTC+2, Dima Pasechnik a écrit : > > This looks like a gcc/gfortran problem. > Could you post also > > logs/pkgs/config.log ? > > You might consider forcing building gcc, see SAGE_INSTALL_GCC in > > http://doc.sagemath.org/html/en/installation/source.html#environment-variables > > > On Thursday, March 29, 2018 at 5:18:09 PM UTC+1, Paul Mercat wrote: >> >> Hello, >> >> I've tried to compile sage-8.1 on a linux server, and I get the following >> error: >> >> Error building Sage. >> >> The following package(s) may have failed to build (not necessarily >> during this run of 'make all'): >> >> * package: numpy-1.13.3.p0 >> log file: /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log >> build directory: >> /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 >> >> The build directory may contain configuration files and other potentially >> helpful information. WARNING: if you now run 'make' again, the build >> directory will, by default, be deleted. Set the environment variable >> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. >> >> make: *** [all] Error 1 >> >> How can I solve this problem ? >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Found local metadata for numpy-1.13.3.p0 Using cached file /home/paul.mercat/sage-8.1/upstream/numpy-1.13.3.zip numpy-1.13.3.p0 ==================================================== Setting up build directory for numpy-1.13.3.p0 Finished extraction Applying patches from ../patches... Applying ../patches/PEP_3141.patch patching file numpy/core/numeric.py Hunk #2 succeeded at 2155 with fuzz 2 (offset -7 lines). Applying ../patches/numpy-1.10.2-no-hardcode-blas.patch patching file numpy/distutils/system_info.py Hunk #1 succeeded at 1679 (offset -11 lines). Hunk #2 succeeded at 1712 (offset -10 lines). **************************************************** Host system: Linux signal.cmi.univ-mrs.fr 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) **************************************************** Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE blis_info: libraries blis not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_info: Disabled openblas_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_blas_threads_info: Disabled atlas_3_10_blas_threads_info: (PTATLAS is None) libraries tatlas not found in [] NOT AVAILABLE atlas_3_10_blas_info: Disabled atlas_3_10_blas_info: (ATLAS is None) libraries satlas not found in [] NOT AVAILABLE atlas_blas_threads_info: Disabled atlas_blas_threads_info: (PTATLAS is None) libraries ptf77blas,ptcblas,atlas not found in [] NOT AVAILABLE atlas_blas_info: Disabled atlas_blas_info: (ATLAS is None) libraries f77blas,cblas,atlas not found in [] NOT AVAILABLE /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/system_info.py:572: 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: customize UnixCCompiler C compiler: gcc -DNDEBUG -g -fwrapv -O3 -Wall -D__CEPHES_COMPLEX_H -fPIC creating /tmp/tmpNjVWbB/tmp creating /tmp/tmpNjVWbB/tmp/tmpNjVWbB compile options: '-I/home/paul.mercat/sage-8.1/local/include -c' gcc: /tmp/tmpNjVWbB/source.c /etc/init.d/xprint: Command not found. gcc /tmp/tmpNjVWbB/tmp/tmpNjVWbB/source.o -L/home/paul.mercat/sage-8.1/local/lib -lopenblas -o /tmp/tmpNjVWbB/a.out /etc/init.d/xprint: Command not found. libraries blas not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library blas was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = c define_macros = [('HAVE_CBLAS', None)] include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] F2PY Version 2 lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_lapack_info: Disabled openblas_lapack_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_threads_info: Disabled atlas_3_10_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: Disabled atlas_3_10_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Disabled atlas_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: Disabled atlas_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE lapack_info: libraries lapack not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library lapack was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = f77 FOUND: libraries = ['openblas', 'openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] /home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running install 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 build creating build/src.linux-x86_64-2.7 creating build/src.linux-x86_64-2.7/numpy creating build/src.linux-x86_64-2.7/numpy/distutils building library "npymath" sources customize Gnu95FCompiler Found executable /usr/bin/gfortran Found executable /usr/bin/ld Found executable /usr/bin/ar Found executable /usr/bin/ranlib Traceback (most recent call last): File "setup.py", line 392, in <module> setup_package() File "setup.py", line 384, in setup_package setup(**metadata) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 62, in run r = self.setuptools_run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 36, in setuptools_run return distutils_install.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/install.py", line 563, in run self.run_command('build') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build.py", line 47, in run old_build.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 148, in run self.build_sources() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 159, in build_sources self.build_library_sources(*libname_info) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 294, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 377, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 672, in get_mathlib_info st = config_cmd.try_link('int main(void) { return 0;}') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/config.py", line 248, in try_link self._check_compiler() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/config.py", line 81, in _check_compiler c_compiler=self.compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 842, in new_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 816, in get_default_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 766, in _find_existing_fcompiler v = c.get_version() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 432, in get_version version = CCompiler.get_version(self, force=force, ok_status=ok_status) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/ccompiler.py", line 627, in CCompiler_get_version version = matcher(output) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 249, in version_match v = self.gnu_version_match(version_string) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 77, in gnu_version_match raise ValueError(err + version_string) ValueError: A valid Fortran version was not found in this string: /etc/init.d/xprint: Command not found. 4.8.5 real 0m5.577s user 0m1.600s sys 0m0.625s ************************************************************************ Error installing package numpy-1.13.3.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0' && '/home/paul.mercat/sage-8.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for numpy-1.13.3.p0 Using cached file /home/paul.mercat/sage-8.1/upstream/numpy-1.13.3.zip numpy-1.13.3.p0 ==================================================== Moving old directory numpy-1.13.3.p0 to /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/old... Setting up build directory for numpy-1.13.3.p0 Finished extraction Applying patches from ../patches... Applying ../patches/PEP_3141.patch patching file numpy/core/numeric.py Hunk #2 succeeded at 2155 with fuzz 2 (offset -7 lines). Applying ../patches/numpy-1.10.2-no-hardcode-blas.patch patching file numpy/distutils/system_info.py Hunk #1 succeeded at 1679 (offset -11 lines). Hunk #2 succeeded at 1712 (offset -10 lines). **************************************************** Host system: Linux signal.cmi.univ-mrs.fr 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) **************************************************** Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE blis_info: libraries blis not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_info: Disabled openblas_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_blas_threads_info: Disabled atlas_3_10_blas_threads_info: (PTATLAS is None) libraries tatlas not found in [] NOT AVAILABLE atlas_3_10_blas_info: Disabled atlas_3_10_blas_info: (ATLAS is None) libraries satlas not found in [] NOT AVAILABLE atlas_blas_threads_info: Disabled atlas_blas_threads_info: (PTATLAS is None) libraries ptf77blas,ptcblas,atlas not found in [] NOT AVAILABLE atlas_blas_info: Disabled atlas_blas_info: (ATLAS is None) libraries f77blas,cblas,atlas not found in [] NOT AVAILABLE /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/system_info.py:572: 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: customize UnixCCompiler C compiler: gcc -DNDEBUG -g -fwrapv -O3 -Wall -D__CEPHES_COMPLEX_H -fPIC creating /tmp/tmpR1HbYY/tmp creating /tmp/tmpR1HbYY/tmp/tmpR1HbYY compile options: '-I/home/paul.mercat/sage-8.1/local/include -c' gcc: /tmp/tmpR1HbYY/source.c /etc/init.d/xprint: Command not found. gcc /tmp/tmpR1HbYY/tmp/tmpR1HbYY/source.o -L/home/paul.mercat/sage-8.1/local/lib -lopenblas -o /tmp/tmpR1HbYY/a.out /etc/init.d/xprint: Command not found. libraries blas not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library blas was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = c define_macros = [('HAVE_CBLAS', None)] include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] F2PY Version 2 lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_lapack_info: Disabled openblas_lapack_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_threads_info: Disabled atlas_3_10_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: Disabled atlas_3_10_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Disabled atlas_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: Disabled atlas_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE lapack_info: libraries lapack not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library lapack was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = f77 FOUND: libraries = ['openblas', 'openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] /home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running install 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 build creating build/src.linux-x86_64-2.7 creating build/src.linux-x86_64-2.7/numpy creating build/src.linux-x86_64-2.7/numpy/distutils building library "npymath" sources customize Gnu95FCompiler Found executable /usr/bin/gfortran Found executable /usr/bin/ld Found executable /usr/bin/ar Found executable /usr/bin/ranlib Traceback (most recent call last): File "setup.py", line 392, in <module> setup_package() File "setup.py", line 384, in setup_package setup(**metadata) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 62, in run r = self.setuptools_run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 36, in setuptools_run return distutils_install.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/install.py", line 563, in run self.run_command('build') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build.py", line 47, in run old_build.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 148, in run self.build_sources() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 159, in build_sources self.build_library_sources(*libname_info) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 294, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 377, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 672, in get_mathlib_info st = config_cmd.try_link('int main(void) { return 0;}') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/config.py", line 248, in try_link self._check_compiler() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/config.py", line 81, in _check_compiler c_compiler=self.compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 842, in new_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 816, in get_default_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 766, in _find_existing_fcompiler v = c.get_version() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 432, in get_version version = CCompiler.get_version(self, force=force, ok_status=ok_status) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/ccompiler.py", line 627, in CCompiler_get_version version = matcher(output) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 249, in version_match v = self.gnu_version_match(version_string) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 77, in gnu_version_match raise ValueError(err + version_string) ValueError: A valid Fortran version was not found in this string: /etc/init.d/xprint: Command not found. 4.8.5 real 0m13.062s user 0m1.665s sys 0m0.649s ************************************************************************ Error installing package numpy-1.13.3.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0' && '/home/paul.mercat/sage-8.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for numpy-1.13.3.p0 Using cached file /home/paul.mercat/sage-8.1/upstream/numpy-1.13.3.zip numpy-1.13.3.p0 ==================================================== Setting up build directory for numpy-1.13.3.p0 Finished extraction Applying patches from ../patches... Applying ../patches/PEP_3141.patch patching file numpy/core/numeric.py Hunk #2 succeeded at 2155 with fuzz 2 (offset -7 lines). Applying ../patches/numpy-1.10.2-no-hardcode-blas.patch patching file numpy/distutils/system_info.py Hunk #1 succeeded at 1679 (offset -11 lines). Hunk #2 succeeded at 1712 (offset -10 lines). **************************************************** Host system: Linux signal.cmi.univ-mrs.fr 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) **************************************************** Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE blis_info: libraries blis not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_info: Disabled openblas_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_blas_threads_info: Disabled atlas_3_10_blas_threads_info: (PTATLAS is None) libraries tatlas not found in [] NOT AVAILABLE atlas_3_10_blas_info: Disabled atlas_3_10_blas_info: (ATLAS is None) libraries satlas not found in [] NOT AVAILABLE atlas_blas_threads_info: Disabled atlas_blas_threads_info: (PTATLAS is None) libraries ptf77blas,ptcblas,atlas not found in [] NOT AVAILABLE atlas_blas_info: Disabled atlas_blas_info: (ATLAS is None) libraries f77blas,cblas,atlas not found in [] NOT AVAILABLE /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/system_info.py:572: 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: customize UnixCCompiler C compiler: gcc -DNDEBUG -g -fwrapv -O3 -Wall -D__CEPHES_COMPLEX_H -fPIC creating /tmp/tmpTOEFAi/tmp creating /tmp/tmpTOEFAi/tmp/tmpTOEFAi compile options: '-I/home/paul.mercat/sage-8.1/local/include -c' gcc: /tmp/tmpTOEFAi/source.c /etc/init.d/xprint: Command not found. gcc /tmp/tmpTOEFAi/tmp/tmpTOEFAi/source.o -L/home/paul.mercat/sage-8.1/local/lib -lopenblas -o /tmp/tmpTOEFAi/a.out /etc/init.d/xprint: Command not found. libraries blas not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library blas was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = c define_macros = [('HAVE_CBLAS', None)] include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] F2PY Version 2 lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_lapack_info: Disabled openblas_lapack_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_threads_info: Disabled atlas_3_10_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: Disabled atlas_3_10_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Disabled atlas_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: Disabled atlas_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE lapack_info: libraries lapack not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library lapack was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = f77 FOUND: libraries = ['openblas', 'openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] /home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running install 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 build creating build/src.linux-x86_64-2.7 creating build/src.linux-x86_64-2.7/numpy creating build/src.linux-x86_64-2.7/numpy/distutils building library "npymath" sources customize Gnu95FCompiler Found executable /usr/bin/gfortran Found executable /usr/bin/ld Found executable /usr/bin/ar Found executable /usr/bin/ranlib Traceback (most recent call last): File "setup.py", line 392, in <module> setup_package() File "setup.py", line 384, in setup_package setup(**metadata) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 62, in run r = self.setuptools_run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 36, in setuptools_run return distutils_install.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/install.py", line 563, in run self.run_command('build') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build.py", line 47, in run old_build.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 148, in run self.build_sources() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 159, in build_sources self.build_library_sources(*libname_info) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 294, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 377, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 672, in get_mathlib_info st = config_cmd.try_link('int main(void) { return 0;}') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/config.py", line 248, in try_link self._check_compiler() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/config.py", line 81, in _check_compiler c_compiler=self.compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 842, in new_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 816, in get_default_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 766, in _find_existing_fcompiler v = c.get_version() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 432, in get_version version = CCompiler.get_version(self, force=force, ok_status=ok_status) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/ccompiler.py", line 627, in CCompiler_get_version version = matcher(output) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 249, in version_match v = self.gnu_version_match(version_string) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 77, in gnu_version_match raise ValueError(err + version_string) ValueError: A valid Fortran version was not found in this string: /etc/init.d/xprint: Command not found. 4.8.5 real 0m3.283s user 0m1.663s sys 0m0.590s ************************************************************************ Error installing package numpy-1.13.3.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0' && '/home/paul.mercat/sage-8.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Found local metadata for numpy-1.13.3.p0 Using cached file /home/paul.mercat/sage-8.1/upstream/numpy-1.13.3.zip numpy-1.13.3.p0 ==================================================== Setting up build directory for numpy-1.13.3.p0 Finished extraction Applying patches from ../patches... Applying ../patches/PEP_3141.patch patching file numpy/core/numeric.py Hunk #2 succeeded at 2155 with fuzz 2 (offset -7 lines). Applying ../patches/numpy-1.10.2-no-hardcode-blas.patch patching file numpy/distutils/system_info.py Hunk #1 succeeded at 1679 (offset -11 lines). Hunk #2 succeeded at 1712 (offset -10 lines). **************************************************** Host system: Linux signal.cmi.univ-mrs.fr 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/paul.mercat/sage-8.1/local/libexec/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../src/configure --prefix=/home/paul.mercat/sage-8.1/local --with-local-prefix=/home/paul.mercat/sage-8.1/local --with-gmp=/home/paul.mercat/sage-8.1/local --with-mpfr=/home/paul.mercat/sage-8.1/local --with-mpc=/home/paul.mercat/sage-8.1/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm Thread model: posix gcc version 7.2.0 (GCC) **************************************************** Running from numpy source directory. Note: if you need reliable uninstall behavior, then install with pip instead of using `setup.py install`: - `pip install .` (from a git repo or downloaded source release) - `pip install numpy` (last NumPy release on PyPi) blas_opt_info: blas_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE blis_info: libraries blis not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_info: Disabled openblas_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_blas_threads_info: Disabled atlas_3_10_blas_threads_info: (PTATLAS is None) libraries tatlas not found in [] NOT AVAILABLE atlas_3_10_blas_info: Disabled atlas_3_10_blas_info: (ATLAS is None) libraries satlas not found in [] NOT AVAILABLE atlas_blas_threads_info: Disabled atlas_blas_threads_info: (PTATLAS is None) libraries ptf77blas,ptcblas,atlas not found in [] NOT AVAILABLE atlas_blas_info: Disabled atlas_blas_info: (ATLAS is None) libraries f77blas,cblas,atlas not found in [] NOT AVAILABLE /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/system_info.py:572: 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: customize UnixCCompiler C compiler: gcc -DNDEBUG -g -fwrapv -O3 -Wall -D__CEPHES_COMPLEX_H -fPIC creating /tmp/tmpPLRI6O/tmp creating /tmp/tmpPLRI6O/tmp/tmpPLRI6O compile options: '-I/home/paul.mercat/sage-8.1/local/include -c' gcc: /tmp/tmpPLRI6O/source.c /etc/init.d/xprint: Command not found. gcc /tmp/tmpPLRI6O/tmp/tmpPLRI6O/source.o -L/home/paul.mercat/sage-8.1/local/lib -lopenblas -o /tmp/tmpPLRI6O/a.out /etc/init.d/xprint: Command not found. libraries blas not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library blas was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = c define_macros = [('HAVE_CBLAS', None)] include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] F2PY Version 2 lapack_opt_info: lapack_mkl_info: libraries mkl_rt not found in ['/home/paul.mercat/sage-8.1/local/lib', '/usr/local/lib64', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/'] NOT AVAILABLE openblas_lapack_info: Disabled openblas_lapack_info: (OPENBLAS is None) libraries openblas not found in [] NOT AVAILABLE atlas_3_10_threads_info: Disabled atlas_3_10_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_threads_info'> NOT AVAILABLE atlas_3_10_info: Disabled atlas_3_10_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_3_10_info'> NOT AVAILABLE atlas_threads_info: Disabled atlas_threads_info: (PTATLAS is None) <class 'numpy.distutils.system_info.atlas_threads_info'> NOT AVAILABLE atlas_info: Disabled atlas_info: (ATLAS is None) <class 'numpy.distutils.system_info.atlas_info'> NOT AVAILABLE lapack_info: libraries lapack not found in ['/home/paul.mercat/sage-8.1/local/lib'] Library lapack was not found. Ignoring FOUND: libraries = ['openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] language = f77 FOUND: libraries = ['openblas', 'openblas'] library_dirs = ['/home/paul.mercat/sage-8.1/local/lib'] define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)] language = c include_dirs = ['/home/paul.mercat/sage-8.1/local/include'] /home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running install 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 build creating build/src.linux-x86_64-2.7 creating build/src.linux-x86_64-2.7/numpy creating build/src.linux-x86_64-2.7/numpy/distutils building library "npymath" sources customize Gnu95FCompiler Found executable /home/paul.mercat/sage-8.1/local/bin/gfortran Found executable /usr/bin/ld Found executable /usr/bin/ar Found executable /usr/bin/ranlib Traceback (most recent call last): File "setup.py", line 392, in <module> setup_package() File "setup.py", line 384, in setup_package setup(**metadata) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/core.py", line 169, in setup return old_setup(**new_attr) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 62, in run r = self.setuptools_run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/install.py", line 36, in setuptools_run return distutils_install.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/install.py", line 563, in run self.run_command('build') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build.py", line 47, in run old_build.run(self) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 148, in run self.build_sources() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 159, in build_sources self.build_library_sources(*libname_info) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 294, in build_library_sources sources = self.generate_sources(sources, (lib_name, build_info)) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/build_src.py", line 377, in generate_sources source = func(extension, build_dir) File "numpy/core/setup.py", line 672, in get_mathlib_info st = config_cmd.try_link('int main(void) { return 0;}') File "/home/paul.mercat/sage-8.1/local/lib/python2.7/distutils/command/config.py", line 248, in try_link self._check_compiler() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/command/config.py", line 81, in _check_compiler c_compiler=self.compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 842, in new_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 816, in get_default_fcompiler c_compiler=c_compiler) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 766, in _find_existing_fcompiler v = c.get_version() File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/__init__.py", line 432, in get_version version = CCompiler.get_version(self, force=force, ok_status=ok_status) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/ccompiler.py", line 627, in CCompiler_get_version version = matcher(output) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 249, in version_match v = self.gnu_version_match(version_string) File "/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0/src/numpy/distutils/fcompiler/gnu.py", line 77, in gnu_version_match raise ValueError(err + version_string) ValueError: A valid Fortran version was not found in this string: /etc/init.d/xprint: Command not found. 7.2.0 real 0m18.606s user 0m1.596s sys 0m0.679s ************************************************************************ Error installing package numpy-1.13.3.p0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /home/paul.mercat/sage-8.1/logs/pkgs/numpy-1.13.3.p0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/paul.mercat/sage-8.1/local/var/tmp/sage/build/numpy-1.13.3.p0' && '/home/paul.mercat/sage-8.1/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************