[Pkg-haskell-maintainers] Bug#592822: FTBFS [!x86]: /usr/bin/ld: cannot find -lHSrts_thr

Marco Túlio Gontijo e Silva marcot at debian.org
Sun Aug 15 20:07:49 UTC 2010


Hi Leksah maintainers.

Excerpts from dann frazier's message of Qui Ago 12 23:07:06 -0300 2010:
> Source: haskell-leksah-server
> Version: 0.8.0.6-1
> Severity: important
> 
> haskell-leksah-server fails to build on non-x86 architectures, all
> with the same error message.
> 
> Complete build logs are available here:
>  https://buildd.debian.org/pkg.cgi?pkg=haskell-leksah-server
> 
> From the most recent build attempt on hppa:
> [...]
> [17 of 18] Compiling IDE.Metainfo.PackageCollector ( src/IDE/Metainfo/PackageCollector.hs, dist-ghc6/build/leksah-server/leksah-server-tmp/IDE/Metainfo/PackageCollector.o )
> [18 of 18] Compiling Main             ( src/IDE/Metainfo/Collector.hs, dist-ghc6/build/leksah-server/leksah-server-tmp/Main.o )
> Linking dist-ghc6/build/leksah-server/leksah-server ...
> /usr/bin/ld: cannot find -lHSrts_thr
> collect2: ld returned 1 exit status
> make: *** [build-ghc6-stamp] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 

GHC -threaded option only works in x86 arches (i386 and amd64).  Is it really
needed in all cases?  Maybe, if you want to keep -threaded as default, you can
create a threaded flag, like how it is done in hlint[0].  This was included in
hlint after the same bug[1] happened with this package.

Greetings.

0: http://hackage.haskell.org/packages/archive/hlint/1.7.3/hlint.cabal
1: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541679
-- 
marcot
http://wiki.debian.org/MarcoSilva
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20100815/2f5f29bc/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list