Opened 15 years ago
Closed 15 years ago
#19712 closed defect (invalid)
ghc-6.10.2 Segmentation fault in cabal during build
Reported by: | marcin.zalewski@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | ghc segfault | Cc: | |
Port: | ghc |
Description
I am trying to compile GHC on OS X 10.5.6, PowerPC. Build crashes with cabal segfaulting:
---> Fetching ghc ---> Attempting to fetch ghc-6.10.2-src.tar.bz2 from http://haskell.org/ghc/dist/6.10.2/ ---> Attempting to fetch ghc-6.10.2-src-extralibs.tar.bz2 from http://haskell.org/ghc/dist/6.10.2/ ---> Attempting to fetch testsuite-6.10.2.tar.bz2 from http://haskell.org/ghc/dist/6.10.2/ ---> Attempting to fetch ghc-6.10.1-darwin-ppc-leopard-bootstrap.tar.bz2 from http://haskell.org/ghc/dist/6.10.1/ ---> Verifying checksum(s) for ghc ---> Extracting ghc ---> Applying patches to ghc ---> Configuring ghc ---> Building ghc Error: Target org.macports.build returned: shell command "cd /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2 && env DYLD_FALLBACK_LIBRARY_PATH=/Volumes/scratch/zalewski/opt/lib make" returned error 2 Command output: [34 of 55] Compiling Distribution.Simple.Compiler ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Compiler.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Compiler.o ) [35 of 55] Compiling Distribution.Simple.InstallDirs ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/InstallDirs.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/InstallDirs.o ) [36 of 55] Compiling Distribution.Simple.Setup ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Setup.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Setup.o ) [37 of 55] Compiling Distribution.Make ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Make.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Make.o ) [38 of 55] Compiling Distribution.Simple.LocalBuildInfo ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/LocalBuildInfo.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/LocalBuildInfo.o ) [39 of 55] Compiling Distribution.Simple.Build.Macros ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Build/Macros.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Build/Macros.o ) [40 of 55] Compiling Distribution.Simple.BuildPaths ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/BuildPaths.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/BuildPaths.o ) [41 of 55] Compiling Distribution.Simple.Build.PathsModule ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Build/PathsModule.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Build/PathsModule.o ) [42 of 55] Compiling Distribution.Simple.GHC ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/GHC.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/GHC.o ) [43 of 55] Compiling Distribution.Simple.JHC ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/JHC.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/JHC.o ) [44 of 55] Compiling Distribution.Simple.NHC ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/NHC.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/NHC.o ) [45 of 55] Compiling Distribution.Simple.PreProcess ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/PreProcess.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/PreProcess.o ) [46 of 55] Compiling Distribution.Simple.Hugs ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Hugs.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Hugs.o ) [47 of 55] Compiling Distribution.Simple.Build ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Build.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Build.o ) [48 of 55] Compiling Distribution.Simple.Haddock ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Haddock.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Haddock.o ) [49 of 55] Compiling Distribution.Simple.Install ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Install.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Install.o ) [50 of 55] Compiling Distribution.Simple.Register ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Register.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Register.o ) [51 of 55] Compiling Distribution.Simple.Configure ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/Configure.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/Configure.o ) [52 of 55] Compiling Distribution.Simple.SrcDist ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/SrcDist.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/SrcDist.o ) [53 of 55] Compiling Distribution.Simple.UserHooks ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple/UserHooks.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple/UserHooks.o ) [54 of 55] Compiling Distribution.Simple ( /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/Cabal/Distribution/Simple.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Distribution/Simple.o ) [55 of 55] Compiling Main ( cabal-bin.hs, /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping/Main.o ) Linking cabal-bin ... echo "[]" > bootstrapping.conf.tmp cd extensible-exceptions && /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/cabal-bin /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping.conf 1.6.0.3 clean --distpref=dist-bootstrapping cleaning... cd extensible-exceptions && /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/cabal-bin /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping.conf 1.6.0.3 configure --distpref=dist-bootstrapping --with-compiler=/Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc --with-hc-pkg=/Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc-pkg --package-db=/Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping.conf.tmp /bin/sh: line 1: 96273 Segmentation fault /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/cabal-bin /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc /Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping.conf 1.6.0.3 configure --distpref=dist-bootstrapping --with-compiler=/Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc --with-hc-pkg=/Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-bootstrap/bin/ghc-pkg --package-db=/Volumes/scratch/zalewski/opt/var/macports/build/_Volumes_scratch_zalewski_opt_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.2/libraries/bootstrapping.conf.tmp make[1]: *** [bootstrapping.conf] Error 139 make: *** [stage1] Error 2
Change History (5)
comment:1 Changed 15 years ago by marcin.zalewski@…
Cc: | marcin.zalewski@… added |
---|
comment:2 Changed 15 years ago by marcin.zalewski@…
Sorry, I might have misrepresented the bug. Now, looking at the log, it does not seem that cabal has anything to do with the crash.
comment:3 follow-up: 4 Changed 15 years ago by mf2k (Frank Schima)
Cc: | marcin.zalewski@… removed |
---|---|
Owner: | changed from macports-tickets@… to gwright@… |
Please try the following:
sudo port selfupdate sudo port clean ghc sudo port install ghc
comment:4 Changed 15 years ago by marcin.zalewski@…
OK. I am dropping the sudo part, since I have ports installed locally (does it make any difference?).
shooty:reviews zalewski$ port selfupdate MacPorts base version 1.710 installed Downloaded MacPorts base version 1.710 The MacPorts installation is not outdated so it was not updated shooty:reviews zalewski$ port clean ghc ---> Cleaning ghc shooty:reviews zalewski$ port install ghc ---> Fetching ghc On Mac OS X 10.5, ghc 6.10.3 requires Xcode 3.1.2 but you have Xcode 3.0. Error: Target org.macports.fetch returned: incompatible Xcode version Error: Status 1 encountered during processing.
Aha, something has changed under my feet. :)
comment:5 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!