build failure on FreeBSD 9.1
Ian Lynagh
ian at well-typed.com
Tue Mar 19 20:22:30 CET 2013
On Tue, Mar 19, 2013 at 12:02:37PM +0900, Kazu Yamamoto wrote:
>
> Thank you. Building now works. But "validate" fails.
>
> "/usr/home/kazu/work/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/bin/ghc-pkg" --force --global-package-db "/usr/home/kazu/work/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/package.conf.d" update rts/package.conf.install
> Shared object "libffi.so.6" not found, required by "libHSrts-ghc7.7.20130319.so"
I can't reproduce this. My ghc-pkg can find libffi:
$ ldd "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/bin/ghc-pkg" | grep ffi
libffi.so.6 => /home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/bin/../rts-1.0/libffi.so.6 (0x00007fd2faf6e000)
The library exists:
$ ls -l "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/bin/../rts-1.0/libffi.so.6"
-rw-r--r-- 1 ian ian 105366 Mar 19 18:15 /home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/bin/../rts-1.0/libffi.so.6
It was installed earlier, by:
for i in rts/dist/build/libHSrts.a [...] rts/dist/build/libffi.so rts/dist/build/libffi.so.6 rts/dist/build/libffi.so.6.0.0 ; do case $i in *.a) /usr/bin/install -c -m 644 $i "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/rts-1.0"; true "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/rts-1.0"/`basename $i` ;; *.dll) /usr/bin/install -c -m 755 $i "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/rts-1.0" ; : "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/rts-1.0"/`basename $i` ;; *.so) /usr/bin/install -c -m 755 $i "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/rts-1.0" ;; *.dylib) /usr/bin/install -c -m 755 $i "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/rts-1.0";; *) /usr/bin/install -c -m 644 $i "/home/ian/ghc/git/ghc/bindisttest/install dir/lib/ghc-7.7.20130319/rts-1.0"; esac; done
Which bit is it that goes wrong for you?
Thanks
Ian
More information about the ghc-devs
mailing list