Opened 12 years ago
Last modified 12 years ago
#36359 closed defect
"port install" fails on local portfile repository on a volume whose name contains a space — at Initial Version
Reported by: | rb@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: |
Description
I am developing a portfile using the guide at http://guide.macports.org/#development.local-repositories
My home directory is on a secondary volume whose name is "Silverbird HD" and so contains a space. "port install" does not protect its path names against spaces and fails. See below.
Note: Renaming my volume is a workaround, not a fix :)
rb@silverbird$ sudo port install mps Password: Error: Unable to execute port: /opt/local/var/macports/build/_Volumes_Silverbird: no such file or directory rb@silverbird$ ls /opt/local/var/macports/build/ _Volumes_Silverbird HD_Local_Users_rb_ports_devel_mps _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47 _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm _opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_pandoc