#7798 closed bug (fixed)

test_bindist reports ".../libffi-6.dll (No such file or directory)"

Reported by: thorkilnaur Owned by:
Priority: normal Milestone:
Component: Build System Version: 7.7
Keywords: Cc: pho@…, byorgey@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Since http://darcs.haskell.org/ghcBuilder/builders/tn23/873.html, the tn23 builder

$ uname -a
Darwin thorkil-naurs-intel-mac-mini.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
$

has failed with (http://darcs.haskell.org/ghcBuilder/builders/tn23/876/16.html):

ranlib: file: /Users/thorkilnaur/tn/builders/GHCBuilder/tn23/builder/tempbuild/build/bindisttest/install dir/lib/ghc-7.7.20130328/rts-1.0/libCffi_thr_p.a(ffi64.o) has no symbols
install: rts/dist/build/libCffi_debug-ghc7.7.20130328.dylib: No such file or directory
install: rts/dist/build/libCffi_thr-ghc7.7.20130328.dylib: No such file or directory
install: rts/dist/build/libCffi_thr_debug-ghc7.7.20130328.dylib: No such file or directory
install: rts/dist/build/libCffi_l-ghc7.7.20130328.dylib: No such file or directory
install: rts/dist/build/libCffi_thr_l-ghc7.7.20130328.dylib: No such file or directory
install: rts/dist/build/libffi-6.dll: No such file or directory
strip: can't open file: /Users/thorkilnaur/tn/builders/GHCBuilder/tn23/builder/tempbuild/build/bindisttest/install dir/lib/ghc-7.7.20130328/rts-1.0/libffi-6.dll (No such file or directory)
make[3]: *** [install_packages] Error 1
make[2]: *** [install] Error 2
make[1]: *** [test_bindist] Error 2
make: *** [test_bindist] Error 2

The am-deb7-64 builder seems to have a similar problem (http://darcs.haskell.org/ghcBuilder/builders/am-deb7-64/356/16.html).

Best regards
Thorkil

Change History (4)

comment:1 Changed 13 months ago by PHO

  • Cc pho@… added

comment:2 Changed 13 months ago by byorgey

  • Cc byorgey@… added

comment:3 Changed 13 months ago by byorgey

I have no idea how the build system works but was able to do a bit of
basic sleuthing. Hopefully this info will be helpful to someone. As
can be seen at
http://darcs.haskell.org/ghcBuilder/builders/am-deb7-64/ the current
breakage first showed up on April 24. April 23 and before, the
relevant line in the log looked like

# rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a
rts/dist/build/libHSrts-ghc7.7.20130324.so rts/dist/build/libHSrts_l.a
rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a
rts/dist/build/libHSrts_thr_debug.a rts/dist/build/libHSrts_thr_l.a
rts/dist/build/libHSrts_thr_p.a
rts/dist/build/libHSrts_debug-ghc7.7.20130324.so
rts/dist/build/libHSrts_thr-ghc7.7.20130324.so
rts/dist/build/libHSrts_thr_debug-ghc7.7.20130324.so
rts/dist/build/libHSrts_l-ghc7.7.20130324.so
rts/dist/build/libHSrts_thr_l-ghc7.7.20130324.so
rts/dist/build/libffi.so rts/dist/build/libffi.so.6
rts/dist/build/libffi.so.6.0.0 = libraries to install

(I've split it up onto multiple lines to make it easier to read), but
beginning April 24 this line changed to

# rts/dist/build/libHSrts.a rts/dist/build/libHSrts_p.a
rts/dist/build/libHSrts-ghc7.7.20130325.so rts/dist/build/libHSrts_l.a
rts/dist/build/libHSrts_debug.a rts/dist/build/libHSrts_thr.a
rts/dist/build/libHSrts_thr_debug.a rts/dist/build/libHSrts_thr_l.a
rts/dist/build/libHSrts_thr_p.a
rts/dist/build/libHSrts_debug-ghc7.7.20130325.so
rts/dist/build/libHSrts_thr-ghc7.7.20130325.so
rts/dist/build/libHSrts_thr_debug-ghc7.7.20130325.so
rts/dist/build/libHSrts_l-ghc7.7.20130325.so
rts/dist/build/libHSrts_thr_l-ghc7.7.20130325.so
rts/dist/build/libffi.so rts/dist/build/libffi.so.6
rts/dist/build/libffi.so.6.0.0 rts/dist/build/libCffi.a
rts/dist/build/libCffi_p.a rts/dist/build/libCffi_l.a
rts/dist/build/libCffi_debug.a rts/dist/build/libCffi_thr.a
rts/dist/build/libCffi_thr_debug.a rts/dist/build/libCffi_thr_l.a
rts/dist/build/libCffi_thr_p.a
rts/dist/build/libCffi_debug-ghc7.7.20130325.so
rts/dist/build/libCffi_thr-ghc7.7.20130325.so
rts/dist/build/libCffi_thr_debug-ghc7.7.20130325.so
rts/dist/build/libCffi_l-ghc7.7.20130325.so
rts/dist/build/libCffi_thr_l-ghc7.7.20130325.so
rts/dist/build/libffi-6.dll = libraries to install

which now includes all the things like
rts/dist/build/libCffi_debug-ghc7.7.20130325.so which do not exist.

Given the date of the breakage and the subject it's not hard to guess
that it has something to do with one (or both) of these two commits:

comment:4 Changed 13 months ago by thorkilnaur

  • Resolution set to fixed
  • Status changed from new to closed

For tn23 and presumably also am-deb7-64, this has been fixed by

commit 6b431ab4e108b156d3da01c2b2c97a4313e5ebbb
Author: Ian Lynagh <ian@well-typed.com>
Date:   Wed Apr 3 12:47:36 2013 +0100

    Fix installation
    
    The build system thought that the RTS built more library files than
    it actually did, and installation failed when we tried to 'strip'
    one of these non-existant files.

Thanks and best regards
Thorkil

Note: See TracTickets for help on using tickets.