Debian Bug report logs -
#450447
athcool: FTBFS: undefined reference to `gzopen'
Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>
Date: Wed, 7 Nov 2007 12:30:02 UTC
Severity: serious
Tags: patch, sid
Found in version athcool/0.3.11-1
Fixed in version athcool/0.3.12-1
Done: Nicolas Boullis <nboullis@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Nicolas Boullis <nboullis@debian.org>:
Bug#450447; Package athcool.
(full text, mbox, link).
Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Nicolas Boullis <nboullis@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: athcool
version: 0.3.11-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20071106 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
dpkg-source: building athcool in athcool_0.3.11-1.dsc
debian/rules build
dh_testdir
/usr/bin/make CFLAGS="-Wall -g -O2"
make[1]: Entering directory `/build/user/athcool-0.3.11'
gcc -Wall -g -O2 -I. -I/usr/include -DPACKAGE=\"athcool\" -DVERSION=\"0.3.11\" -c athcool.c -o athcool.o
gcc -Wall -g -O2 -I. -I/usr/include -DPACKAGE=\"athcool\" -DVERSION=\"0.3.11\" -c scanpci.c -o scanpci.o
scanpci.c: In function 'scan_device':
scanpci.c:32: warning: pointer targets in passing argument 3 of 'pci_read_block' differ in signedness
scanpci.c:39: warning: pointer targets in passing argument 3 of 'pci_read_block' differ in signedness
scanpci.c:45: warning: pointer targets in passing argument 2 of 'pci_setup_cache' differ in signedness
gcc -Wall -g -O2 athcool.o scanpci.o -lpci -o athcool
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x533): undefined reference to `gzopen'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x5cc): undefined reference to `gzgets'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `pci_load_name_list':
(.text+0x628): undefined reference to `gzeof'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `.L154':
(.text+0x6e6): undefined reference to `gzclose'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `.L154':
(.text+0x7c5): undefined reference to `gzclose'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `.L154':
(.text+0xb59): undefined reference to `gzerror'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `.L154':
(.text+0xb7d): undefined reference to `gzclose'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `.L154':
(.text+0xc1b): undefined reference to `gzopen'
collect2: ld returned 1 exit status
make[1]: *** [athcool] Error 1
make[1]: Leaving directory `/build/user/athcool-0.3.11'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
The full build log is available from
http://people.debian.org/~lucas/logs/2007/11/06
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Information forwarded to debian-bugs-dist@lists.debian.org, Nicolas Boullis <nboullis@debian.org>:
Bug#450447; Package athcool.
(full text, mbox, link).
Acknowledgement sent to Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>:
Extra info received and forwarded to list. Copy sent to Nicolas Boullis <nboullis@debian.org>.
(full text, mbox, link).
Message #10 received at 450447@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tag 450447 patch
thanks
Lucas Nussbaum <lucas@lucas-nussbaum.net> (07/11/2007):
> gcc -Wall -g -O2 athcool.o scanpci.o -lpci -o athcool
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `pci_load_name_list':
> (.text+0x533): undefined reference to `gzopen'
> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libpci.a(names.o): In function `pci_load_name_list':
> […]
Missing -lz, patch attached.
There are some lintian warnings around, too:
(source) W: athcool source: debian-rules-ignores-make-clean-error line 28
(binary) E: athcool: postrm-contains-additional-updaterc.d-calls /etc/init.d/athcool
(binary) W: athcool: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/athcool
Cheers,
--
Cyril Brulebois
[athcool_debdiff.diff (text/plain, attachment)]
[Message part 3 (application/pgp-signature, inline)]
Tags added: patch
Request was from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
to control@bugs.debian.org.
(Fri, 16 Nov 2007 03:15:03 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#450447; Package athcool.
(full text, mbox, link).
Acknowledgement sent to Nicolas Boullis <nboullis@debian.org>:
Extra info received and forwarded to list.
(full text, mbox, link).
Message #17 received at 450447@bugs.debian.org (full text, mbox, reply):
block 450447 by 396640
thanks
Hi Cyril,
On Fri, Nov 16, 2007 at 04:13:28AM +0100, Cyril Brulebois wrote:
>
> Missing -lz, patch attached.
Thanks for your patch.
The thing is athcool does not need libz by itself, while libpci does.
The pciutils source package used to provide a shared libpci.so that
depended on libz, and everything was fine.
For some reason I don't know, the pciutil's maintainer decided not to
provide this shared library anymore, but only the static one.
Since that change, many FTBFS have been filed against packages that use
libpci (#403181 was against athcool); all have been reassigned to
pciutils-dev, and merged to #396640.
If you look at the last message to #396640, it seems that since 2.2.6
(current is 2.2.8), pciutils provides pkg-config support, which helps
bring the indirect dependencies in an automatic way.
I think I should wait for that version to fix athcool's build issue.
> There are some lintian warnings around, too:
> (source) W: athcool source: debian-rules-ignores-make-clean-error line 28
I'll fix it as well when pciutils-dev is sane enough for me to upload a
new athcool.
> (binary) E: athcool: postrm-contains-additional-updaterc.d-calls /etc/init.d/athcool
> (binary) W: athcool: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/athcool
I don't think these are problems.
Cheers,
Nicolas
Tags added: etch-ignore
Request was from zobel@ftbfs.de (Martin Zobel-Helas)
to control@bugs.debian.org.
(Thu, 24 Jan 2008 09:54:02 GMT) (full text, mbox, link).
Tags removed: etch-ignore
Request was from Martin Zobel-Helas <zobel@ftbfs.de>
to control@bugs.debian.org.
(Thu, 24 Jan 2008 18:21:26 GMT) (full text, mbox, link).
Tags added: sid
Request was from Martin Zobel-Helas <zobel@ftbfs.de>
to control@bugs.debian.org.
(Thu, 24 Jan 2008 18:21:53 GMT) (full text, mbox, link).
Blocking bugs of 445016 added: 450447
Request was from Nicolas Boullis <nboullis@debian.org>
to control@bugs.debian.org.
(Thu, 07 Feb 2008 22:30:14 GMT) (full text, mbox, link).
Reply sent to Nicolas Boullis <nboullis@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #32 received at 450447-close@bugs.debian.org (full text, mbox, reply):
Source: athcool
Source-Version: 0.3.12-1
We believe that the bug you reported is fixed in the latest version of
athcool, which is due to be installed in the Debian FTP archive:
athcool_0.3.12-1.diff.gz
to pool/main/a/athcool/athcool_0.3.12-1.diff.gz
athcool_0.3.12-1.dsc
to pool/main/a/athcool/athcool_0.3.12-1.dsc
athcool_0.3.12-1_i386.deb
to pool/main/a/athcool/athcool_0.3.12-1_i386.deb
athcool_0.3.12.orig.tar.gz
to pool/main/a/athcool/athcool_0.3.12.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 450447@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nicolas Boullis <nboullis@debian.org> (supplier of updated athcool 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.7
Date: Fri, 22 Feb 2008 23:28:54 +0100
Source: athcool
Binary: athcool
Architecture: source i386
Version: 0.3.12-1
Distribution: unstable
Urgency: low
Maintainer: Nicolas Boullis <nboullis@debian.org>
Changed-By: Nicolas Boullis <nboullis@debian.org>
Description:
athcool - tool to enable powersaving mode for Athlon/Duron processors
Closes: 445016 450447
Changes:
athcool (0.3.12-1) unstable; urgency=low
.
* New upstream release.
* Depend on pciutils-dev (>= 1:2.2.10) and pkg-config, and use
"pkg-config --libs libpci" to build statically with the correct
libraries. (Closes: #445016, #450447)
* Don't ignore failures of "make clean", as suggested by lintian. No
need to check for the existence of the Makefile.
* Improve the copyright notice in debian/copyright, as suggested by
lintian.
* Bump Standards-Version to 3.7.3 (no change required).
Files:
5dc19036537714f43b437df1da6ccddf 633 misc extra athcool_0.3.12-1.dsc
f2e0f4fbd04f5e1f09aa60a3ecb24645 18384 misc extra athcool_0.3.12.orig.tar.gz
ef564145162750624ffd698857cc999f 5635 misc extra athcool_0.3.12-1.diff.gz
454ed5a357f4b34d47f536c8e2087885 26996 misc extra athcool_0.3.12-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHv1ASwmyXkG1Pxm8RAnD3AJ9F1gy+1zhr0nBrY9h5+ryAis7GNACcC2zV
UervU5KkxbUmKFMUwMul+F0=
=Blyd
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 16 Mar 2009 08:57:31 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:
Wed Jan 10 22:26:04 2018;
Machine Name:
buxtehude
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.