[MacPorts] #19401: GHC fails to build on Intel, 10.5.6
MacPorts
noreply at macports.org
Wed Apr 22 23:29:58 PDT 2009
#19401: GHC fails to build on Intel, 10.5.6
-----------------------------------+----------------------------------------
Reporter: richardosborn@… | Owner: gwright@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port: ghc
-----------------------------------+----------------------------------------
Changes (by jmr@…):
* cc: richardosborn@… (removed)
* owner: macports-tickets@… => gwright@…
Old description:
> ---> Fetching ghc
> ---> Attempting to fetch ghc-6.10.1-src.tar.bz2 from
> http://haskell.org/ghc/dist/stable/dist/
> ---> Attempting to fetch ghc-6.10.1-src-extralibs.tar.bz2 from
> http://haskell.org/ghc/dist/stable/dist/
> ---> Attempting to fetch ghc-6.8.2-darwin-i386-leopard-bootstrap.tar.bz2
> from http://haskell.org/ghc/dist/6.8.2/
> ---> Verifying checksum(s) for ghc
> ---> Extracting ghc
> ---> Applying patches to ghc
> ---> Configuring ghc
> ---> Building ghc
> Error: Target org.macports.build returned: shell command "cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1
> && env DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
> Command output: cmp -s GNUmakefile GNUmakefile.tmp && mv
> GNUmakefile.tmp GNUmakefile; \
> make -r && \
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries
> /cabal-bin
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
> /ghc-bootstrap/bin/ghc
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/bootstrapping.conf
> register --inplace; \
> fi
> mv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory
> Preprocessing library process-1.0.1.0...
> Generating Makefile process-1.0.1.0...
> GNUmakefile:86: dist/build/.depend: No such file or directory
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
> -M -dep-makefile dist/build/.depend -dep-suffix-s -dep-suffixp -package-
> name process-1.0.1.0 -hide-all-packages -no-user-package-conf -i
> -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build
> -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -#include
> "runProcess.h" -odir dist/build -hidir dist/build -stubdir dist/build
> -package base-4.0.0.0 -package directory-1.0.0.2 -package
> filepath-1.1.0.1 -package unix-2.3.1.0 -O -XCPP -idist/build -H32m -O
> -I/opt/local/include -L/opt/local/lib -O2 -Rghc-timing -XGenerics -Wall
> -fno-warn-deprecated-flags System.Process.Internals System.Cmd
> System.Process
> <<ghc: 16330280 bytes, 3 GCs, 143360/143360 avg/max bytes residency (1
> samples), 31M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.11 elapsed),
> 0.01 GC (0.01 elapsed) :ghc>>
> for dir in dist/build/System/ dist/build/System/Process/
> dist/build/cbits/; do \
> if test ! -d $dir; then mkdir -p $dir; fi \
> done
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
> -package-name process-1.0.1.0 -hide-all-packages -no-user-package-conf
> -split-objs -i -idist/build -i. -idist/build/autogen -Idist/build/autogen
> -Idist/build -Iinclude -optP-include
> -optPdist/build/autogen/cabal_macros.h -#include "runProcess.h" -odir
> dist/build -hidir dist/build -stubdir dist/build -package base-4.0.0.0
> -package directory-1.0.0.2 -package filepath-1.1.0.1 -package
> unix-2.3.1.0 -O -XCPP -idist/build -H32m -O -I/opt/local/include
> -L/opt/local/lib -O2 -Rghc-timing -XGenerics -Wall -fno-warn-deprecated-
> flags -c System/Process/Internals.hs -o
> dist/build/System/Process/Internals.o -ohi
> dist/build/System/Process/Internals.hi
> <<ghc: 105524740 bytes, 14 GCs, 4759552/10264576 avg/max bytes residency
> (3 samples), 38M in use, 0.00 INIT (0.00 elapsed), 0.22 MUT (1.78
> elapsed), 0.10 GC (0.12 elapsed) :ghc>>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
> -package-name process-1.0.1.0 -hide-all-packages -no-user-package-conf
> -split-objs -i -idist/build -i. -idist/build/autogen -Idist/build/autogen
> -Idist/build -Iinclude -optP-include
> -optPdist/build/autogen/cabal_macros.h -#include "runProcess.h" -odir
> dist/build -hidir dist/build -stubdir dist/build -package base-4.0.0.0
> -package directory-1.0.0.2 -package filepath-1.1.0.1 -package
> unix-2.3.1.0 -O -XCPP -idist/build -H32m -O -I/opt/local/include
> -L/opt/local/lib -O2 -Rghc-timing -XGenerics -Wall -fno-warn-deprecated-
> flags -c System/Process.hs -o dist/build/System/Process.o -ohi
> dist/build/System/Process.hi
> <<ghc: 129856224 bytes, 14 GCs, 5350741/11415552 avg/max bytes residency
> (3 samples), 39M in use, 0.00 INIT (0.00 elapsed), 0.29 MUT (1.59
> elapsed), 0.11 GC (0.12 elapsed) :ghc>>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
> -package-name process-1.0.1.0 -hide-all-packages -no-user-package-conf
> -split-objs -i -idist/build -i. -idist/build/autogen -Idist/build/autogen
> -Idist/build -Iinclude -optP-include
> -optPdist/build/autogen/cabal_macros.h -#include "runProcess.h" -odir
> dist/build -hidir dist/build -stubdir dist/build -package base-4.0.0.0
> -package directory-1.0.0.2 -package filepath-1.1.0.1 -package
> unix-2.3.1.0 -O -XCPP -idist/build -H32m -O -I/opt/local/include
> -L/opt/local/lib -O2 -Rghc-timing -XGenerics -Wall -fno-warn-deprecated-
> flags -c System/Cmd.hs -o dist/build/System/Cmd.o -ohi
> dist/build/System/Cmd.hi
> <<ghc: 19931520 bytes, 6 GCs, 116736/143360 avg/max bytes residency (2
> samples), 33M in use, 0.00 INIT (0.00 elapsed), 0.03 MUT (0.11 elapsed),
> 0.02 GC (0.03 elapsed) :ghc>>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
> -Iinclude -package base-4.0.0.0 -package directory-1.0.0.2 -package
> filepath-1.1.0.1 -package unix-2.3.1.0 -optc-O2 -odir dist/build -c
> cbits/runProcess.c -o dist/build/cbits/runProcess.o
>
> cbits/runProcess.c:15:21:
> error: execvpe.h: No such file or directory
> cbits/runProcess.c: In function 'runInteractiveProcess':
>
> cbits/runProcess.c:149:0:
> warning: implicit declaration of function 'execvpe'
> make[2]: *** [dist/build/cbits/runProcess.o] Error 1
> make[1]: *** [make.library.process] Error 2
> make: *** [stage1] Error 2
>
> Error: Status 1 encountered during processing.
New description:
{{{
---> Fetching ghc
---> Attempting to fetch ghc-6.10.1-src.tar.bz2 from
http://haskell.org/ghc/dist/stable/dist/
---> Attempting to fetch ghc-6.10.1-src-extralibs.tar.bz2 from
http://haskell.org/ghc/dist/stable/dist/
---> Attempting to fetch ghc-6.8.2-darwin-i386-leopard-bootstrap.tar.bz2
from http://haskell.org/ghc/dist/6.8.2/
---> Verifying checksum(s) for ghc
---> Extracting ghc
---> Applying patches to ghc
---> Configuring ghc
---> Building ghc
Error: Target org.macports.build returned: shell command "cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1
&& env DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make" returned error 2
Command output: cmp -s GNUmakefile GNUmakefile.tmp && mv
GNUmakefile.tmp GNUmakefile; \
make -r && \
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries
/cabal-bin
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work
/ghc-bootstrap/bin/ghc
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/libraries/bootstrapping.conf
register --inplace; \
fi
mv: rename GNUmakefile to GNUmakefile.tmp: No such file or directory
Preprocessing library process-1.0.1.0...
Generating Makefile process-1.0.1.0...
GNUmakefile:86: dist/build/.depend: No such file or directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
-M -dep-makefile dist/build/.depend -dep-suffix-s -dep-suffixp -package-
name process-1.0.1.0 -hide-all-packages -no-user-package-conf -i
-idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build
-Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -#include
"runProcess.h" -odir dist/build -hidir dist/build -stubdir dist/build
-package base-4.0.0.0 -package directory-1.0.0.2 -package filepath-1.1.0.1
-package unix-2.3.1.0 -O -XCPP -idist/build -H32m -O -I/opt/local/include
-L/opt/local/lib -O2 -Rghc-timing -XGenerics -Wall -fno-warn-deprecated-
flags System.Process.Internals System.Cmd System.Process
<<ghc: 16330280 bytes, 3 GCs, 143360/143360 avg/max bytes residency (1
samples), 31M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (0.11 elapsed),
0.01 GC (0.01 elapsed) :ghc>>
for dir in dist/build/System/ dist/build/System/Process/
dist/build/cbits/; do \
if test ! -d $dir; then mkdir -p $dir; fi \
done
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
-package-name process-1.0.1.0 -hide-all-packages -no-user-package-conf
-split-objs -i -idist/build -i. -idist/build/autogen -Idist/build/autogen
-Idist/build -Iinclude -optP-include
-optPdist/build/autogen/cabal_macros.h -#include "runProcess.h" -odir
dist/build -hidir dist/build -stubdir dist/build -package base-4.0.0.0
-package directory-1.0.0.2 -package filepath-1.1.0.1 -package unix-2.3.1.0
-O -XCPP -idist/build -H32m -O -I/opt/local/include -L/opt/local/lib -O2
-Rghc-timing -XGenerics -Wall -fno-warn-deprecated-flags -c
System/Process/Internals.hs -o dist/build/System/Process/Internals.o -ohi
dist/build/System/Process/Internals.hi
<<ghc: 105524740 bytes, 14 GCs, 4759552/10264576 avg/max bytes residency
(3 samples), 38M in use, 0.00 INIT (0.00 elapsed), 0.22 MUT (1.78
elapsed), 0.10 GC (0.12 elapsed) :ghc>>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
-package-name process-1.0.1.0 -hide-all-packages -no-user-package-conf
-split-objs -i -idist/build -i. -idist/build/autogen -Idist/build/autogen
-Idist/build -Iinclude -optP-include
-optPdist/build/autogen/cabal_macros.h -#include "runProcess.h" -odir
dist/build -hidir dist/build -stubdir dist/build -package base-4.0.0.0
-package directory-1.0.0.2 -package filepath-1.1.0.1 -package unix-2.3.1.0
-O -XCPP -idist/build -H32m -O -I/opt/local/include -L/opt/local/lib -O2
-Rghc-timing -XGenerics -Wall -fno-warn-deprecated-flags -c
System/Process.hs -o dist/build/System/Process.o -ohi
dist/build/System/Process.hi
<<ghc: 129856224 bytes, 14 GCs, 5350741/11415552 avg/max bytes residency
(3 samples), 39M in use, 0.00 INIT (0.00 elapsed), 0.29 MUT (1.59
elapsed), 0.11 GC (0.12 elapsed) :ghc>>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
-package-name process-1.0.1.0 -hide-all-packages -no-user-package-conf
-split-objs -i -idist/build -i. -idist/build/autogen -Idist/build/autogen
-Idist/build -Iinclude -optP-include
-optPdist/build/autogen/cabal_macros.h -#include "runProcess.h" -odir
dist/build -hidir dist/build -stubdir dist/build -package base-4.0.0.0
-package directory-1.0.0.2 -package filepath-1.1.0.1 -package unix-2.3.1.0
-O -XCPP -idist/build -H32m -O -I/opt/local/include -L/opt/local/lib -O2
-Rghc-timing -XGenerics -Wall -fno-warn-deprecated-flags -c System/Cmd.hs
-o dist/build/System/Cmd.o -ohi dist/build/System/Cmd.hi
<<ghc: 19931520 bytes, 6 GCs, 116736/143360 avg/max bytes residency (2
samples), 33M in use, 0.00 INIT (0.00 elapsed), 0.03 MUT (0.11 elapsed),
0.02 GC (0.03 elapsed) :ghc>>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.10.1/ghc/stage1-inplace/ghc
-Iinclude -package base-4.0.0.0 -package directory-1.0.0.2 -package
filepath-1.1.0.1 -package unix-2.3.1.0 -optc-O2 -odir dist/build -c
cbits/runProcess.c -o dist/build/cbits/runProcess.o
cbits/runProcess.c:15:21:
error: execvpe.h: No such file or directory
cbits/runProcess.c: In function 'runInteractiveProcess':
cbits/runProcess.c:149:0:
warning: implicit declaration of function 'execvpe'
make[2]: *** [dist/build/cbits/runProcess.o] Error 1
make[1]: *** [make.library.process] Error 2
make: *** [stage1] Error 2
Error: Status 1 encountered during processing.
}}}
--
Comment:
Please remember to use WikiFormatting (or an attachment).
--
Ticket URL: <http://trac.macports.org/ticket/19401#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list