HEAD unbuildable

Kathleen Fisher kathleen.fisher at gmail.com
Sat Aug 28 16:04:40 EDT 2010


I am also having trouble building the HEAD.  Has this problem been fixed?

If I do:

> >make maintainer-clean
> >./darcs-all pull -a
> >perl boot
> >./configure --prefix /Users/kfisher/ghc-head
> > make

I get the error:

> ....
> Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal ...
> Undefined symbols:
>   "_processzm1zi0zi1zi2_SystemziProcessziInternals_CreatePipe_closure", referenced from:
>       _sTT9_info in Utils.o
>       _sTT9_info in Utils.o
>       _sTT9_info in Utils.o
>   "_processzm1zi0zi1zi2_SystemziProcessziInternals_CreateProcess_con_info", referenced from:
>       _sTMB_info in Utils.o
>       _sTT9_info in Utils.o
>       _s3e1M_info in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcessziInternals_runGenProcesszu1_info", referenced from:
>       _sTT9_info in Utils.o
>       _s3e1M_info in Test.o
>   "___stginit_processzm1zi0zi1zi2_SystemziCmd_", referenced from:
>       ___stginit_DistributionziSimpleziUtils_ in Utils.o
>   "_processzm1zi0zi1zi2_SystemziProcessziInternals_runGenProcesszu1_closure", referenced from:
>       _DistributionziSimpleziUtils_rawSystemStdInOut1_srt in Utils.o
>       _DistributionziSimpleziTest_zdwa_srt in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcess_rawSystem4_closure", referenced from:
>       _DistributionziSimpleziUtils_rawSystemStdInOut1_srt in Utils.o
>       _DistributionziSimpleziTest_zdwa_srt in Test.o
>   "___stginit_processzm1zi0zi1zi2_SystemziProcess_", referenced from:
>       ___stginit_DistributionziSimpleziUtils_ in Utils.o
>       ___stginit_DistributionziSimpleziTest_ in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcess_rawSystem3_closure", referenced from:
>       _DistributionziSimpleziUtils_rawSystemExit1_srt in Utils.o
>   "_processzm1zi0zi1zi2_SystemziProcess_runProcess3_closure", referenced from:
>       _s3e1M_info in Test.o
>       _DistributionziSimpleziTest_zdwa_srt in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcessziInternals_UseHandle_con_info", referenced from:
>       _s3e1M_info in Test.o
>       _s3e1M_info in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcessziInternals_RawCommand_con_info", referenced from:
>       _sTMB_info in Utils.o
>       _sTT9_info in Utils.o
>       _s3e0Q_info in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcess_rawSystem2_closure", referenced from:
>       _sTMB_info in Utils.o
>       _DistributionziSimpleziUtils_rawSystemExit1_srt in Utils.o
>   "_processzm1zi0zi1zi2_SystemziProcess_runInteractiveProcess2_closure", referenced from:
>       _sTT9_info in Utils.o
>       _DistributionziSimpleziUtils_rawSystemStdInOut1_srt in Utils.o
>   "_processzm1zi0zi1zi2_SystemziProcess_rawSystem3_info", referenced from:
>       _sTMB_info in Utils.o
>   "_processzm1zi0zi1zi2_SystemziProcess_runProcess2_closure", referenced from:
>       _DistributionziSimpleziTest_zdwa_srt in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcess_rawSystem4_info", referenced from:
>       _sTSw_info in Utils.o
>       _s3e1I_info in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcess_runProcess2_info", referenced from:
>       _s3e1F_info in Test.o
>       _s3e1C_info in Test.o
>       _s3e1y_info in Test.o
>   "_processzm1zi0zi1zi2_SystemziProcessziInternals_Inherit_closure", referenced from:
>       _sTMB_info in Utils.o
>       _sTMB_info in Utils.o
>       _sTMB_info in Utils.o
>       _s3e1M_info in Test.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Error 1
> make: *** [all] Error 2

I'm running on Mac OSX.  Any suggestions for how to fix?

Kathleen

On Aug 26, 2010, at 2:24 AM, Simon Peyton-Jones wrote:

> Sorry, my fault. Simon M is fixing
>  
> S
>  
> From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of Johan Tibell
> Sent: 26 August 2010 09:08
> To: glasgow-haskell-users
> Subject: HEAD unbuildable
>  
> I'm having trouble building HEAD, to the point where even running "make clean" fails.
> 
> $ make clean && make maintainer-clean
> make -r --no-print-directory -f ghc.mk clean CLEANING=YES
> "rm" -rf inplace
> "rm" -rf 
> "rm" -rf docs/users_guide/users_guide docs/users_guide/users_guide.pdf docs/users_guide/users_guide.ps
> "rm" -rf docs/users_guide/users_guide.xml docs/users_guide/what_glasgow_exts_does.gen.xml
> "rm" -rf docs/man/ghc.1 docs/man/flags.xsl docs/man/flags.xml
> "rm" -rf libraries/Cabal/doc/Cabal libraries/Cabal/doc/Cabal.pdf libraries/Cabal/doc/Cabal.ps
> "rm" -rf utils/unlit/dist
> "rm" -rf inplace/lib/
> "rm" -rf utils/hp2ps/dist
> "rm" -rf inplace/bin/hp2ps
> "rm" -rf driver/mangler/dist inplace/lib/
> "rm" -rf driver/split/dist inplace/lib/
> "rm" -rf utils/genprimopcode/dist
> "rm" -rf inplace/bin/
> "rm" -rf  libffi/build libffi/stamp.ffi.* libffi/dist-install
> "rm" -rf includes/dist-derivedconstants
> "rm" -rf inplace/bin/mkDerivedConstants
> "rm" -rf includes/dist-ghcconstants
> "rm" -rf inplace/bin/mkGHCConstants
> "rm" -rf  includes/ghcautoconf.h includes/ghcplatform.h includes/GHCConstants.h includes/DerivedConstants.h
> "rm" -rf rts/dist
> "rm" -rf bindisttest/"install dir"  bindisttest/HelloWorld bindisttest/HelloWorld.o bindisttest/HelloWorld.hi bindisttest/output
> "rm" -rf  utils/ghc-cabal/dist bootstrapping
> "rm" -rf utils/ghc-cabal/dist-dummy-ghc
> "rm" -rf inplace/bin/dummy-ghc
> "rm" -rf utils/genapply/dist
> "rm" -rf inplace/bin/
> "rm" -rf utils/haddock/dist
> "rm" -rf utils/haddock/doc/haddock utils/haddock/doc/haddock.pdf utils/haddock/doc/haddock.ps
> make[1]: *** No rule to make target `clean_libraries/dph/dph-base', needed by `clean_libraries/dph'.  Stop.
> make: *** [clean] Error 2
> 
> A normal make fails on some profiling thingy.
> 
> -- Johan
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100828/fb7abbac/attachment.html


More information about the Glasgow-haskell-users mailing list