[MacPorts] #41290: haskell-platform @2013.2.0.0 - build failure in OSX 10.9
MacPorts
noreply at macports.org
Sun Nov 10 07:17:55 PST 2013
#41290: haskell-platform @2013.2.0.0 - build failure in OSX 10.9
-------------------------------------+-------------------------------------
Reporter: zfletch2@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: haskell, haskell- | Port: haskell-platform
platform, ghc | @2013.2.0.0
-------------------------------------+-------------------------------------
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41290>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list