[MacPorts] #54167: Gimp staging fails: expects lbzip2; uses wrong `touch`, found in node_modules
MacPorts
noreply at macports.org
Sun May 14 00:20:59 UTC 2017
#54167: Gimp staging fails: expects lbzip2; uses wrong `touch`, found in
node_modules
------------------------------+-------------------
Reporter: paxperscientiam | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords:
Port: gimp, npm2 |
------------------------------+-------------------
Changes (by raimue):
* cc: ci42 (added)
* port: gimp => gimp, npm2
Comment:
This looks like two entirely separate issues. The first one is the use of
lbzip2. MacPorts uses lbzip2 if available, but should fall back to bzip2
normally. I don't know why it did not work in this case...
The second problem is with `touch`. Why does npm even install directly
into `${prefix}`? This should not happen at all. `${prefix}` is reserved
by MacPorts. If npm is allowed to overrides basic (POSXI) shell
functionality such as touch(1), all kinds of problems during builds could
occur. Even if MacPorts itself would use `/usr/bin/touch`, build scripts
can be broken by this.
--
Ticket URL: <https://trac.macports.org/ticket/54167#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list