[MacPorts] #15923: ghc 6.8.3 Segmentation fault during build

MacPorts noreply at macports.org
Wed Aug 6 23:13:35 PDT 2008


#15923: ghc 6.8.3 Segmentation fault during build
---------------------------------+------------------------------------------
  Reporter:  macports at je-ju.net  |       Owner:  gwright at macports.org  
      Type:  defect              |      Status:  new                   
  Priority:  Normal              |   Milestone:  Port Bugs             
 Component:  ports               |     Version:  1.6.0                 
Resolution:                      |    Keywords:  ghc segmentation fault
---------------------------------+------------------------------------------
Comment (by macports at mrbb.org):

 My experience:

 {{{

 wednet% sudo port clean ghc
 --->  Cleaning ghc
 wednet% sudo port install ghc
 --->  Fetching ghc
 --->  Verifying checksum(s) for ghc
 --->  Extracting ghc
 --->  Applying patches to ghc
 --->  Configuring ghc
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3"
 && ./configure --prefix=/opt/local
 --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/destroot/opt/local
 --mandir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/destroot/opt/local/share/man/
 --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib
 --with-readline-includes=/opt/local/include --with-readline-
 libraries=/opt/local/lib --with-
 ghc='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
 /ghc-bootstrap/bin/ghc' " returned error 2
 Command output: ./configure: line 3: unexpected EOF while looking for
 matching ``'
 ./configure: line 12: syntax error: unexpected end of file

 Error: Status 1 encountered during processing.

 }}}

 {{{
 wednet% more
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/configure




 #! /bin/sh

 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 if $ac_init_version; then
   cat <<\_ACEOF
 The Glorious Glasgow Haskell Compilation System configure 6.8.3
 generated by GNU Autoconf 2.61
 _ACEOF
   exit
 fi
 }}}

 That configure file looks clearly bogus; it has comment text that is not
 preceded by '#'

 Editing the configure file and removing the offending pseudo-command,
 yields this:
 {{{
 wednet% sudo port install ghc
 --->  Configuring ghc
 --->  Building ghc with target all
 Error: Target org.macports.build returned: shell command "env
 DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
 Command output: make: *** No targets specified and no makefile found.
 Stop.

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/15923#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list