[MacPorts] #62578: py-scipy/py-numpy: opportunistic linking to py-mkl breaks both of these ports

MacPorts noreply at macports.org
Tue Nov 2 17:49:04 UTC 2021


#62578: py-scipy/py-numpy: opportunistic linking to py-mkl breaks both of these
ports
--------------------------------+------------------------
  Reporter:  essandess          |      Owner:  reneeotten
      Type:  defect             |     Status:  accepted
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.7.1
Resolution:                     |   Keywords:  rpath
      Port:  py-scipy py-numpy  |
--------------------------------+------------------------

Comment (by mascguy):

 Replying to [comment:30 reneeotten]:
 > Christopher, I cannot get {{{py-numpy}}} linked with {{{py-mkl}}} even
 if I try ;) I just install {{{py39-mkl}}} followed by {{{py39-mkl}}} and
 see nothing:
 > {{{
 > % otool -L `port contents py39-numpy | grep "\.so"` | grep mkl
 > }}}
 >
 > can you please confirm that you *only* see this because you mucked
 around with {{{install_name}}} to remove the {{{rpath}}} business in
 {{{py39-mkl}}}? I do agree that this should be fixed (and I was always
 assuming that I actually used the MKL libraries.....} and I'm on track of
 trying to do so, but would like to understand why you're having this
 problem in the first place.

 Note that I didn't touch the `py39-mkl` components; I only modified those
 for `py39-numpy`. Also, the log I just attached, relates to a subsequent
 clean `py39-numpy` source installation. So I'm reasonably confident that I
 wiped any remnants of my `install_name_tool` adventures.

 Does that make sense?

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


More information about the macports-tickets mailing list