1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

math/py-pysparse: unbreak on non-LLD architectures after r515313

creating /tmp/tmp2txkG8/tmp
creating /tmp/tmp2txkG8/tmp/tmp2txkG8
compile options: '-I/usr/include -I/usr/local/include -I/usr/local/include/suitesparse -c'
cc: /tmp/tmp2txkG8/source.c
cc /tmp/tmp2txkG8/tmp/tmp2txkG8/source.o -L/usr/local/lib -lcblas -o /tmp/tmp2txkG8/a.out
/usr/local/lib/libcblas.so: undefined reference to `cgemv_'
/usr/local/lib/libcblas.so: undefined reference to `cscal_'
/usr/local/lib/libcblas.so: undefined reference to `sdot_'
/usr/local/lib/libcblas.so: undefined reference to `dtrmm_'
/usr/local/lib/libcblas.so: undefined reference to `zhpr_'
/usr/local/lib/libcblas.so: undefined reference to `snrm2_'
/usr/local/lib/libcblas.so: undefined reference to `zherk_'
/usr/local/lib/libcblas.so: undefined reference to `sspmv_'
/usr/local/lib/libcblas.so: undefined reference to `cswap_'
/usr/local/lib/libcblas.so: undefined reference to `dswap_'
/usr/local/lib/libcblas.so: undefined reference to `dgemm_'
/usr/local/lib/libcblas.so: undefined reference to `ztrmv_'
/usr/local/lib/libcblas.so: undefined reference to `zgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `ctbsv_'
/usr/local/lib/libcblas.so: undefined reference to `dger_'
/usr/local/lib/libcblas.so: undefined reference to `dtpsv_'
/usr/local/lib/libcblas.so: undefined reference to `sspr_'
/usr/local/lib/libcblas.so: undefined reference to `cher_'
/usr/local/lib/libcblas.so: undefined reference to `caxpy_'
/usr/local/lib/libcblas.so: undefined reference to `ztpsv_'
/usr/local/lib/libcblas.so: undefined reference to `zscal_'
/usr/local/lib/libcblas.so: undefined reference to `sswap_'
/usr/local/lib/libcblas.so: undefined reference to `ctpsv_'
/usr/local/lib/libcblas.so: undefined reference to `dzasum_'
/usr/local/lib/libcblas.so: undefined reference to `daxpy_'
/usr/local/lib/libcblas.so: undefined reference to `ctrsv_'
/usr/local/lib/libcblas.so: undefined reference to `izamax_'
/usr/local/lib/libcblas.so: undefined reference to `sasum_'
/usr/local/lib/libcblas.so: undefined reference to `drotg_'
/usr/local/lib/libcblas.so: undefined reference to `dsymm_'
/usr/local/lib/libcblas.so: undefined reference to `zhpr2_'
/usr/local/lib/libcblas.so: undefined reference to `stpsv_'
/usr/local/lib/libcblas.so: undefined reference to `ssbmv_'
/usr/local/lib/libcblas.so: undefined reference to `cgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `zhbmv_'
/usr/local/lib/libcblas.so: undefined reference to `srotmg_'
/usr/local/lib/libcblas.so: undefined reference to `cgemm_'
/usr/local/lib/libcblas.so: undefined reference to `dtpmv_'
/usr/local/lib/libcblas.so: undefined reference to `chemv_'
/usr/local/lib/libcblas.so: undefined reference to `ssyr2_'
/usr/local/lib/libcblas.so: undefined reference to `ctbmv_'
/usr/local/lib/libcblas.so: undefined reference to `saxpy_'
/usr/local/lib/libcblas.so: undefined reference to `drotm_'
/usr/local/lib/libcblas.so: undefined reference to `dnrm2_'
/usr/local/lib/libcblas.so: undefined reference to `ctrmm_'
/usr/local/lib/libcblas.so: undefined reference to `ztbsv_'
/usr/local/lib/libcblas.so: undefined reference to `dtrsv_'
/usr/local/lib/libcblas.so: undefined reference to `zdotu_'
/usr/local/lib/libcblas.so: undefined reference to `dsyr_'
/usr/local/lib/libcblas.so: undefined reference to `srot_'
/usr/local/lib/libcblas.so: undefined reference to `ccopy_'
/usr/local/lib/libcblas.so: undefined reference to `zgeru_'
/usr/local/lib/libcblas.so: undefined reference to `zhpmv_'
/usr/local/lib/libcblas.so: undefined reference to `csyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `ctrsm_'
/usr/local/lib/libcblas.so: undefined reference to `sscal_'
/usr/local/lib/libcblas.so: undefined reference to `cgerc_'
/usr/local/lib/libcblas.so: undefined reference to `dcopy_'
/usr/local/lib/libcblas.so: undefined reference to `scnrm2_'
/usr/local/lib/libcblas.so: undefined reference to `zgemm_'
/usr/local/lib/libcblas.so: undefined reference to `sgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `sspr2_'
/usr/local/lib/libcblas.so: undefined reference to `ztrsv_'
/usr/local/lib/libcblas.so: undefined reference to `cgeru_'
/usr/local/lib/libcblas.so: undefined reference to `dscal_'
/usr/local/lib/libcblas.so: undefined reference to `dgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `chpr_'
/usr/local/lib/libcblas.so: undefined reference to `zdscal_'
/usr/local/lib/libcblas.so: undefined reference to `strmm_'
/usr/local/lib/libcblas.so: undefined reference to `ssymm_'
/usr/local/lib/libcblas.so: undefined reference to `zgemv_'
/usr/local/lib/libcblas.so: undefined reference to `ddot_'
/usr/local/lib/libcblas.so: undefined reference to `isamax_'
/usr/local/lib/libcblas.so: undefined reference to `drotmg_'
/usr/local/lib/libcblas.so: undefined reference to `zsyrk_'
/usr/local/lib/libcblas.so: undefined reference to `stbsv_'
/usr/local/lib/libcblas.so: undefined reference to `strsv_'
/usr/local/lib/libcblas.so: undefined reference to `scasum_'
/usr/local/lib/libcblas.so: undefined reference to `srotg_'
/usr/local/lib/libcblas.so: undefined reference to `sdsdot_'
/usr/local/lib/libcblas.so: undefined reference to `sgemm_'
/usr/local/lib/libcblas.so: undefined reference to `scopy_'
/usr/local/lib/libcblas.so: undefined reference to `zdotc_'
/usr/local/lib/libcblas.so: undefined reference to `dsyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `dsyrk_'
/usr/local/lib/libcblas.so: undefined reference to `csscal_'
/usr/local/lib/libcblas.so: undefined reference to `dasum_'
/usr/local/lib/libcblas.so: undefined reference to `ssyr_'
/usr/local/lib/libcblas.so: undefined reference to `ssyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `dspr2_'
/usr/local/lib/libcblas.so: undefined reference to `zher2_'
/usr/local/lib/libcblas.so: undefined reference to `dtrsm_'
/usr/local/lib/libcblas.so: undefined reference to `idamax_'
/usr/local/lib/libcblas.so: undefined reference to `dtbsv_'
/usr/local/lib/libcblas.so: undefined reference to `ctrmv_'
/usr/local/lib/libcblas.so: undefined reference to `strmv_'
/usr/local/lib/libcblas.so: undefined reference to `zaxpy_'
/usr/local/lib/libcblas.so: undefined reference to `zher_'
/usr/local/lib/libcblas.so: undefined reference to `ssymv_'
/usr/local/lib/libcblas.so: undefined reference to `zhemm_'
/usr/local/lib/libcblas.so: undefined reference to `dtrmv_'
/usr/local/lib/libcblas.so: undefined reference to `zgerc_'
/usr/local/lib/libcblas.so: undefined reference to `chemm_'
/usr/local/lib/libcblas.so: undefined reference to `zher2k_'
/usr/local/lib/libcblas.so: undefined reference to `ztpmv_'
/usr/local/lib/libcblas.so: undefined reference to `zswap_'
/usr/local/lib/libcblas.so: undefined reference to `dspmv_'
/usr/local/lib/libcblas.so: undefined reference to `zsymm_'
/usr/local/lib/libcblas.so: undefined reference to `ztrmm_'
/usr/local/lib/libcblas.so: undefined reference to `dtbmv_'
/usr/local/lib/libcblas.so: undefined reference to `dgemv_'
/usr/local/lib/libcblas.so: undefined reference to `sgemv_'
/usr/local/lib/libcblas.so: undefined reference to `chpr2_'
/usr/local/lib/libcblas.so: undefined reference to `cdotu_'
/usr/local/lib/libcblas.so: undefined reference to `ctpmv_'
/usr/local/lib/libcblas.so: undefined reference to `cher2k_'
/usr/local/lib/libcblas.so: undefined reference to `csymm_'
/usr/local/lib/libcblas.so: undefined reference to `ztrsm_'
/usr/local/lib/libcblas.so: undefined reference to `cherk_'
/usr/local/lib/libcblas.so: undefined reference to `cdotc_'
/usr/local/lib/libcblas.so: undefined reference to `dsbmv_'
/usr/local/lib/libcblas.so: undefined reference to `csyrk_'
/usr/local/lib/libcblas.so: undefined reference to `stpmv_'
/usr/local/lib/libcblas.so: undefined reference to `chpmv_'
/usr/local/lib/libcblas.so: undefined reference to `sger_'
/usr/local/lib/libcblas.so: undefined reference to `cher2_'
/usr/local/lib/libcblas.so: undefined reference to `zsyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `strsm_'
/usr/local/lib/libcblas.so: undefined reference to `dznrm2_'
/usr/local/lib/libcblas.so: undefined reference to `stbmv_'
/usr/local/lib/libcblas.so: undefined reference to `chbmv_'
/usr/local/lib/libcblas.so: undefined reference to `dsyr2_'
/usr/local/lib/libcblas.so: undefined reference to `dsdot_'
/usr/local/lib/libcblas.so: undefined reference to `zcopy_'
/usr/local/lib/libcblas.so: undefined reference to `dspr_'
/usr/local/lib/libcblas.so: undefined reference to `icamax_'
/usr/local/lib/libcblas.so: undefined reference to `dsymv_'
/usr/local/lib/libcblas.so: undefined reference to `zhemv_'
/usr/local/lib/libcblas.so: undefined reference to `ssyrk_'
/usr/local/lib/libcblas.so: undefined reference to `srotm_'
/usr/local/lib/libcblas.so: undefined reference to `drot_'
/usr/local/lib/libcblas.so: undefined reference to `ztbmv_'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
cc /tmp/tmp2txkG8/tmp/tmp2txkG8/source.o -L/usr/local/lib -lblas -o /tmp/tmp2txkG8/a.out
/tmp/tmp2txkG8/tmp/tmp2txkG8/source.o: In function `main':
source.c:(.text+0x5c): undefined reference to `cblas_ddot'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 163, in <module>
    setup_package()
  File "setup.py", line 153, in setup_package
    configuration=configuration,
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/core.py", line 137, in setup
    config = configuration()
  File "setup.py", line 62, in configuration
    config.add_subpackage('pysparse')
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
    caller_level = 2)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "pysparse/setup.py", line 11, in configuration
    config.add_subpackage('sparse')
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
    caller_level = 2)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "pysparse/sparse/setup.py", line 19, in configuration
    blas_info = get_info('blas_opt',0)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 448, in get_info
    return cl().get_info(notfound_action)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 641, in get_info
    self.calc_info()
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 1661, in calc_info
    blas_info = get_info('blas')
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 448, in get_info
    return cl().get_info(notfound_action)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 641, in get_info
    self.calc_info()
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 1697, in calc_info
    lib = self.has_cblas(info)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 1740, in has_cblas
    extra_postargs=info.get('extra_link_args', []))
  File "/usr/local/lib/python2.7/distutils/ccompiler.py", line 700, in link_executable
    debug, extra_preargs, extra_postargs, None, target_lang)
  File "/usr/local/lib/python2.7/distutils/unixccompiler.py", line 202, in link
    raise LinkError, msg
distutils.errors.LinkError: Command "cc /tmp/tmp2txkG8/tmp/tmp2txkG8/source.o -L/usr/local/lib -lblas -o /tmp/tmp2txkG8/a.out" failed with exit status 1

PR:		240937
Reported by:	pkg-fallout
This commit is contained in:
Jan Beich 2019-10-25 10:04:38 +00:00
parent 2a0eea1de6
commit 63f673e401
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515595

View File

@ -3,7 +3,7 @@
PORTNAME= pysparse
PORTVERSION= 1.3
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,10 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1:math/py-numpy@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.2,1:math/py-numpy@${PY_FLAVOR}
LIB_DEPENDS= liblapack.so:math/lapack \
libblas.so:math/blas \
libopenblas.so:math/openblas \
libcblas.so:math/cblas
LIB_DEPENDS= libopenblas.so:math/openblas
USE_GITHUB= yes
GH_ACCOUNT= PythonOptimizers