Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2019 15:40:37 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515615 - head/math/py-scikit-umfpack
Message-ID:  <201910251540.x9PFeb5w028707@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Oct 25 15:40:37 2019
New Revision: 515615
URL: https://svnweb.freebsd.org/changeset/ports/515615

Log:
  math/py-scikit-umfpack: unbreak on non-LLD architectures after r515313
  
  creating /tmp/tmpFiVPVw/tmp
  creating /tmp/tmpFiVPVw/tmp/tmpFiVPVw
  compile options: '-I/usr/include -I/usr/local/include -I/usr/local/include/suitesparse -c'
  cc: /tmp/tmpFiVPVw/source.c
  cc /tmp/tmpFiVPVw/tmp/tmpFiVPVw/source.o -L/usr/local/lib -lcblas -o /tmp/tmpFiVPVw/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/tmpFiVPVw/tmp/tmpFiVPVw/source.o -L/usr/local/lib -lblas -o /tmp/tmpFiVPVw/a.out
  /tmp/tmpFiVPVw/tmp/tmpFiVPVw/source.o: In function `main':
  source.c:(.text+0xd1): 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 250, in <module>
      setup_package()
    File "setup.py", line 247, in setup_package
      setup(**metadata)
    File "/usr/local/lib/python2.7/site-packages/numpy/distutils/core.py", line 137, in setup
      config = configuration()
    File "setup.py", line 143, in configuration
      config.add_subpackage('scikits.umfpack')
    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 "scikits/umfpack/setup.py", line 27, in configuration
      blas_info = get_info('blas_opt')
    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/tmpFiVPVw/tmp/tmpFiVPVw/source.o -L/usr/local/lib -lblas -o /tmp/tmpFiVPVw/a.out" failed with exit status 1
  
  PR:		240937
  Reported by:	pkg-fallout

Modified:
  head/math/py-scikit-umfpack/Makefile   (contents, props changed)

Modified: head/math/py-scikit-umfpack/Makefile
==============================================================================
--- head/math/py-scikit-umfpack/Makefile	Fri Oct 25 15:40:23 2019	(r515614)
+++ head/math/py-scikit-umfpack/Makefile	Fri Oct 25 15:40:37 2019	(r515615)
@@ -2,7 +2,7 @@
 
 PORTNAME=	scikit-umfpack
 DISTVERSION=	0.3.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,9 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
 		swig3.0:devel/swig30
-LIB_DEPENDS=	libblas.so:math/blas \
-		libcblas.so:math/cblas \
-		libumfpack.so:math/suitesparse
+LIB_DEPENDS=	libumfpack.so:math/suitesparse
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910251540.x9PFeb5w028707>