Opened 9 years ago

Closed 7 years ago

Last modified 7 years ago

#50962 closed defect (fixed)

ghc 7.8.3 | on Snow Leopard | bus error: make/package-data.mk

Reported by: drennanelawar (Daniel Drennan ElAwar) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kitchen.andy@…
Port: ghc

Description

Trying to install pandoc.

It gets through the whole ghc installation, and then gives me a bus error.

[73 of 73] Compiling Main             ( utils/ghc-cabal/Main.hs, bootstrapping/Main.o )
Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal ...
"touch" utils/ghc-cabal/dist/build/tmp/ghc-cabal
"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal
"inplace/bin/ghc-cabal" configure libraries/Cabal/Cabal dist-boot "" --with-ghc="/Volumes/DEV0/share/ghc-bootstrap/bin/ghc" --with-ghc-pkg="/Volumes/DEV0/share/ghc-bootstrap/bin/ghc-pkg"  --package-db=/Volumes/DEV0/var/macports/build/_Volumes_DEV0_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-7.8.3/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -U__i686 -m32 -fno-stack-protector   " --configure-option=LDFLAGS=" -m32  " --configure-option=CPPFLAGS=" -m32  " --gcc-options=" -U__i686 -m32 -fno-stack-protector     -m32  " --configure-option=--with-iconv-includes="/Volumes/DEV0/include" --configure-option=--with-iconv-libraries="/Volumes/DEV0/lib" --configure-option=--with-gmp-includes="/Volumes/DEV0/include" --configure-option=--with-gmp-libraries="/Volumes/DEV0/lib"   --constraint "Cabal == 1.18.1.3"   --constraint "hpc == 0.6.0.1"   --constraint "bin-package-db == 0.0.0.0"   --constraint "hoopl == 3.10.0.1"   --constraint "transformers == 0.3.0.0"   --constraint "terminfo == 0.4.0.0" --with-gcc="/Volumes/DEV0/bin/clang-mp-3.4" --configure-option=--with-cc="/Volumes/DEV0/bin/clang-mp-3.4" --with-ar="/Volumes/DEV0/bin/ar" --with-ranlib="/Volumes/DEV0/bin/ranlib"  
"inplace/bin/ghc-cabal" configure utils/hsc2hs dist "" --with-ghc="/Volumes/DEV0/share/ghc-bootstrap/bin/ghc" --with-ghc-pkg="/Volumes/DEV0/share/ghc-bootstrap/bin/ghc-pkg"  --package-db=/Volumes/DEV0/var/macports/build/_Volumes_DEV0_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-7.8.3/libraries/bootstrapping.conf --disable-library-for-ghci --disable-library-vanilla --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -U__i686 -m32 -fno-stack-protector   " --configure-option=LDFLAGS=" -m32  " --configure-option=CPPFLAGS=" -m32  " --gcc-options=" -U__i686 -m32 -fno-stack-protector     -m32  " --configure-option=--with-iconv-includes="/Volumes/DEV0/include" --configure-option=--with-iconv-libraries="/Volumes/DEV0/lib" --configure-option=--with-gmp-includes="/Volumes/DEV0/include" --configure-option=--with-gmp-libraries="/Volumes/DEV0/lib"   --constraint "Cabal == 1.18.1.3"   --constraint "hpc == 0.6.0.1"   --constraint "bin-package-db == 0.0.0.0"   --constraint "hoopl == 3.10.0.1"   --constraint "transformers == 0.3.0.0"   --constraint "terminfo == 0.4.0.0" --with-gcc="/Volumes/DEV0/bin/clang-mp-3.4" --configure-option=--with-cc="/Volumes/DEV0/bin/clang-mp-3.4" --with-ar="/Volumes/DEV0/bin/ar" --with-ranlib="/Volumes/DEV0/bin/ranlib"  
make[1]: *** [libraries/Cabal/Cabal/dist-boot/package-data.mk] Bus error
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [utils/hsc2hs/dist/package-data.mk] Bus error
make: *** [all] Error 2
make: Leaving directory `/Volumes/DEV0/var/macports/build/_Volumes_DEV0_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-7.8.3'
Command failed:  cd "/Volumes/DEV0/var/macports/build/_Volumes_DEV0_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-7.8.3" && /usr/bin/make -j2 -w all VERBOSE=1 

Any help is appreciated!

Attachments (1)

ghc-main.log (49.4 KB) - added by drennanelawar (Daniel Drennan ElAwar) 9 years ago.
ghc installation log

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by drennanelawar (Daniel Drennan ElAwar)

Attachment: ghc-main.log added

ghc installation log

comment:1 Changed 9 years ago by drennanelawar (Daniel Drennan ElAwar)

Cc: drennan@… added

Cc kitchen.andy@…, cal@…, openmaintainer@…

Last edited 9 years ago by drennanelawar (Daniel Drennan ElAwar) (previous) (diff)

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: kitchen.andy@… added; drennan@… removed
Owner: changed from macports-tickets@… to cal@…
Port: ghc added

comment:3 Changed 7 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

In b6060617db664a7ca586df1d8894da2054f7db75/macports-ports:

ghc and ghc-bootstrap: specify compiler to clang-4.0

on older systems and on 10.11
and add a build and runtime dependency for clang-4.0
as this compiler needs to be present when ghc is used.
closes: #54363
closes: #53709
closes: #50962
closes: #50480

comment:4 Changed 7 years ago by kencu (Ken)

I believe this last update should fix this issue in this ticket. If not, please let me know.

Note: See TracTickets for help on using tickets.