Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#541848: darcs: FTBFS: ld: cannot find -lHSrts_thr

 
   Soft32 Home -> Linux -> Bugs RC RSS
Next:  Bug#541846: devscripts: please add sensible-utils..  
Author Message
Kurt Roeckx

External


Since: Nov 20, 2006
Posts: 247



(Msg. 1) Posted: Sun Aug 16, 2009 1:20 pm
Post subject: Bug#541848: darcs: FTBFS: ld: cannot find -lHSrts_thr
Archived from groups: linux>debian>bugs>rc (more info?)

Source: darcs
Version: 2.3.0-1
Severity: serious

Hi,

There was an error while trying to autobuild your package:

> Start Time: 20090816-1603

[...]

> Build-Depends: debhelper (>= 7.0.50), quilt, ghc6 (>= 6.10.4), libcurl4-gnutls-dev (>= 7.19.1), libghc6-hashed-storage-dev, libghc6-haskeline-dev, libghc6-html-dev, libghc6-http-dev, libghc6-mmap-dev, libghc6-mtl-dev, libghc6-network-dev, libghc6-parsec2-dev, libghc6-regex-compat-dev, libghc6-terminfo-dev, libghc6-utf8-string-dev, libghc6-zlib-dev

[...]

> Toolchain package versions: libc6.1-dev_2.9-23 linux-libc-dev_2.6.30-5 g++-4.3_4.3.4-1+b1 gcc-4.3_4.3.4-1+b1 binutils_2.19.51.20090805-1 libstdc++6_4.4.1-2 libstdc++6-4.3-dev_4.3.4-1+b1
>

[...]

> [132 of 136] Compiling Darcs.TheCommands ( src/Darcs/TheCommands.hs, dist/build/darcs/darcs-tmp/Darcs/TheCommands.o )
> [133 of 136] Compiling Darcs.Commands.Help ( src/Darcs/Commands/Help.lhs, dist/build/darcs/darcs-tmp/Darcs/Commands/Help.o )
> [134 of 136] Compiling Darcs.ArgumentDefaults ( src/Darcs/ArgumentDefaults.lhs, dist/build/darcs/darcs-tmp/Darcs/ArgumentDefaults.o )
> [135 of 136] Compiling Darcs.RunCommand ( src/Darcs/RunCommand.hs, dist/build/darcs/darcs-tmp/Darcs/RunCommand.o )
> [136 of 136] Compiling Main ( src/darcs.hs, dist/build/darcs/darcs-tmp/Main.o )
> Linking dist/build/darcs/darcs ...
> /usr/bin/ld: cannot find -lHSrts_thr
> collect2: ld returned 1 exit status
> make[1]: *** [override_dh_auto_build] Error 1
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> make[1]: Leaving directory `/build/buildd-darcs_2.3.0-1-alpha-LAnFfY/darcs-2.3.0'

A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=darcs&ver=2.3.0-1


Kurt




--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Trent W. Buck

External


Since: Jul 11, 2007
Posts: 60



(Msg. 2) Posted: Sun Aug 23, 2009 7:20 am
Post subject: Bug#541848: darcs: FTBFS: ld: cannot find -lHSrts_thr [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, Aug 16, 2009 at 07:01:42PM +0200, Kurt Roeckx wrote:
> Source: darcs
> Version: 2.3.0-1
> Severity: serious
>
>> [136 of 136] Compiling Main ( src/darcs.hs, dist/build/darcs/darcs-tmp/Main.o )
>> Linking dist/build/darcs/darcs ...
>> /usr/bin/ld: cannot find -lHSrts_thr
>> collect2: ld returned 1 exit status
>> make[1]: *** [override_dh_auto_build] Error 1
>
> A full build log can be found at:
> http://buildd.debian.org/build.php?arch=alpha&pkg=darcs&ver=2.3.0-1

I don't understand what happened here.
I need someone who knows more about GHC to explain it.
Accordingly, I have CC'd the debian-haskell team.



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Trent W. Buck

External


Since: Jul 24, 2009
Posts: 4



(Msg. 3) Posted: Sat Oct 31, 2009 5:20 am
Post subject: Bug#541848: darcs: FTBFS: ld: cannot find -lHSrts_thr [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sun, Sep 13, 2009 at 08:48:43AM +0000, Joachim Breitner wrote:
>>>>> Linking dist/build/darcs/darcs ...
>>>>> /usr/bin/ld: cannot find -lHSrts_thr
>
> [...]
> DEB_SETUP_GHC6_CONFIGURE_ARGS := $(shell test -e /usr/lib/ghc-$(GHC6_VERSION)/libHSrts_thr.a || echo --flags=-threaded)

Future Haskell packagers,

You can simulate this problem (and trigger Joachim's fix) on a system
that *does* support -threaded by simply doing this:

sudo dpkg-divert --rename /usr/lib/ghc*/libHSrts_thr.a

To reverse this, run again with --remove before --rename. This is
handy for testing because my AMD64 outperforms my ARM one Wink

Joachim, FYI, I have adopted your approach, with the minor change of
using the gmakism $(wildcard ...). Untested:

ifeq (,$(wildcard /usr/lib/ghc-$(GHC6_VERSION)/libHSrts_thr.a))
DEB_SETUP_GHC6_CONFIGURE_ARGS += -f-threaded
endif



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#435600: apt-rpm_0.5.15lorg3.2-2(ia64/unstable): FTBFS:.. - Package: apt-rpm Version: 0.5.15lorg3.2-2 Severity: serious There was an error while trying to autobuild your package:...

Bug#424445: Proposed patch for #424445 (turkey FTBFS) - I have used a slightly modified version of your patch in Ubuntu, and now thanks to you we also are able to compile for....

Bug#435572: octave2.1-forge: the package cannot be install.. - Package: octave2.1-forge Severity: serious Justification: Policy 3.5 Hi, the package depends on libgsl0 which is no....

Bug#311188: (no subject) - I send some little pings to some of the bugs who can be easily fixed. For the syslogd stuff I would wait if joey..

Bug#435586: centerim-utf8: undeclared overlap with centerim - Package: centerim-utf8 Version: 4.22.1-1 Severity: serious Package does not install: Unpacking centerim-utf8 (from..

rageircd ftbfs on alpha, cannot find epoll system call - Hi, rageircd fails to build on alpha, "Cannot find epoll system call for socket engine". Epoll is the only s...
       Soft32 Home -> Linux -> Bugs RC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]