build failure on FreeBSD 9.1

Páli Gábor János pali.gabor at gmail.com
Mon Mar 25 09:52:04 CET 2013


On Mon, Mar 25, 2013 at 3:42 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> Summary: building GHC head succeeds both on FreeBSD and Mac. But
> installing GHC head fails both on FreeBSD and Mac. This is probably
> because no installed scripts define (DY)LD_LIBRARY_PATH.

I tried to install the vanilla binary tarball that the builder client
created this morning [1] (i386), but I got the following errors at
install:

install: rts/dist/build/libCffi_debug-ghc7.7.20130325.so: No such file
or directory
install: rts/dist/build/libCffi_thr-ghc7.7.20130325.so: No such file
or directory
install: rts/dist/build/libCffi_thr_debug-ghc7.7.20130325.so: No such
file or directory
install: rts/dist/build/libCffi_l-ghc7.7.20130325.so: No such file or directory
install: rts/dist/build/libCffi_thr_l-ghc7.7.20130325.so: No such file
or directory
install: rts/dist/build/libffi-6.dll: No such file or directory
strip: '/usr/local/ghc-7.7/lib/ghc-7.7.20130325/rts-1.0/libffi-6.dll':
No such file
gmake[1]: *** [install_packages] Error 1
gmake: *** [install] Error 2

However, the builder itself happily passes the binary-dist and
test_bindist targets.

> If --with-system-libffi and etc are specified, both building and
> installation succeeds on FreeBSD. "validate" with these options still
> freezes:
>
>         http://hackage.haskell.org/trac/ghc/ticket/7652

Yes, I still have not solved this issue but working on it.

> Note that I set "sudo -w vfs.timestamp_precision=1" on FreeBSD
> according to:
>
>         http://hackage.haskell.org/trac/ghc/ticket/7592

This is unrelated to the freezes, it will only help you with
concurrently building the sources as it enables to use higher
precision for file system timestamps to avoid the previously
experienced make(1) problem.


[1] http://csupor.inf.elte.hu:8080/ghc/dist/freebsd8/current/dist/ghc-7.7.20130325-i386-portbld-freebsd.tar.bz2



More information about the ghc-devs mailing list