[MacPorts] #60365: MacPorts doesn't work when cache directory has spaces

MacPorts noreply at macports.org
Fri Apr 17 18:37:23 UTC 2020

#60365: MacPorts doesn't work when cache directory has spaces
 Reporter:  At0micMac  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  base       |    Version:  2.6.2
 Keywords:             |       Port:
 Hello, I have had to set up MacPorts on my machine running Sierra, due to
 brew no longer supporting it. Due to the limited space on my internal SSD,
 I have moved the "/opt/local/macports/software" directory to my external
 HDD, and "ln -s"'d it to the location (since there doesn't seem to be an
 option to specify the location, like homebrew). Unfortunately, this drive
 has a space in its name. This results in failed builds, since the path
 isn't quoted:

 :debug:activate system: /usr/bin/bzip2 -d -c /Volumes/Macintosh
 bundle-7.69.1_0.darwin_16.noarch.tbz2 | ( bsdtar -xvp --hfsCompression -f
 - )
 :info:activate bzip2: Can't open input file /Volumes/Macintosh: No such
 file or directory.

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

More information about the macports-tickets mailing list