Debian Bug report logs - #631693
garmin-ant-downloader: FTBFS with ld --as-needed

version graph

Package: garmin-ant-downloader; Maintainer for garmin-ant-downloader is (unknown);

Reported by: Ilya Barygin <barygin@gmail.com>

Date: Sun, 26 Jun 2011 10:09:01 UTC

Severity: normal

Tags: patch

Found in version garmin-ant-downloader/0:20100425-1

Fixed in version garmin-ant-downloader/0:20110626-1

Done: Christian Perrier <bubulle@debian.org>

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 debian-bugs-dist@lists.debian.org, barygin@gmail.com, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#631693; Package garmin-ant-downloader. (Sun, 26 Jun 2011 10:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ilya Barygin <barygin@gmail.com>:
New Bug report received and forwarded. Copy sent to barygin@gmail.com, Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Sun, 26 Jun 2011 10:09:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ilya Barygin <barygin@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: garmin-ant-downloader: FTBFS with ld --as-needed
Date: Sun, 26 Jun 2011 14:06:33 +0400
[Message part 1 (text/plain, inline)]
Package: garmin-ant-downloader
Version: 0:20100425-1
Severity: normal
Tags: patch
User: debian-gcc@lists.debian.org
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:
https://launchpadlibrarian.net/72511233/buildlog_ubuntu-oneiric-i386.garmin-ant-downloader_0%3A20100425-1_FAILEDTOBUILD.txt.gz

See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/garmin-ant-downloader/0:20100425-1ubuntu1

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

Kernel: Linux 2.6.38-10-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
[link-options.patch (text/x-makefile, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#631693; Package garmin-ant-downloader. (Sun, 26 Jun 2011 11:27:23 GMT) (full text, mbox, link).


Acknowledgement sent to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Sun, 26 Jun 2011 11:27:26 GMT) (full text, mbox, link).


Message #10 received at 631693@bugs.debian.org (full text, mbox, reply):

From: Christian PERRIER <bubulle@debian.org>
To: Klaus@ethgen.de
Cc: 631693@bugs.debian.org, Ilya Barygin <barygin@gmail.com>
Subject: (forw) [Pkg-running-devel] Bug#631693: garmin-ant-downloader: FTBFS with ld --as-needed
Date: Sun, 26 Jun 2011 13:22:57 +0200
Klaus, the following is probably worth being applied "upstream", ie in
your git repo.

Then, I would call this a "new upstream release", resync from your
repo and upload a new 201106xx release of garmin-ant-downloader to Debian.

Ilya, thanks for reporting and proposing a patch. I like this
Ubuntu-Debian interaction!

----- Forwarded message from Ilya Barygin <barygin@gmail.com> -----

Date: Sun, 26 Jun 2011 14:06:33 +0400
From: Ilya Barygin <barygin@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: [Pkg-running-devel] Bug#631693: garmin-ant-downloader: FTBFS with ld --as-needed
X-Mailer: reportbug 5.1.1ubuntu1
Reply-To: Ilya Barygin <barygin@gmail.com>, 631693@bugs.debian.org
X-CRM114-Status: Good  ( pR: 28.9106 )

Package: garmin-ant-downloader
Version: 0:20100425-1
Severity: normal
Tags: patch
User: debian-gcc@lists.debian.org
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:
https://launchpadlibrarian.net/72511233/buildlog_ubuntu-oneiric-i386.garmin-ant-downloader_0%3A20100425-1_FAILEDTOBUILD.txt.gz

See also
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

The attached patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/garmin-ant-downloader/0:20100425-1ubuntu1

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

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

Description: Place needed libraries in a correct variable.
Author: Ilya Barygin <barygin@gmail.com>
--- garmin-ant-downloader-20100425.orig/Makefile
+++ garmin-ant-downloader-20100425/Makefile
@@ -1,5 +1,5 @@
 CFLAGS=-g -Wall `xml2-config --cflags`
-LDFLAGS=-lpthread -lm `xml2-config --libs`
+LDLIBS=-lpthread -lm `xml2-config --libs`
 
 all:	gant
 

_______________________________________________
Pkg-running-devel mailing list
Pkg-running-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-running-devel


----- End forwarded message -----





Information forwarded to debian-bugs-dist@lists.debian.org, Debian running development group <pkg-running-devel@lists.alioth.debian.org>:
Bug#631693; Package garmin-ant-downloader. (Sun, 26 Jun 2011 12:59:30 GMT) (full text, mbox, link).


Acknowledgement sent to Klaus Ethgen <Klaus@ethgen.de>:
Extra info received and forwarded to list. Copy sent to Debian running development group <pkg-running-devel@lists.alioth.debian.org>. (Sun, 26 Jun 2011 12:59:33 GMT) (full text, mbox, link).


Message #15 received at 631693@bugs.debian.org (full text, mbox, reply):

From: Klaus Ethgen <Klaus@ethgen.de>
To: Christian PERRIER <bubulle@debian.org>
Cc: 631693@bugs.debian.org, Ilya Barygin <barygin@gmail.com>
Subject: Re: (forw) [Pkg-running-devel] Bug#631693: garmin-ant-downloader: FTBFS with ld --as-needed
Date: Sun, 26 Jun 2011 13:44:31 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Christian,

Am So den 26. Jun 2011 um 12:22 schrieb Christian PERRIER:
> Klaus, the following is probably worth being applied "upstream", ie in
> your git repo.

Done. See 584c768aa81e0a23b2ac7c8dd178d9894f93f214.

> Ilya, thanks for reporting and proposing a patch. I like this
> Ubuntu-Debian interaction!

Feel free to send git patches (git format-patch). I am open for
contributions.

So I did a own comment giving credits to all involved people. ;-)

Regards
   Klaus
- -- 
Klaus Ethgen                              http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16   Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQGcBAEBCgAGBQJOBymqAAoJEK8RO3RE9oVxAXAMAIPx5VzqsQd9Qt55jM8SQaHJ
v7lUFYqQFKOPsK53t85B+h/oLbtm4Ors6aKuvHZAl11jNVyO5dJu4ILOy5kcmy3E
MuYncm0I18ZwL+TFU7v627ZBb35VLmf4Lob9UOwYizLuL4ng2tO1lzc78jZm7Dy3
fLWAEVrWPzSzxF+MaQunrPUs3XBUkj+trxxDuW+3Heumbd4jcfv4Mo6417t0x04n
yh9Bbt7AjAQl0kDgwD+fKF7mDqf0dHjk+d9wg46qWOJxRe2q9E4Fzlz+QpSnS6XQ
iPtATrAo1W2d40wH0g+Fca2982W6KAkVi3blo2/0mEdEP+5Y8TLZXHg2UZQhxJT/
iQuInUgwotNxRc2fuO71crGUwtgZQbS8Vh4RM9NurzeLUwzYbym22VZCisd9zSwt
U9sgVU/Q9Pyj4tpdB/jMfZ3q5lTiZ51vTyhvTRpubB+sOB4bjJ4PrLR5B2i6r1xh
PpX5g8BmKNMzTDGwwPszoEwDAkfcXqCio4EmgKRZCw==
=fGjN
-----END PGP SIGNATURE-----




Reply sent to Christian Perrier <bubulle@debian.org>:
You have taken responsibility. (Wed, 29 Jun 2011 19:03:13 GMT) (full text, mbox, link).


Notification sent to Ilya Barygin <barygin@gmail.com>:
Bug acknowledged by developer. (Wed, 29 Jun 2011 19:03:13 GMT) (full text, mbox, link).


Message #20 received at 631693-close@bugs.debian.org (full text, mbox, reply):

From: Christian Perrier <bubulle@debian.org>
To: 631693-close@bugs.debian.org
Subject: Bug#631693: fixed in garmin-ant-downloader 0:20110626-1
Date: Wed, 29 Jun 2011 19:02:09 +0000
Source: garmin-ant-downloader
Source-Version: 0:20110626-1

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

garmin-ant-downloader_20110626-1.debian.tar.gz
  to main/g/garmin-ant-downloader/garmin-ant-downloader_20110626-1.debian.tar.gz
garmin-ant-downloader_20110626-1.dsc
  to main/g/garmin-ant-downloader/garmin-ant-downloader_20110626-1.dsc
garmin-ant-downloader_20110626-1_i386.deb
  to main/g/garmin-ant-downloader/garmin-ant-downloader_20110626-1_i386.deb
garmin-ant-downloader_20110626.orig.tar.gz
  to main/g/garmin-ant-downloader/garmin-ant-downloader_20110626.orig.tar.gz



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

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

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated garmin-ant-downloader 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 26 Jun 2011 15:26:35 +0200
Source: garmin-ant-downloader
Binary: garmin-ant-downloader
Architecture: source i386
Version: 0:20110626-1
Distribution: unstable
Urgency: low
Maintainer: Debian running development group <pkg-running-devel@lists.alioth.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 garmin-ant-downloader - ANT+ information retrieval client for Garmin GPS products
Closes: 631693
Changes: 
 garmin-ant-downloader (0:20110626-1) unstable; urgency=low
 .
   [ Ralf Treinen ]
   * debian/control: add Vcs-Git/Browser fields.
 .
   [ Christian Perrier ]
   * New upstream "release". Fixes "FTBFS with ld --as-need"
     Thanks to Ilya Barygin for the patch
     Closes: #631693
   * Drop safe-clean.patch as upstream's clean rule won't fail
     anymore when there's nothing to clean
Checksums-Sha1: 
 fb3e0cc158e4089fd7e967482202b36a7046396a 1999 garmin-ant-downloader_20110626-1.dsc
 59b033cb995796ec5c97b9f03c22a3c60adf35f3 20379 garmin-ant-downloader_20110626.orig.tar.gz
 a04b7db9befa9baabc8560de966fa806a0bc5229 2059 garmin-ant-downloader_20110626-1.debian.tar.gz
 7c9904ea66741de492b2582469bcab084e2b1e2b 22406 garmin-ant-downloader_20110626-1_i386.deb
Checksums-Sha256: 
 df7cffe6f8b39a2457571c4c8a4c9439a52d4452fb51e82c7fe9d63e3d128610 1999 garmin-ant-downloader_20110626-1.dsc
 66b3c57e3db5c0427007fae4d5c62f0758ad453eb82c4881f51c74d49c47fefe 20379 garmin-ant-downloader_20110626.orig.tar.gz
 fed82b6fb87ad694cca866e00005fc373f045a06e44d4eea4a25c1dc9dd77ecc 2059 garmin-ant-downloader_20110626-1.debian.tar.gz
 df40b7fa9c21e3d93a6b681fdffff72c3729f60057030830efeb892706114d77 22406 garmin-ant-downloader_20110626-1_i386.deb
Files: 
 48e30e4638241e1fe6ed02bbcab2537d 1999 utils optional garmin-ant-downloader_20110626-1.dsc
 1a90cb40dda57b98b769c2c37d8de21a 20379 utils optional garmin-ant-downloader_20110626.orig.tar.gz
 2e8e2a0fb82dbe6ab70fb80c09880a95 2059 utils optional garmin-ant-downloader_20110626-1.debian.tar.gz
 cb44435c04e55049f9e523f85680d5c5 22406 utils optional garmin-ant-downloader_20110626-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIVAwUBTgtzL4cvcCxNbiWoAQKAHw//aOWjzhKTKQjhiiIeTD6ip5PsYDyJSmhc
H/KS1cLNQFoE8SHj+XUrMWrIziuMFUJxwFSL9yvwluh7HwO/iYdfte7RtTUb6teO
0TPy0S/lQJhKSgrk3I8ePDDQNTyawoXCpesTbMzPsrAH0KzI4hk6fLEyVl7SPDLZ
xDjE6WHRtkK4I0r5vE9mM/E+7TdWExFBICeRwG6PpKAg5Q3N75H9n+j58bubllHD
O6fVhp/BmwyVB0fbxXKDYme349bkJvWXnhgPptgeA7IrFsC2xBEaxBg7yPmit9gE
mxZxMJhwmnMPs3/GRnELHmRvOYgac+k5hij2uG8yJ+2xDkwYJzXKn/TT/t1np8Js
c2z2S3Fium3uTnRTzC1llbp1oLSKSbBylERCjS8VJ1Bgp6d94mc+udrARhtQ4TNH
cRo06n2rgFwqjDhogB5zh+Z66Rxc9517SLgpqotKLy5+wiiNR1PYBxaFnl+AEJj0
MbGh9E6Nhz7rCDlvROFVcLWFqlDfOin+XBbihslBR4JiSsEY1jcE1Yy63rd07xRX
HBK8RrSliCSnEYSFzs+nR99Tid3kbm3DWZdtcITN6A9YRbUEGBRX8D/tB/OCdpXW
tnoxckJ3w/XMLl95vAqMZ/kxQKbirehlOa/S/hWVjmCEM0s6d0CrFjo3UUHZzM00
ZsXX5/tFmpk=
=/dLC
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 07 Aug 2011 07:43:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 15:08:49 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.