Opened 4 years ago
Last modified 4 years ago
#60365 closed defect
MacPorts doesn't work when cache directory has spaces — at Initial Version
Reported by: | At0micMac | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | MacPorts 2.6.3 |
Component: | base | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: |
Description
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 HD/Cache/macports/software/curl-ca-bundle/curl-ca-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.