[MacPorts] #71729: port deps misdetects dependencies on Rosetta

MacPorts noreply at macports.org
Fri Jan 3 08:32:47 UTC 2025


#71729: port deps misdetects dependencies on Rosetta
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > On 10.5 and earlier, libstdc++ is used, so the Xcode compilers would be
 acceptable.
 >
 > So, as far as I can tell, this is all working as designed.

 Well, if it is working as designed, I argue that the design should be
 fixed :)

 1. There is no `libc++` on powerpc, whether natively or for Rosetta, so
 declaring a dependency on it should not happen. If the build arch is
 ppc/ppc64, stdlib must be `libstdc++`, regardless of the host OS and arch.

 2. If C++ runtime is explicitly specified in `macports.conf`, I would
 expect MacPorts to recognize that coherently and not just for some cases.

 3. Obviously, behavior of `port deps` should match `port build`, and it
 does not.

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


More information about the macports-tickets mailing list