[MacPorts] #19712: ghc-6.10.2 Segmentation fault in cabal during build
MacPorts
noreply at macports.org
Thu May 21 07:49:21 PDT 2009
#19712: ghc-6.10.2 Segmentation fault in cabal during build
---------------------------------------+------------------------------------
Reporter: marcin.zalewski@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: ghc segfault | Port: ghc
---------------------------------------+------------------------------------
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
}}}
--
Ticket URL: <http://trac.macports.org/ticket/19712>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list