Opened 10 years ago

Closed 10 years ago

#41290 closed defect (duplicate)

haskell-platform @2013.2.0.0 - build failure in OSX 10.9

Reported by: zfletch2@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: neverpanic (Clemens Lang)
Port: haskell-platform

Description

After upgrading OSX to 10.9 I ran the following commands trying to install haskell-platform:

sudo port -f uninstall installed
sudo port clean all
sudo port install haskell-platform

A number of dependencies compiled correctly, but the installation failed when it reached ghc:

--->  Attempting to fetch ghc-7.6.3_2+gcc48.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/ghc
--->  Fetching distfiles for ghc
--->  Verifying checksums for ghc
--->  Extracting ghc
--->  Applying patches to ghc
--->  Configuring ghc
--->  Building ghc
Error: org.macports.build for port ghc returned: command execution failed
Error: Failed to install ghc
Please see the log file for port ghc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/main.log

Some relevant lines from the log file (I'll try to attach the whole file to this ticket as well):

:info:build ghc/ghc.mk:106: ghc/stage1/package-data.mk: No such file or directory
:info:build mkdir inplace
:info:build mkdir inplace/bin
:info:build mkdir inplace/lib
:info:build "rm" -f inplace/bin/mkdirhier  
:info:build echo '#!/bin/sh'  		 >> inplace/bin/mkdirhier
:info:build cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier
:info:build chmod +x inplace/bin/mkdirhier
:info:build "inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//.
:info:build "inplace/bin/mkdirhier" bootstrapping/.
:info:build mkdir: bootstrapping/.: No such file or directory
:info:build make[1]: *** [bootstrapping/.] Error 1
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-7.6.3'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-7.6.3" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port ghc returned: command execution failed
:debug:build Error code: CHILDSTATUS 96724 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for ghc: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install ghc
:debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:build Please see the log file for port ghc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/main.log

Attachments (1)

main.log (32.7 KB) - added by zfletch2@… 10 years ago.
ghc/main.log

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by zfletch2@…

Attachment: main.log added

ghc/main.log

comment:1 Changed 10 years ago by zfletch2@…

Cc: zfletch2@… added

Cc Me!

comment:2 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: openmaintainer@… zfletch2@… removed
Keywords: haskell haskell-platform ghc removed
Port: @2013.2.0.0 removed
Resolution: duplicate
Status: newclosed

Duplicate of #40950. You don't need to Cc yourself, if you're the reporter. Openmaintainer is not a real person and should not be listed on Cc.

Note: See TracTickets for help on using tickets.