Opened 19 years ago
Closed 19 years ago
#3285 closed defect (invalid)
ghc fails to build
Reported by: | aconchillo@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
I get the following errors while upgrading ghc from 6.4_6 to 6.4_8:
===fptools== Finished making `boot' in mangler split ghc ghci ... PWD = /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/ghc/driver
/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
Error: Unable to upgrade port: 1
Change History (7)
comment:1 Changed 19 years ago by gwright@…
Status: | new → assigned |
---|
comment:2 Changed 19 years ago by aconchillo@…
Hi Greg,
Command: port -a upgrade OS: Mac OS X 10.4.1 Darwinports 1.0 (with "port -d selfupdate")
Mmmmm, I remember that I first run "port -a -u upgrade" to deactivate old packages, but I got the same errors.
Hope this helps.
Regards,
aleix
comment:3 Changed 19 years ago by mww@…
Owner: | changed from darwinports-bugs@… to gwright@… |
---|---|
Status: | assigned → new |
blame Gregory
comment:4 Changed 19 years ago by aconchillo@…
Yesterday night I uninstalled ghc and installed it again. It's currently building (takes a while) at home. When I get back home I'll tell you if I get the same errors.
Regards,
aleix
comment:5 Changed 19 years ago by gwright@…
Status: | new → assigned |
---|
OK, let me know what happens this time.
-Greg
comment:6 Changed 19 years ago by aconchillo@…
Ok, ghc installed successfully. I don't have any idea of what happened. I guess you can close the bug. May be I had some file corrupted...
Thanks anyway.
Regards,
aleix
comment:7 Changed 19 years ago by gwright@…
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Aleix,
Good to hear that it works for you. The simplest explanation of the error message you got is that the bootstrap compiler binary (or the directory in which it resides) was deleted. The darwinports infrastructure should never do this but maybe there is a subtle bug somewhere. Or perhaps some other process ran amok and killed the file (or directory).
Best Wishes, Greg
Hi Aleix,
What command did you run to do the upgrade? Also, what OS version are you using and are you using darwinports 1.00x or darwinports from cvs?
Thanks, Greg