[MacPorts] #45133: scons @2.3.3: Port tries to install outside of prefix when prefix is in /Library

MacPorts noreply at macports.org
Mon Apr 1 07:43:30 UTC 2024


#45133: scons @2.3.3: Port tries to install outside of prefix when prefix is in
/Library
-----------------------+--------------------------------
  Reporter:  djvasi@…  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  closed
  Priority:  Low       |  Milestone:
 Component:  ports     |    Version:  2.3.1
Resolution:  fixed     |   Keywords:
      Port:  scons     |
-----------------------+--------------------------------
Changes (by ryandesign):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 It looks like
 [https://github.com/SCons/scons/commit/75c8da49710889712b5ec6d006a154f790503cad
 this code was added] with the idea that if you were trying to install
 scons using the version of python that shipped with macOS, then you would
 not want scons to try to install itself into the macOS python directory;
 you would want it to install it somewhere more accessible like /usr/local.

 [https://github.com/SCons/scons/commit/559a661338b1c6988107de4a3caf8c49d2ee708d
 The code was removed] as part of [https://github.com/SCons/scons/pull/3603
 a refactor] that first shipped in scons 4.0.0. The commit message and the
 PR don't specifically mention removing this code, except for the mention
 of removing "obsolete build logic" in the PR title, so I don't know if the
 refactored code still has this behavior but I couldn't immediately find
 anything equivalent in the code so I hope this is fixed. If not, please
 reopen.

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


More information about the macports-tickets mailing list