
Hi David, I maintain GHC under darwinports. You're more likely to get help for this (apparently DP specific) issue on the darwinports list. What seems to be happening is that your bootstrap compiler is not being found. Since this doesn't happen on my machine (10.4.1 with Xcode 2.1) I suspect there is a bug in darwinports 1.001 (I'm using the version from cvs HEAD). I think I may have suggested this before, but 1. run 'sudo port selfupdate' This will ensure you have the latest portfiles and infrastructure. 2. run 'sudo port -dv install ghc > build.log 2>&1' This will make a complete log of the build. Send me the log and I'll try again to diagnose the problem. As I said, I think a bug has crept into the released version of DP. The haskell portfile is a good stress test for the system and occasionally finds breakages. Best Wishes, Greg On Jun 17, 2005, at 1:22 AM, David Menendez wrote:
I currently have GHC installed using darwin ports, and I've been trying to upgrade from 6.4_0 to 6.4_8, but I keep hitting a file-not-found error. Looking at the paths in question, I'm guessing the problem has to do with the path segment "/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync. opendarwin.org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/" appearing twice.
Unfortunately, I don't understand the makefiles well enough to track down where this is happening. I'm running Mac OS X 10.4 with XCode 2.0 and darwinports 1.001.
Here are the relevant errors: -----------------------------
/opt/local/var/db/dports/build/file. _opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/bin/ghc -M -optdep-f -optdep.depend -osuf o -H16m -O -I/usr/include -I/opt/local/ include -L/usr/lib -L/opt/local/lib -cpp -fglasgow-exts -O AbsSyn.lhs First.lhs GenUtils.lhs GetOpt.lhs Grammar.lhs Info.lhs LALR.lhs Lexer.lhs Main.lhs ParseMonad.lhs Parser.hs ProduceCode.lhs ProduceGLRCode.lhs Set.lhs Target.lhs Version.hs
/opt/local/var/db/dports/build/file. _opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/bin/ghc: line 5: /opt/local/var/db/dports/build/file. _opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/var/db/dports/build/ file ._opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/lib/ghc-6.4/ ghc-6.4: No such file or directory
/opt/local/var/db/dports/build/file. _opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/bin/ghc: line 5: exec: /opt/local/var/db/dports/build/file. _opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/var/db/dports/build/ file ._opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-bootstrap/lib/ghc-6.4/ghc-6.4: cannot execute: No such file or directory
gmake[2]: *** [depend] Error 126 gmake[1]: *** [boot] Error 1 gmake[1]: Leaving directory `/opt/local/var/db/dports/build/file. _opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-6.4/happy' gmake: *** [/opt/local/var/db/dports/build/file. _opt_local_var_db_dports_sources_rsync.rsync.opendarwin. org_dpupdate_dports_lang_ghc/work/ghc-6.4/happy/src/happy-inplace] Error 2
Warning: the following items did not execute (for ghc): com.apple.destroot com.apple.build Error: Unable to upgrade port: 1 -- David Menendez
| "In this house, we obey the laws http://www.eyrie.org/~zednenem | of thermodynamics!" _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users