Date: Sun, 8 Aug 2010 22:00:25 GMT From: Volodymyr Kostyrko <c.kworr@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/146801: can't build graphics/py-opengl because math/py-numpy fails. Message-ID: <201008082200.o78M0PVB037994@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/146801; it has been noted by GNATS. From: Volodymyr Kostyrko <c.kworr@gmail.com> To: bug-followup@FreeBSD.org, jimmiejaz@gmail.com Cc: Subject: Re: ports/146801: can't build graphics/py-opengl because math/py-numpy fails. Date: Mon, 09 Aug 2010 00:59:50 +0300 I can confirm this one. binutils-2.20.1_3 gcc-4.4.5.20100803 The first error reported was: ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for py26-numpy-1.4.1,1 ===> Extracting for py26-numpy-1.4.1,1 => MD5 Checksum OK for numpy-1.4.1.tar.gz. => SHA256 Checksum OK for numpy-1.4.1.tar.gz. => MD5 Checksum OK for numpybook.pdf. => SHA256 Checksum OK for numpybook.pdf. => MD5 Checksum OK for i387/fenv.c?p=203441. => SHA256 Checksum OK for i387/fenv.c?p=203441. => MD5 Checksum OK for i387/fenv.h?p=203441. => SHA256 Checksum OK for i387/fenv.h?p=203441. ===> Patching for py26-numpy-1.4.1,1 ===> Applying FreeBSD patches for py26-numpy-1.4.1,1 ===> py26-numpy-1.4.1,1 depends on file: /usr/local/bin/python2.6 - found ===> py26-numpy-1.4.1,1 depends on executable: gcc44 - found ===> py26-numpy-1.4.1,1 depends on shared library: lapack.4 - found ===> py26-numpy-1.4.1,1 depends on shared library: blas.2 - found ===> Configuring for py26-numpy-1.4.1,1 Running from numpy source directory. F2PY Version 2 blas_opt_info: blas_mkl_info: /tmp/ports/usr/ports/math/py-numpy/work/numpy-1.4.1/numpy/distutils/system_info.py:520: UserWarning: Specified path /usr/local/include/suitesparse is invalid. warnings.warn('Specified path %s is invalid.' % d) libraries mkl,vml,guide not found in /usr/lib libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd8.1/4.4.5/../../../ NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS Setting PTATLAS=ATLAS Setting PTATLAS=ATLAS FOUND: libraries = ['lapack', 'blas'] library_dirs = ['/usr/local/lib'] language = c /tmp/ports/usr/ports/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/config.py:394: DeprecationWarning: +++++++++++++++++++++++++++++++++++++++++++++++++ Usage of get_output is deprecated: please do not use it anymore, and avoid configuration checks involving running executable on the target machine. +++++++++++++++++++++++++++++++++++++++++++++++++ DeprecationWarning) customize GnuFCompiler Found executable /usr/local/bin/gfortran44 gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using config compiling '_configtest.c': /* This file is generated from numpy/distutils/system_info.py */ void ATL_buildinfo(void); int main(void) { ATL_buildinfo(); return 0; } C compiler: gcc44 -DNDEBUG -O2 -pipe -march=athlon-xp -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -O2 -pipe -march=athlon-xp -Wl,-rpath=/usr/local/lib/gcc4 4 -fno-strict-aliasing -fPIC compile options: '-c' gcc44: _configtest.c gcc44 _configtest.o -L/usr/local/lib -llapack -lblas -o _configtest _configtest.o: In function `main': _configtest.c:(.text+0x16): undefined reference to `ATL_buildinfo' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_concat_string' /usr/local/lib/liblapack.so: undefined reference to `csqrt' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_st_write_done' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_transfer_integer' /usr/local/lib/liblapack.so: undefined reference to `cabs' /usr/local/lib/liblapack.so: undefined reference to `csqrtf' /usr/local/lib/liblapack.so: undefined reference to `powf' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_stop_numeric' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_pow_i4_i4' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_string_len_trim' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_st_write' /usr/local/lib/liblapack.so: undefined reference to `log' /usr/local/lib/liblapack.so: undefined reference to `lroundf' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_compare_string' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_etime' /usr/local/lib/libblas.so: undefined reference to `_gfortran_runtime_error_at' /usr/local/lib/liblapack.so: undefined reference to `logf' /usr/local/lib/liblapack.so: undefined reference to `cabsf' /usr/local/lib/liblapack.so: undefined reference to `cosf' /usr/local/lib/liblapack.so: undefined reference to `lround' /usr/local/lib/liblapack.so: undefined reference to `pow' /usr/local/lib/liblapack.so: undefined reference to `cexp' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_transfer_character' /usr/local/lib/liblapack.so: undefined reference to `cos' /usr/local/lib/liblapack.so: undefined reference to `cexpf' /usr/local/lib/liblapack.so: undefined reference to `log10' /usr/local/lib/liblapack.so: undefined reference to `log10f' collect2: ld returned 1 exit status _configtest.o: In function `main': _configtest.c:(.text+0x16): undefined reference to `ATL_buildinfo' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_concat_string' /usr/local/lib/liblapack.so: undefined reference to `csqrt' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_st_write_done' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_transfer_integer' /usr/local/lib/liblapack.so: undefined reference to `cabs' /usr/local/lib/liblapack.so: undefined reference to `csqrtf' /usr/local/lib/liblapack.so: undefined reference to `powf' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_stop_numeric' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_pow_i4_i4' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_string_len_trim' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_st_write' /usr/local/lib/liblapack.so: undefined reference to `log' /usr/local/lib/liblapack.so: undefined reference to `lroundf' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_compare_string' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_etime' /usr/local/lib/libblas.so: undefined reference to `_gfortran_runtime_error_at' /usr/local/lib/liblapack.so: undefined reference to `logf' /usr/local/lib/liblapack.so: undefined reference to `cabsf' /usr/local/lib/liblapack.so: undefined reference to `cosf' /usr/local/lib/liblapack.so: undefined reference to `lround' /usr/local/lib/liblapack.so: undefined reference to `pow' /usr/local/lib/liblapack.so: undefined reference to `cexp' /usr/local/lib/liblapack.so: undefined reference to `_gfortran_transfer_character' /usr/local/lib/liblapack.so: undefined reference to `cos' /usr/local/lib/liblapack.so: undefined reference to `cexpf' /usr/local/lib/liblapack.so: undefined reference to `log10' /usr/local/lib/liblapack.so: undefined reference to `log10f' collect2: ld returned 1 exit status failure. removing: _configtest.c _configtest.o Status: 255 Output: FOUND: libraries = ['lapack', 'blas'] library_dirs = ['/usr/local/lib'] language = c define_macros = [('NO_ATLAS_INFO', 2)] lapack_opt_info: lapack_mkl_info: mkl_info: libraries mkl,vml,guide not found in /usr/lib libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd8.1/4.4.5/../../../ NOT AVAILABLE NOT AVAILABLE atlas_threads_info: Setting PTATLAS=ATLAS libraries lapack_atlas not found in /usr/local/lib libraries alapack_r not found in /usr/local/lib libraries lapack,blas not found in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd8.1/4.4.5/../../../ libraries lapack_atlas not found in /usr/local/lib/gcc44/gcc/i386-portbld-freebsd8.1/4.4.5/../../../ numpy.distutils.system_info.atlas_threads_info Setting PTATLAS=ATLAS /tmp/ports/usr/ports/math/py-numpy/work/numpy-1.4.1/numpy/distutils/system_info.py:973: UserWarning: ********************************************************************* Could not find lapack library within the ATLAS installation. ********************************************************************* warnings.warn(message) Setting PTATLAS=ATLAS FOUND: libraries = ['lapack', 'blas', 'gfortran', 'm', 'pthread'] library_dirs = ['/usr/local/lib'] language = c define_macros = [('ATLAS_WITHOUT_LAPACK', None)] customize GnuFCompiler gnu: no Fortran 90 compiler found gnu: no Fortran 90 compiler found customize Gnu95FCompiler customize Gnu95FCompiler customize Gnu95FCompiler using config compiling '_configtest.c': /* This file is generated from numpy/distutils/system_info.py */ void ATL_buildinfo(void); int main(void) { ATL_buildinfo(); return 0; } C compiler: gcc44 -DNDEBUG -O2 -pipe -march=athlon-xp -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x20000 -fno-strict-aliasing -O2 -pipe -march=athlon-xp -Wl,-rpath=/usr/local/lib/gcc4 4 -fno-strict-aliasing -fPIC compile options: '-c' gcc44: _configtest.c gcc44 _configtest.o -L/usr/local/lib -llapack -lblas -lgfortran -lm -lpthread -o _configtest _configtest.o: In function `main': _configtest.c:(.text+0x16): undefined reference to `ATL_buildinfo' collect2: ld returned 1 exit status _configtest.o: In function `main': _configtest.c:(.text+0x16): undefined reference to `ATL_buildinfo' collect2: ld returned 1 exit status failure. removing: _configtest.c _configtest.o Status: 255 Output: lapack_info: libraries lapack not found in /usr/lib FOUND: I have tried rebuilding lapack but nothing changes. -- Sphinx of black quartz judge my vow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008082200.o78M0PVB037994>