Debian Bug report logs - #655216
jack-tools: FTBFS with ld --as-needed

version graph

Package: jack-tools; Maintainer for jack-tools is Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>; Source for jack-tools is src:jack-tools (PTS, buildd, popcon).

Reported by: Leo Iannacone <l3on@ubuntu.com>

Date: Mon, 9 Jan 2012 12:44:19 UTC

Severity: serious

Tags: patch

Fixed in version jack-tools/20101210-2

Done: Alessio Treglia <alessio@debian.org>

Bug is archived. No further changes may be made.

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#655216; Package jack-tools. (Mon, 09 Jan 2012 12:44:29 GMT) (full text, mbox, link).


Acknowledgement sent to Leo Iannacone <l3on@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>. (Mon, 09 Jan 2012 12:44:35 GMT) (full text, mbox, link).


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

From: Leo Iannacone <l3on@ubuntu.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: jack-tools: FTBFS with ld --as-needed
Date: Mon, 09 Jan 2012 13:43:17 +0100
[Message part 1 (text/plain, inline)]
Package: jack-tools
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch



--r maintainer,

jack-tools fails to build with ld-as-needed.

The entire buildlog can be found here:
http://pastebin.com/raw.php?i=8S20yMNM

Snippet:
/bin/bash ./libtool --tag=CC   --mode=link gcc -D_POSIX_C_SOURCE=200112 -std=c99 -O3 -funroll-loops -Wall  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall  -Wl,-Bsymbolic-functions -Wl,-z,relro -ldl -lm -o jack.udp jack_udp-jack.udp.o common/libcommon.a -ljack -lpthread -lrt   
libtool: link: gcc -D_POSIX_C_SOURCE=200112 -std=c99 -O3 -funroll-loops -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o jack.udp jack_udp-jack.udp.o  -ldl -lm common/libcommon.a -ljack -lpthread -lrt
/usr/bin/ld: common/libcommon.a(libcommon_a-time-timeval.o): undefined reference to symbol 'floor@@GLIBC_2.0'
/usr/bin/ld: note: 'floor@@GLIBC_2.0' is defined in DSO /usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libm.so so try adding it to the linker command line
/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu/libm.so: could not read symbols: Invalid operation


Can you kindly consider to remove LDFLAGS from debian/rules and apply the following patch, that adds LIBS="-lm -ldl" to configure.ac.

Thanks in advance. 

Leo.


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

Kernel: Linux 3.2.0-030200rc7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
[fix-FTBFS-ld-as-needed.patch (text/plain, attachment)]

Added tag(s) pending. Request was from Alessio Treglia <alessio@debian.org> to control@bugs.debian.org. (Tue, 10 Jan 2012 18:51:13 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from Alessio Treglia <alessio@debian.org> to control@bugs.debian.org. (Tue, 10 Jan 2012 18:51:16 GMT) (full text, mbox, link).


Severity set to 'serious' from 'important' Request was from Alessio Treglia <alessio@debian.org> to control@bugs.debian.org. (Tue, 10 Jan 2012 19:00:11 GMT) (full text, mbox, link).


Reply sent to Alessio Treglia <alessio@debian.org>:
You have taken responsibility. (Tue, 10 Jan 2012 19:51:14 GMT) (full text, mbox, link).


Notification sent to Leo Iannacone <l3on@ubuntu.com>:
Bug acknowledged by developer. (Tue, 10 Jan 2012 19:51:14 GMT) (full text, mbox, link).


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

From: Alessio Treglia <alessio@debian.org>
To: 655216-close@bugs.debian.org
Subject: Bug#655216: fixed in jack-tools 20101210-2
Date: Tue, 10 Jan 2012 19:48:07 +0000
Source: jack-tools
Source-Version: 20101210-2

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

jack-tools_20101210-2.debian.tar.gz
  to main/j/jack-tools/jack-tools_20101210-2.debian.tar.gz
jack-tools_20101210-2.dsc
  to main/j/jack-tools/jack-tools_20101210-2.dsc
jack-tools_20101210-2_amd64.deb
  to main/j/jack-tools/jack-tools_20101210-2_amd64.deb



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 655216@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alessio Treglia <alessio@debian.org> (supplier of updated jack-tools 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: SHA512

Format: 1.8
Date: Tue, 10 Jan 2012 20:00:23 +0100
Source: jack-tools
Binary: jack-tools
Architecture: source amd64
Version: 20101210-2
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Alessio Treglia <alessio@debian.org>
Description: 
 jack-tools - various JACK tools: dl, record, scope, osc, plumbing, udp, play,
Closes: 643413 655216
Changes: 
 jack-tools (20101210-2) unstable; urgency=low
 .
   * Team upload.
   * ACK NMU.
 .
   [ IOhannes m zmölnig ]
   * Fix improper use of fprintf (Closes: #643413)
   * Added myself as copyright-holder in debian/
   * Updated homepage field
 .
   [ Adrian Knoth ]
   * Mark patch for #643413 as forwarded
 .
   [ Alessio Treglia ]
   * Fix FTBFS with ld --as-needed.
     Thanks to Leo Iannacone <l3on@ubuntu.com> (Closes: #655216)
   * Bump Standards.
Checksums-Sha1: 
 6dbbab216d8b04f97d4c1900eb5a73bf237f27ca 2207 jack-tools_20101210-2.dsc
 50e1e423dc1ce347bdfe2fd178f89e5a8dce13c7 6587 jack-tools_20101210-2.debian.tar.gz
 6d2311689e2e5d8e699c61683bf4bdb1556ae26f 94966 jack-tools_20101210-2_amd64.deb
Checksums-Sha256: 
 c6399ced7eb0354d27c4248e178c59c22a501931e870b4ddab0cf8c97d11610d 2207 jack-tools_20101210-2.dsc
 9aa5befd76b8d3a4166af14836cda75ecb7718fd7421994e098360bff43d09f6 6587 jack-tools_20101210-2.debian.tar.gz
 2c7b883b43c24c37861e78cde4b7002cde2be9b63aa0f91d2d417e1c60cf8bbd 94966 jack-tools_20101210-2_amd64.deb
Files: 
 f6c647cc125d0cf0ac46157766086d97 2207 sound optional jack-tools_20101210-2.dsc
 f2ff4d0e2487e458e412a7244d1ffded 6587 sound optional jack-tools_20101210-2.debian.tar.gz
 237f64ce4976b797483a0cef6f50e370 94966 sound optional jack-tools_20101210-2_amd64.deb

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

iQIcBAEBCgAGBQJPDJFhAAoJEOikiuUxHXZaS8cP/1UvmDb93jb8qQIl6U5cn5k4
J15U8XvHy0XmmvAXlwt4N8B2pyY5Quf5xgmkWKvzhvRVFv8eofsWfLHRNx3bJNfb
3V73hVa64kGMM+aC7TRfILN3lM2fFb0WOVFxNDadqm6GpMLmeE/t5p76l/7z4xqO
kZes6mieQRZngx0lEXj0IL6iQA4l470fW7q+NZN7mW/QjlwrDhjrYN3Qor7wjpTL
OIGuXxxrqqWI46bXniZpYPMflVHyzm4CFinBxVOnFHFmyQ0SHbYMcSgGZ3l3iWjD
+Av5mZcnFZcDswBqmOAXDR2cYaK0I4iJs4D6Bc/5B9i5cXkermiBL/cLyBosNzCS
uZEXLfKRZahwIMvIL7yneOPB8txtGUayYPNwJnywwtKH+EHa1Hiks8ODRPmYR8r+
On4AinABme7A+1g9yvxzV/pEto/O8J0ibkZopmQWwo1g8MwltsfZxSLkkDfDK9if
ZHEn10XrjTrJMhU3Lsv2xqqpRq9RnYX3Qib8ZVxpcuiYPQxgJTAu+QiX5hkBryrp
UBpDCa+qxASk5ZPcGld3rtJ+b6NJ1XwV8DPNWEjVbjCe4LZyk7jtSbb/MpC9eevX
y7J2+5l549rhX68EO/LGqBI+WwNAMBU1oRr37WI5iGZOmrq6BA8tWNCGc158Pb2G
x4HSECDFxPJso+uRuBa+
=t/Ag
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 18 Feb 2012 07:32:45 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: Thu Jan 23 21:18:13 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.