#36973: ghc: build fails with permission denied on symlink creation ------------------------------+-------------------------------- Reporter: Deil.Christoph@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ghc ------------------------------+-------------------------------- I got this error trying to install {{{ghc}}} on Mac OS X 10.8: {{{ ---> Building ghc symlink: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/ghc/work -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work: permission denied Error: Failed to install ghc Please see the log file for port ghc for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/main.log Error: The following dependencies were not installed: hs-citeproc ghc hs- json hs-mtl hs-transformers hs-pandoc-types hs-utf8-string hs-xml hs-dlist hs-haddock hs-ghc-paths hs-http hs-network hs-parsec hs-text hs-tagsoup hs-texmath hs-zip-archive hs-binary hs-digest hs-zlib }}} Here's what I have at the paths mentioned: {{{ $ ls -lh /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/ghc/work ls: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/ghc/work: No such file or directory $ ls -lh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work total 0 drwxr-xr-x 43 macports admin 1.4K Nov 12 23:07 ghc-7.4.2 $ ls -lh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/ total 0 drwxr-xr-x 6 macports admin 204B Nov 12 23:07 work }}} Full log attached. -- Ticket URL: <https://trac.macports.org/ticket/36973> MacPorts <http://www.macports.org/> Ports system for Mac OS