[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#616494: git-annex: FTBFS on various archs: undefined reference to symbol 'sem_close@@GLIBC_…'



Hi,

Am Samstag, den 05.03.2011, 23:04 +0530 schrieb Joachim Breitner:
> Am Samstag, den 05.03.2011, 18:15 +0530 schrieb Joachim Breitner:
> > This seems to affects building any binary, including the next version of
> > ghc (which causes bootstrapping issues with possible fixes), see
> > http://lists.debian.org/20110228140945.GC23101@ubuntu.lan
> 
> but it is really strange what is affected and what not. Both kfreebsd-*
> variants built ghc and haskell-transformers just fine. kfreebsd-i386
> then built haskell-mtl successfull¹ while kfreebsd-amd64 failed² when
> building Setup.hs, which is identical to the one in
> haskell-transformers.
> 
> Let’s just hope that with 7.0.2 these problems disappear – they don’t
> look fun to debug.

unfortunately, they do not disappear. ghc 7.0.2 built on kfreebsd-amd64
and then haskell-transformers was attempted to be built:

if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
for setup in Setup.lhs Setup.hs; do if test -e $setup; then ghc --make $setup -o debian/hlibrary.setup; exit 0; fi; done
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking debian/hlibrary.setup ...
/usr/bin/ld: /usr/lib/ghc-7.0.2/unix-2.4.2.0/libHSunix-2.4.2.0.a(Semaphore.o): undefined reference to symbol 'sem_open@@GLIBC_2.3'
/usr/bin/ld: note: 'sem_open@@GLIBC_2.3' is defined in DSO //lib/libpthread.so.0 so try adding it to the linker command line
//lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

https://buildd.debian.org/fetch.cgi?pkg=haskell-transformers&arch=kfreebsd-amd64&ver=0.2.2.0-1%2Bb1&stamp=1299445919&file=log&as=raw

Strangely, on kfreebsd-i386 everything works fine. What is this
randomness? One difference according to the build logs is that the
failing build hat binutils_2.21-4 while the successful build had
binutils_2.21-3. The changelog for binutils_2.21-4 is:
   * Fix handling of writable .eh_frame section in gold, taken from the
     2.21 branch.
which sounds unrelated.

The amd64 build, which also fails, has binutils_2.21.0.20110302-1.

Iain, can you verify that the menioned changes that you had to apply are
included in 7.0.2 or whether there is something missing?

Any help here is appreciated.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: