[MacPorts] #54167: Gimp staging fails: expects lbzip2; uses wrong `touch`, found in node_modules

MacPorts noreply at macports.org
Sat May 13 23:18:19 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
 Keywords:                   |       Port:  gimp
-----------------------------+-------------------
 Attempting to install `gimp +quartz` -- the variant is probably irrelevant
 -- without `lbzip2` previously installed will result in a staging failure.

 After installing `lbzip2`, the error went away

 An entirely separate issues presented itself when staging failed once
 more. It seems that macports is being thrown by, in this case, node
 executables symlinked to the prefix directory.

 In my case, port tried to use the wrong `touch`. Instead of using
 `/usr/bin/touch`, it attempted to use `${prefix}/touch`, which corresponds
 to `touch.js` in the global node modules directory.

 Since I could not think of a way to get port to ignore this executable, I
 temporarily uninstalled it via `npm`.

 In summary, after installing `lbzip2` and uninstalling npm's touch.js, I
 was successfully able to execute `port install gimp +quartz`.

 Sorry I don't have access to the logs anymore.

--
Ticket URL: <https://trac.macports.org/ticket/54167>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list