[MacPorts] #71730: Fails to build Python313 on Sequoia

MacPorts noreply at macports.org
Sun Jan 5 01:37:39 UTC 2025


#71730: Fails to build Python313 on Sequoia
-------------------------+--------------------
  Reporter:  mouse07410  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  python313   |
-------------------------+--------------------

Comment (by kencu):

 Replying to [comment:18 mouse07410]:

 > > is there anything in /usr/local? If so remove it.
 >
 > Sorry, that's absolutely impractical - /usr/local houses AFS, HSM
 (**not** SoftHSM), and other similar (necessary for my work) stuff, which
 Macports doesn't provide. One thing I can say about it - it does not
 collide with Macports-installed ports/stuff.
 >

 you know, you simply can't be sure it doesn't collide.

 Almost all compilers will search first for headers and libraries in
 /usr/local, and you simply can't stop them from doing that.

 At the very least, when you're plugging away at build errors, you can move
 /usr/local/* out of the way, eg

 {{{
 sudo mv /usr/local/include /usr/local/incude-disabled
 sudo mv /usr/local/lib /usr/local/lib-disabled
 }}}

 and then they won't be picked up against your will.

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


More information about the macports-tickets mailing list