[MacPorts] #46432: scons messes up the environment and removes ${prefix}/bin from $PATH

MacPorts noreply at macports.org
Mon Apr 1 07:19:53 UTC 2024


#46432: scons messes up the environment and removes ${prefix}/bin from $PATH
-----------------------+--------------------------------
  Reporter:  jeremyhu  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:  wontfix   |   Keywords:
      Port:  scons     |
-----------------------+--------------------------------
Changes (by ryandesign):

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


Comment:

 It is an intentional misfeature of scons that it does not inherit the
 environment of the calling process. It is up to the author of each
 SConscript or SConstruct file to import the environment variables that
 they want to import.

 https://scons.org/doc/latest/HTML/scons-user/ch07s03.html

 For this any many other reasons, I recommend all projects move from scons
 to any other build system.

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


More information about the macports-tickets mailing list