Your message dated Mon, 29 Dec 2008 05:32:04 +0000
with message-id <[email protected]>
and subject line Bug#506139: fixed in dpkg 1.14.24
has caused the Debian Bug report #506139,
regarding dpkg-dev: Parsing error in Objdump.pm causes erroneous output in
dpkg-shlibdeps
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
506139: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506139
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.14.22
Severity: normal
I got lots of lines warning of useless dependencies on libraries because
I didn't use any symbols.
dpkg-shlibdeps: warning: dependency on libncurses.so.5 could be avoided if
"debian/libtermkey0/usr/lib/libtermkey.so.0.1" were not uselessly linked
against it (they use none of its symbols).
A quick look with 'nm -D' on the library in my package and the library
it claimed to link against showed this was bogus:
$ nm -D libtermkey.so | grep tiogetstr
U tigetstr
$ nm -D /usr/lib/libncurses.so.5 | grep tigetstr
000000000002bfd0 T tigetstr
I went hunting in the code and eventually found this to be a bug in a
regexp in Objdump.pm, line 255:
if ($line =~ /^[0-9a-f]+
(.{7})\s+(\S+)\s+[0-9a-f]+\s+(\S+)?(?:(?:\s+$vis_re)?\s+(\S+))/) {
This RE uses a useless noncapturing group at the end (?: ... ) when I
think it ought to be moved. If I inspect runtime using perl -d on this
module against my library, I find:
$line = "0000000000000000 D *UND*\cI0000000000000000 snprintf"
Using your original regexp:
eval: [ $line =~ /^[0-9a-f]+
(.{7})\s+(\S+)\s+[0-9a-f]+\s+(\S+)?(?:(?:\s+$vis_re)?\s+(\S+))/ ]
[ ]
I.e. no match. Instead by fixing it:
eval: [ $line =~ /^[0-9a-f]+
(.{7})\s+(\S+)\s+[0-9a-f]+(?:\s+(\S+))?(?:\s+$vis_re)?\s+(\S+)/ ]
[ ' D ', '*UND*', undef, undef, 'snprintf' ]
corresponding to the variables later unpacked:
my ($flags, $sect, $ver, $vis, $name) = ($1, $2, $3, $4, $5);
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dpkg-dev depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii cpio 2.9-13 GNU cpio -- a program to manage ar
ii dpkg 1.14.22 Debian package management system
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii lzma 4.43-14 Compression method of 7z format in
ii make 3.81-5 The GNU version of the "make" util
ii patch 2.5.9-5 Apply a diff file to an original
ii perl [perl5] 5.10.0-17 Larry Wall's Practical Extraction
ii perl-modules 5.10.0-17 Core Perl modules
Versions of packages dpkg-dev recommends:
ii build-essential 11.4 Informational list of build-essent
ii gcc [c-compiler] 4:4.3.2-2 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.2-23 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.2-1 The GNU C compiler
Versions of packages dpkg-dev suggests:
ii debian-keyring 2008.07.22 GnuPG (and obsolete PGP) keys of D
ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.14.24
We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:
dpkg-dev_1.14.24_all.deb
to pool/main/d/dpkg/dpkg-dev_1.14.24_all.deb
dpkg_1.14.24.dsc
to pool/main/d/dpkg/dpkg_1.14.24.dsc
dpkg_1.14.24.tar.gz
to pool/main/d/dpkg/dpkg_1.14.24.tar.gz
dpkg_1.14.24_i386.deb
to pool/main/d/dpkg/dpkg_1.14.24_i386.deb
dselect_1.14.24_i386.deb
to pool/main/d/dpkg/dselect_1.14.24_i386.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <[email protected]> (supplier of updated dpkg 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 29 Dec 2008 05:38:31 +0100
Source: dpkg
Binary: dpkg dpkg-dev dselect
Architecture: source i386 all
Version: 1.14.24
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <[email protected]>
Changed-By: Guillem Jover <[email protected]>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
Closes: 506139 507217 507219 507346 508392 509150 509424 509887
Changes:
dpkg (1.14.24) unstable; urgency=low
.
[ Raphael Hertzog ]
* Fix parsing of objdump output (by dpkg-shlibdeps) in a special case where
the symbol name is separated only with a single space. Closes: #506139
* Fix dpkg-shlibdeps behaviour when Build-Depends-Package is used in the
symbols file. It was merging all dependency templates into the generated
dependency instead of simply modifying the minimal version. Thanks to
Modestas Vainius <[email protected]>. Closes: #507346
* Fix dpkg-source to correctly extract a source package even when called
from a non-writable directory when a target directory has been specified
on the command line. Closes: #507217, #507219
.
[ Guillem Jover ]
* Do not allow installing packages with non-obsolete conffiles owned by
other packages without a proper Replaces field. Closes: #508392
.
[ Updated dselect translations ]
* Galician (Marce Villarino). Closes: #509887
.
[ Updated dpkg translations ]
* Galician (Marce Villarino). Closes: #509150
* Vietnamese (Clytie Siddall). Closes: #509424
.
[ Updated scripts translations ]
* Improve German translation.
Checksums-Sha1:
90fb7664755d275097d563dab63b2e137f94b325 1215 dpkg_1.14.24.dsc
cb24965fe2278f0f72338d9aeafd7764a62a43da 6813642 dpkg_1.14.24.tar.gz
99724f0aa5de5c8cf8f518a294e9b06bde1172f4 2340728 dpkg_1.14.24_i386.deb
7988ef6a7e0c548f060197899585c62a77663bce 789386 dselect_1.14.24_i386.deb
a4c48e6f01b4eef71fc37f415e62d55ad7f34200 764370 dpkg-dev_1.14.24_all.deb
Checksums-Sha256:
00e4ad1590b6a169aa52069fcbd3b25e3d3cf1e640391ce6726cb3a04f2f876b 1215
dpkg_1.14.24.dsc
ce21cdae0981f2043715142e6b254b7e867e71e5d81b3b210c0e741b0b6e760c 6813642
dpkg_1.14.24.tar.gz
794c79af9ba44207d9f0f48beb1ca670b6899bdf88dc611032cc355fb6df3c22 2340728
dpkg_1.14.24_i386.deb
4184f05da5d401c2403718dee54404c9125dd22f65de45b423519301ad2334a9 789386
dselect_1.14.24_i386.deb
c8c119fa4ad160caee0ed052d7310f3d59de374cc55cff3b189113d0f0ec852f 764370
dpkg-dev_1.14.24_all.deb
Files:
6bde50b234067db41befb08dd36ca5c8 1215 admin required dpkg_1.14.24.dsc
36c784e66fdd311b90a05a4f234a758a 6813642 admin required dpkg_1.14.24.tar.gz
77ef07a9573617b95d686ee5ed9a71d3 2340728 admin required dpkg_1.14.24_i386.deb
19003fe0626d880aed65d3232538eab0 789386 admin optional dselect_1.14.24_i386.deb
6ee9956ae5cbd0a2ab3a9bcf502edbc6 764370 utils optional dpkg-dev_1.14.24_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklYVrQACgkQuW9ciZ2SjJsrSACgv4FE3XnhS0hCpOAH1qOHb7Ia
v84AnjIi9hFT4QGDichUp/uwyTShnKzs
=rxGV
-----END PGP SIGNATURE-----
--- End Message ---