Re: HEAD build fails on OS X
On Tue, Apr 9, 2013 at 10:14 PM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Tue, Apr 9, 2013 at 10:24 AM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Tue, Apr 9, 2013 at 12:15 AM, Kazu Yamamoto k...@iij.ad.jp wrote: Same error for me on Linux: http://www.haskell.org/pipermail/ghc-devs/2013-March/000835.html http://www.haskell.org/pipermail/ghc-devs/2013-April/000985.html Just FYI. I don't see any errors on Linux today. This was on i386, but for good measure I will retry with current HEAD at 9e46066. Here's how far 9e46066 got during 'make install' after a successful BuildFlavor=perf build: [...] Installing library in /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/haskell2010-1.1.1.0 /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/bin/ghc-pkg --force --global-package-db /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/package.conf.d update rts/package.conf.install /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/bin/ghc-pkg: error while loading shared libraries: libHSbin-package-db-0.0.0.0-ghc7.7.20130409.so: cannot open shared object file: No such file or directory make[1]: *** [install_packages] Error 127 make: *** [install] Error 2 Related: http://www.haskell.org/pipermail/ghc-devs/2013-August/002167.html ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
On Tue, Aug 27, 2013 at 11:22 PM, Carter Schonwald carter.schonw...@gmail.com wrote: what version of Xcode do you have installed? Sorry, that was meant to only cross-link the original report from April to the new thread, and this is all happening on Linux. On Tue, Aug 27, 2013 at 4:41 PM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Tue, Apr 9, 2013 at 10:14 PM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Tue, Apr 9, 2013 at 10:24 AM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Tue, Apr 9, 2013 at 12:15 AM, Kazu Yamamoto k...@iij.ad.jp wrote: Same error for me on Linux: http://www.haskell.org/pipermail/ghc-devs/2013-March/000835.html http://www.haskell.org/pipermail/ghc-devs/2013-April/000985.html Just FYI. I don't see any errors on Linux today. This was on i386, but for good measure I will retry with current HEAD at 9e46066. Here's how far 9e46066 got during 'make install' after a successful BuildFlavor=perf build: [...] Installing library in /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/haskell2010-1.1.1.0 /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/bin/ghc-pkg --force --global-package-db /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/package.conf.d update rts/package.conf.install /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/bin/ghc-pkg: error while loading shared libraries: libHSbin-package-db-0.0.0.0-ghc7.7.20130409.so: cannot open shared object file: No such file or directory make[1]: *** [install_packages] Error 127 make: *** [install] Error 2 Related: http://www.haskell.org/pipermail/ghc-devs/2013-August/002167.html ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
On 4/8/13, Kazu Yamamoto k...@iij.ad.jp wrote: i seem to be able to get a working build of ghc head on my mac with the merge commit by spj from april 3 that has sha hash: b84da617c4dadcfbf47796e7a75c21d6b4c4947a Yes. The build/installation problems on Mac have been fixed. But the Hi Kazu, I thought this issue is closed, until I tried to re-bootstrap on OS X with a freshly built GHC from HEAD as bootstrap compiler. I get the same trap, and the ffi dylib issue. 7.7-20130223 works, yesterday's version doesn't. The problem appears already while configuring. Could you try to reproduce this? Cheers, Gabor installation problem on FreeBSD has not been fixed yet. http://hackage.haskell.org/trac/ghc/ticket/7806 --Kazu ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
Gabor, I thought this issue is closed, until I tried to re-bootstrap on OS X with a freshly built GHC from HEAD as bootstrap compiler. I get the same trap, and the ffi dylib issue. 7.7-20130223 works, yesterday's version doesn't. The problem appears already while configuring. Could you try to reproduce this? Yes, I can reproduce it. After make install, the installed GHC refers libffi in the build directory. % otool -L ghc | grep libffi /Users/kazu/work/ghc/libffi/build/inst/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.0.0) So, after I did make maintainer-clean, the installed GHC could not find a libffi. Note that I did not specify --with-system-libffi to configure in this case. --Kazu ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
After make install, the installed GHC refers libffi in the build directory. % otool -L ghc | grep libffi /Users/kazu/work/ghc/libffi/build/inst/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.0.0) So, after I did make maintainer-clean, the installed GHC could not find a libffi. Note that I did not specify --with-system-libffi to configure in this case. Even --with-system-libffi is specified, the installed GHC says: % ghc --version dyld: Library not loaded: /Users/kazu/work/ghc/libraries/transformers/dist-install/build/libHStransformers-0.3.0.0-ghc7.7.20130413.dylib Referenced from: /Users/kazu/bin/ghc-head/lib/ghc-7.7.20130413/bin/../haskeline-0.7.0.4/libHShaskeline-0.7.0.4-ghc7.7.20130413.dylib Note that both libHShaskeline and libHStransformers are certainly installed. --Kazu ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
On Tue, Apr 9, 2013 at 12:15 AM, Kazu Yamamoto k...@iij.ad.jp wrote: Same error for me on Linux: http://www.haskell.org/pipermail/ghc-devs/2013-March/000835.html http://www.haskell.org/pipermail/ghc-devs/2013-April/000985.html Just FYI. I don't see any errors on Linux today. This was on i386, but for good measure I will retry with current HEAD at 9e46066. ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
On Tue, Apr 9, 2013 at 10:24 AM, Tuncer Ayaz tuncer.a...@gmail.com wrote: On Tue, Apr 9, 2013 at 12:15 AM, Kazu Yamamoto k...@iij.ad.jp wrote: Same error for me on Linux: http://www.haskell.org/pipermail/ghc-devs/2013-March/000835.html http://www.haskell.org/pipermail/ghc-devs/2013-April/000985.html Just FYI. I don't see any errors on Linux today. This was on i386, but for good measure I will retry with current HEAD at 9e46066. Here's how far 9e46066 got during 'make install' after a successful BuildFlavor=perf build: [...] Installing library in /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/haskell2010-1.1.1.0 /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/bin/ghc-pkg --force --global-package-db /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/package.conf.d update rts/package.conf.install /tmp/ghc/7.7.git/lib/ghc-7.7.20130409/bin/ghc-pkg: error while loading shared libraries: libHSbin-package-db-0.0.0.0-ghc7.7.20130409.so: cannot open shared object file: No such file or directory make[1]: *** [install_packages] Error 127 make: *** [install] Error 2 ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
Hey all, i seem to be able to get a working build of ghc head on my mac with the merge commit by spj from april 3 that has sha hash: b84da617c4dadcfbf47796e7a75c21d6b4c4947a I've run ghc-stage2 --interactive from the ./inplace director and it seems to work. I will test it more over the next day as I have time. I should also mention that running the make build process ended with the following warning, which is probably irrelevant: Warning: -rtsopts and -with-rtsopts have no effect with -shared. Call hs_init_ghc() from your main() function to set these options. I hope this is helpful -Carter On Wed, Apr 3, 2013 at 8:35 PM, Kazu Yamamoto k...@iij.ad.jp wrote: Richard, Here's the end of my output: Installing library in /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/haskell2010-1.1.1.0 /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/bin/ghc-pkg --force --global-package-db /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/package.conf.d update rts/package.conf.install dyld: Library not loaded: @loader_path/../terminfo-0.3.2.5/libHSterminfo-0.3.2.5-ghc7.7.20130403.dylib Referenced from: /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/bin/ghc-pkg Reason: image not found make[1]: *** [install_packages] Trace/BPT trap: 5 Please join this ticket. http://hackage.haskell.org/trac/ghc/ticket/7686 http://hackage.haskell.org/trac/ghc/ticket/7806 --Kazu ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
HEAD build fails on OS X
I got a fresh copy of HEAD today, and the build failed. The failing command is: $ cd libraries sh gen_contents_index --intree haddock: internal error: /Users/andreas/repos/temp-ghc-2/ghc-build/inplace/lib/html/Ocean.std-theme/hslogo-16.png: copyFile: does not exist (No such file or directory) I have not yet had time to look into this, but hopefully someone knows what happened here. -Andi ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
Andreas, After seeing this, I updated my 'pristine' (unmodified, completely clean) GHC tree to the latest HEAD, copied the mk/build.mk.sample over my existing build.mk (since Ian made some changes to it recently,) and HEAD builds fine for me as of this morning. I'm running the testsuite now... Specs - OS X Mountain Lion 10.8.3. My HEAD points to commit 9d33fc3c55fe5f45ebaec5f2031e63813a2ba27a by Ian this morning. On Wed, Apr 3, 2013 at 9:08 AM, Andreas Voellmy andreas.voel...@gmail.comwrote: I got a fresh copy of HEAD today, and the build failed. The failing command is: $ cd libraries sh gen_contents_index --intree haddock: internal error: /Users/andreas/repos/temp-ghc-2/ghc-build/inplace/lib/html/Ocean.std-theme/hslogo-16.png: copyFile: does not exist (No such file or directory) I have not yet had time to look into this, but hopefully someone knows what happened here. -Andi ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs -- Regards, Austin - PGP: 4096R/0x91384671 ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
On 4/3/13, Richard Eisenberg e...@cis.upenn.edu wrote: I'm able to build, but not install, on a freshly-cloned HEAD, commit b84da617, from Simon PJ. Here's the end of my output: Installing library in /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/haskell2010-1.1.1.0 /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/bin/ghc-pkg --force --global-package-db /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/package.conf.d update rts/package.conf.install dyld: Library not loaded: @loader_path/../terminfo-0.3.2.5/libHSterminfo-0.3.2.5-ghc7.7.20130403.dylib Referenced from: /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/bin/ghc-pkg Reason: image not found make[1]: *** [install_packages] Trace/BPT trap: 5 I'm on MacOS 10.7.5. I see the same thing on 10.8.3. Commandline tools. Cheers, Gabor Thanks, Richard ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
Richard, Here's the end of my output: Installing library in /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/haskell2010-1.1.1.0 /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/bin/ghc-pkg --force --global-package-db /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/package.conf.d update rts/package.conf.install dyld: Library not loaded: @loader_path/../terminfo-0.3.2.5/libHSterminfo-0.3.2.5-ghc7.7.20130403.dylib Referenced from: /Users/rae/local/stow/ghc-head/lib/ghc-7.7.20130403/bin/ghc-pkg Reason: image not found make[1]: *** [install_packages] Trace/BPT trap: 5 Please join this ticket. http://hackage.haskell.org/trac/ghc/ticket/7686 http://hackage.haskell.org/trac/ghc/ticket/7806 --Kazu ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: HEAD build fails on OS X
I was wrong, it just take quite a bit longer to fail. Here's the trace for a single-threaded build: cho rts/dist/ffi/*.o rts/dist/build/Adjustor.debug_o rts/dist/build/Arena.debug_o rts/dist/build/Capability.debug_o rts/dist/build/ClosureFlags.debug_o rts/dist/build/Disassembler.debug_o rts/dist/build/FileLock.debug_o rts/dist/build/FrontPanel.debug_o rts/dist/build/Globals.debug_o rts/dist/build/Hash.debug_o rts/dist/build/Hpc.debug_o rts/dist/build/HsFFI.debug_o rts/dist/build/Inlines.debug_o rts/dist/build/Interpreter.debug_o rts/dist/build/LdvProfile.debug_o rts/dist/build/Linker.debug_o rts/dist/build/Messages.debug_o rts/dist/build/OldARMAtomic.debug_o rts/dist/build/Papi.debug_o rts/dist/build/Printer.debug_o rts/dist/build/ProfHeap.debug_o rts/dist/build/Profiling.debug_o rts/dist/build/Proftimer.debug_o rts/dist/build/RaiseAsync.debug_o rts/dist/build/RetainerProfile.debug_o rts/dist/build/RetainerSet.debug_o rts/dist/build/RtsAPI.debug_o rts/dist/build/RtsDllMain.debug_o rts/dist/build/RtsFlags.debug_o rts/dist/build/RtsMain.debug_o rts/dist/build/RtsMessages.debug_o rts/dist/build/RtsStartup.debug_o rts/dist/build/RtsUtils.debug_o rts/dist/build/STM.debug_o rts/dist/build/Schedule.debug_o rts/dist/build/Sparks.debug_o rts/dist/build/Stable.debug_o rts/dist/build/Stats.debug_o rts/dist/build/StgCRun.debug_o rts/dist/build/StgPrimFloat.debug_o rts/dist/build/Task.debug_o rts/dist/build/ThreadLabels.debug_o rts/dist/build/ThreadPaused.debug_o rts/dist/build/Threads.debug_o rts/dist/build/Ticky.debug_o rts/dist/build/Timer.debug_o rts/dist/build/Trace.debug_o rts/dist/build/WSDeque.debug_o rts/dist/build/Weak.debug_o rts/dist/build/hooks/FlagDefaults.debug_o rts/dist/build/hooks/MallocFail.debug_o rts/dist/build/hooks/OnExit.debug_o rts/dist/build/hooks/OutOfHeap.debug_o rts/dist/build/hooks/StackOverflow.debug_o rts/dist/build/parallel/0Hash.debug_o rts/dist/build/parallel/0Unpack.debug_o rts/dist/build/parallel/Dist.debug_o rts/dist/build/parallel/Global.debug_o rts/dist/build/parallel/GranSim.debug_o rts/dist/build/parallel/HLComms.debug_o rts/dist/build/parallel/LLComms.debug_o rts/dist/build/parallel/Pack.debug_o rts/dist/build/parallel/ParInit.debug_o rts/dist/build/parallel/ParTicky.debug_o rts/dist/build/parallel/Parallel.debug_o rts/dist/build/parallel/ParallelDebug.debug_o rts/dist/build/parallel/RBH.debug_o rts/dist/build/sm/BlockAlloc.debug_o rts/dist/build/sm/Compact.debug_o rts/dist/build/sm/Evac.debug_o rts/dist/build/sm/GC.debug_o rts/dist/build/sm/GCAux.debug_o rts/dist/build/sm/GCUtils.debug_o rts/dist/build/sm/MBlock.debug_o rts/dist/build/sm/MarkWeak.debug_o rts/dist/build/sm/Sanity.debug_o rts/dist/build/sm/Scav.debug_o rts/dist/build/sm/Storage.debug_o rts/dist/build/sm/Sweep.debug_o rts/dist/build/eventlog/EventLog.debug_o rts/dist/build/posix/GetEnv.debug_o rts/dist/build/posix/GetTime.debug_o rts/dist/build/posix/Itimer.debug_o rts/dist/build/posix/OSMem.debug_o rts/dist/build/posix/OSThreads.debug_o rts/dist/build/posix/Select.debug_o rts/dist/build/posix/Signals.debug_o rts/dist/build/posix/TTY.debug_o rts/dist/build/Apply.debug_o rts/dist/build/Exception.debug_o rts/dist/build/HeapStackCheck.debug_o rts/dist/build/PrimOps.debug_o rts/dist/build/StgMiscClosures.debug_o rts/dist/build/StgStartup.debug_o rts/dist/build/StgStdThunks.debug_o rts/dist/build/Updates.debug_o rts/dist/build/AutoApply.debug_o | xargs /usr/bin/ar clqs rts/dist/build/libHSrts_debug.a /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(darwin.o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(ffi.o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(FrontPanel.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(LdvProfile.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(OldARMAtomic.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(Papi.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(Profiling.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(RetainerProfile.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(RetainerSet.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(RtsDllMain.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(0Hash.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(0Unpack.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(Dist.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(Global.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(GranSim.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(HLComms.debug_o) has no symbols /usr/bin/ranlib: file: rts/dist/build/libHSrts_debug.a(LLComms.debug_o) has no symbols /usr/bin/ranlib: file: