Debian Bug report logs - #638598
sinfo: FTBFS with ld --as-needed

version graph

Package: sinfo; Maintainer for sinfo is Jürgen Rinas <>; Source for sinfo is src:sinfo.

Reported by: Ilya Barygin <>

Date: Sat, 20 Aug 2011 06:39:01 UTC

Severity: normal

Tags: patch, upstream

Found in version sinfo/0.0.42-1

Fixed in version sinfo/0.0.46-1

Done: Gaudenz Steinlin <>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to,, Jürgen Rinas <>:
Bug#638598; Package sinfo. (Sat, 20 Aug 2011 06:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ilya Barygin <>:
New Bug report received and forwarded. Copy sent to, Jürgen Rinas <>. (Sat, 20 Aug 2011 06:39:05 GMT) Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Ilya Barygin <>
To: Debian Bug Tracking System <>
Subject: sinfo: FTBFS with ld --as-needed
Date: Sat, 20 Aug 2011 10:35:30 +0400
Package: sinfo
Version: 0.0.42-1
Severity: normal
Tags: upstream patch
Usertags: ld-as-needed

The package fails to build when --as-needed linker option is enabled,
because of incorrect order of parameters passed to ld. Here's a log of
failed build in Ubuntu:

See also

The following patch was used in Ubuntu to fix the problem.

only in patch2:
--- sinfo-0.0.42.orig/sinfod/
+++ sinfo-0.0.42/sinfod/
@@ -31,13 +31,13 @@
 sinfod_LDADD = \
+	../librpc/	\
 	../libsinfotypes/		\
 	../libsinfometer/		\
 	../libmessage/	\
 	../libmessageparser/	\
 	../libmessageiobase/	\
 	../libmessageio/	\
-	../librpc/	\
 	-lpthread -lboost_signals-mt
only in patch2:
--- sinfo-0.0.42.orig/sinfod/
+++ sinfo-0.0.42/sinfod/
@@ -266,13 +266,13 @@
 sinfod_LDADD = \
+	../librpc/	\
 	../libsinfotypes/		\
 	../libsinfometer/		\
 	../libmessage/	\
 	../libmessageparser/	\
 	../libmessageiobase/	\
 	../libmessageio/	\
-	../librpc/	\
 	-lpthread -lboost_signals-mt

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric
  APT policy: (500, 'oneiric')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Reply sent to Gaudenz Steinlin <>:
You have taken responsibility. (Sat, 30 Jun 2012 00:27:03 GMT) Full text and rfc822 format available.

Notification sent to Ilya Barygin <>:
Bug acknowledged by developer. (Sat, 30 Jun 2012 00:27:03 GMT) Full text and rfc822 format available.

Message #10 received at (full text, mbox):

From: Gaudenz Steinlin <>
Subject: Bug#638598: fixed in sinfo 0.0.46-1
Date: Sat, 30 Jun 2012 00:24:37 +0000
Source: sinfo
Source-Version: 0.0.46-1

We believe that the bug you reported is fixed in the latest version of
sinfo, which is due to be installed in the Debian FTP archive:

  to main/s/sinfo/sinfo_0.0.46-1.debian.tar.gz
  to main/s/sinfo/sinfo_0.0.46-1.dsc
  to main/s/sinfo/sinfo_0.0.46-1_amd64.deb
  to main/s/sinfo/sinfo_0.0.46.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Gaudenz Steinlin <> (supplier of updated sinfo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing

Hash: SHA512

Format: 1.8
Date: Fri, 29 Jun 2012 17:05:40 +0200
Source: sinfo
Binary: sinfo
Architecture: source amd64
Version: 0.0.46-1
Distribution: unstable
Urgency: low
Maintainer: Jürgen Rinas <>
Changed-By: Gaudenz Steinlin <>
 sinfo      - tool for monitoring computer clusters using broadcasts
Closes: 638598
 sinfo (0.0.46-1) unstable; urgency=low
   * [1ded3a2] Change order of libs to fix FTBS with --as-needed.
     Thanks to Ilya Barygin for the patch. (Closes: #638598)
   * [1d8fad4] Imported Upstream version 0.0.46
   * [7b82716] Convert to dpkg v3 source format
   * [1add553] Update Debian policy version (no changes)
   * [eeb01de] Convert debian/rules to dh command sequencer
   * [82f10ef] Remove no longer needed FTBS fix for GCC 4.4
 9c4e82b75f15620fb86e6495fb3fcdb2ee180955 1447 sinfo_0.0.46-1.dsc
 4667ec130687281c6d1c8740d2b8a289751fbd56 659279 sinfo_0.0.46.orig.tar.gz
 5d45c4d5a6d85ca2b15eeccecdeb21b164fb8173 15251 sinfo_0.0.46-1.debian.tar.gz
 644fef0f857fa8cf3e8b6eb209371cd5a0a2a115 677746 sinfo_0.0.46-1_amd64.deb
 2bef747236a287ee27612262ee46c926d384a372f5e5a4312685840755caa3f7 1447 sinfo_0.0.46-1.dsc
 9c4599cc4de214e1bb2f4bf4d4f97d17ad03fefdeca22b4341105186aa16cc96 659279 sinfo_0.0.46.orig.tar.gz
 c59bad21f1b5a9a6af08c73bd06f2215bc6e74cbf1682cea76ae4549785d0e8d 15251 sinfo_0.0.46-1.debian.tar.gz
 39339561cb327313321e4c8312b0eaaba5f198420a5ec83d383fdfc4afc5a067 677746 sinfo_0.0.46-1_amd64.deb
 36e2cdbe851eb8ec705ea96be0acfbb7 1447 net optional sinfo_0.0.46-1.dsc
 dd194346a717d217273ec3b7bb194da1 659279 net optional sinfo_0.0.46.orig.tar.gz
 cc4d91bc7f5cdd724a164187d7e87e09 15251 net optional sinfo_0.0.46-1.debian.tar.gz
 72e2b8d5d2162d878525a749d43dd4f0 677746 net optional sinfo_0.0.46-1_amd64.deb

Version: GnuPG v1.4.12 (GNU/Linux)


Bug archived. Request was from Debbugs Internal Request <> to (Sat, 28 Jul 2012 07:41:10 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Wed Apr 16 10:41:07 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.