[MacPorts] #68359: py27-numpy @1.16.6_3+gfortran+openblas: ld: duplicate LC_RPATH '/opt/local/lib/libgcc' in '/opt/local/lib/libopenblas-r1.dylib'

MacPorts noreply at macports.org
Tue Nov 28 18:18:30 UTC 2023


#68359: py27-numpy @1.16.6_3+gfortran+openblas: ld: duplicate LC_RPATH
'/opt/local/lib/libgcc' in '/opt/local/lib/libopenblas-r1.dylib'
-------------------------+--------------------
  Reporter:  afield1235  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  sonoma
      Port:  py27-numpy  |
-------------------------+--------------------

Comment (by dershow):

 I updated some outdated ports, including:

 {{{
 arpack                         3.9.1_0 < 3.9.1_1
 graphviz-gui                   8.1.0_0 < 9.0.0_0
 nss                            3.94_0 < 3.95_0
 OpenBLAS                       0.3.25_1 < 0.3.25_2
 py27-scipy                     1.2.3_0 < 1.2.3_1
 py39-numpy                     1.26.1_0 < 1.26.1_1
 py39-scipy                     1.10.1_0 < 1.10.1_1
 py39-wheel                     0.41.3_0 < 0.42.0_0
 py310-numpy                    1.26.1_0 < 1.26.1_1
 py310-scipy                    1.10.1_0 < 1.10.1_1
 py310-wheel                    0.41.3_0 < 0.42.0_0
 py311-numpy                    1.26.1_0 < 1.26.1_1
 py311-scipy                    1.10.1_0 < 1.10.1_1
 py311-wheel                    0.41.3_0 < 0.42.0_0
 qrupdate                       1.1.2_6 < 1.1.2_7
 SuiteSparse_CHOLMOD            3.0.14_1 < 3.0.14_2
 SuiteSparse_UMFPACK            5.7.9_0 < 5.7.9_1
 sundials5                      5.8.0_0 < 5.8.0_1

 }}}

 That seemed to go fine.  But, it broke other ports:

 {{{
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  Found 11 broken files, matching files to ports
 --->  Found 2 broken ports, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt:
  py27-numpy @1.16.6+gfortran+openblas
  py27-scikit-learn @0.20.4
 Continue? [Y/n]: Y
 --->  Computing dependencies for py27-numpy
 --->  Cleaning py27-numpy
 --->  Computing dependencies for py27-scikit-learn
 --->  Cleaning py27-scikit-learn
 --->  Scanning binaries for linking errors
 --->  Found 11 broken files, matching files to ports
 --->  Found 2 broken ports, determining rebuild order
 --->  Rebuilding in order
      py27-numpy @1.16.6_3+gfortran+openblas
      py27-scikit-learn @0.20.4_0
 --->  Computing dependencies for py27-numpy
 --->  Fetching distfiles for py27-numpy
 --->  Attempting to fetch numpy-1.16.6.tar.gz from
 https://distfiles.macports.org/py-numpy
 --->  Verifying checksums for py27-numpy
 --->  Extracting py27-numpy
 --->  Applying patches to py27-numpy
 --->  Configuring py27-numpy
 --->  Building py27-numpy
 Error: Failed to build py27-numpy: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-numpy/py27-numpy/main.log for
 details.
 Error: rev-upgrade failed: Error rebuilding py27-numpy
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 --->  Some of the ports you installed have notes:
   OpenBLAS has the following notes:
     This version is built based on a base architecture for convenience,
     which may not be optimized for your system. To build a version
     customized for your machine, use the +native variant

 }}}

 rev-updrade reports the same error.  I'm not sure if this is exactly the
 same as this ticket, as I wasn't trying to (intentionally) build
 py27-numpy, but it did break, and then the attempt to rebuild it fails.

-- 
Ticket URL: <https://trac.macports.org/ticket/68359#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list