[Pkg-haskell-maintainers] Bug#616568: haskell-mtl: FTBFS: libHSunix-2.4.1.0.a(Semaphore.o): undefined reference

Cyril Brulebois kibi at debian.org
Sat Mar 5 17:07:17 UTC 2011


Source: haskell-mtl
Version: 2.0.1.0-1
Severity: serious
Justification: FTBFS

Hi,

your package no longer builds. Example on kfreebsd-i386:
| [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
| Linking debian/hlibrary.setup ...
| /usr/bin/ld: /usr/lib/ghc-7.0.1/unix-2.4.1.0/libHSunix-2.4.1.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
| debian/hlibrary.setup configure --ghc -v2 \
| 		--prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib \
| 		--builddir=dist-ghc \
| 		--haddockdir=/usr/lib/ghc-7.0.1/haddock/mtl-2.0.1.0/ \
| 		--htmldir=/usr/share/doc/libghc-mtl-doc/html/ --enable-library-profiling \
| 		 
| make: debian/hlibrary.setup: Command not found

Full build logs:
  https://buildd.debian.org/status/package.php?p=haskell-mtl&suite=experimental

BTW, your build should probably break before even trying to call
debian/hlibrary.setup, right after the linking failure. You might want
to add a set -e to that loop.

KiBi.





More information about the Pkg-haskell-maintainers mailing list