Package: dpkg-dev
Version: 1.14.9
Severity: serious
File: /usr/bin/dpkg-shlibdeps
Justification: breaks unrelated packages (through build-essential)

dpkg-shlibdeps has regressed. It now causes kdebase/experimental (3.96.0) to FTBFS with the following error messages:

dpkg-shlibdeps: warning: Can't extract name and version from library name 
`libkdeinit4_kfmclient.so'
dpkg-shlibdeps: warning: Can't extract name and version from library name 
`libkdeinit4_kfmclient.so'
dpkg-shlibdeps: warning: Can't extract name and version from library name 
`libkdeinit4_kfmclient.so'
dpkg-shlibdeps: warning: Can't extract name and version from library name 
`libkdeinit4_kfmclient.so'
dpkg-shlibdeps: warning: Can't extract name and version from library name 
`libkdeinit4_kfmclient.so'
dpkg-shlibdeps: failure: No dependency information found for 
libkdeinit4_kfmclient.so (used by debian/konqueror/usr/bin/kfmclient).
dh_shlibdeps: command returned error code 512
make: *** [binary-predeb-IMPL/konqueror] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 
2

Several thousand other warning messages are present, but since those do not cause an FTBFS, I have not pasted them here. objdump output is below:

stonewall ok % objdump -x ./konqueror/usr/lib/libkdeinit4_kfmclient.so | grep 
-E '(SONAME|NEEDED)'
  NEEDED      libQtCore.so.4
  NEEDED      libpthread.so.0
  NEEDED      libkdecore.so.5
  NEEDED      libkdeui.so.5
  NEEDED      libz.so.1
  NEEDED      libstreamanalyzer.so.0
  NEEDED      libstreams.so.0
  NEEDED      libsolid.so.4
  NEEDED      libfam.so.0
  NEEDED      libXrender.so.1
  NEEDED      libkio.so.5
  NEEDED      libQtSvg.so.4
  NEEDED      libSM.so.6
  NEEDED      libICE.so.6
  NEEDED      libX11.so.6
  NEEDED      libXext.so.6
  NEEDED      libXft.so.2
  NEEDED      libXau.so.6
  NEEDED      libXdmcp.so.6
  NEEDED      libXtst.so.6
  NEEDED      libXcursor.so.1
  NEEDED      libXfixes.so.3
  NEEDED      libQtNetwork.so.4
  NEEDED      libbz2.so.1.0
  NEEDED      libresolv.so.2
  NEEDED      libQtDBus.so.4
  NEEDED      libQtXml.so.4
  NEEDED      libQtGui.so.4
  NEEDED      libstdc++.so.6
  NEEDED      libm.so.6
  NEEDED      libc.so.6
  NEEDED      libgcc_s.so.1
  SONAME      libkdeinit4_kfmclient.so

I would provide you with more information if it were clear from the error messages what name and version you were looking for. Ah, it seems that dpkg-shlibdeps assumes a certain format for SONAMEs, even though this shared object appears to be a private plugin specific to the konqueror package. Dpkg::Shlibs::Objdump seems to be under the mistaken impression that having DYNAMIC and SONAME makes something a public library, and the combination of these two bugs causes the error listed above.

Perhaps Dpkg::Shlibs::Objdump should instead determine that something is a public library if it has a certain SONAME format (as well as DYNAMIC), and instead punt if it doesn't. Then extract_from_shlibs would not need that code, and although no shlibs file would be generated, it would at least not cause the build to fail.

dpkg 1.14.7 says instead:
dpkg-shlibdeps: warning: format of 'NEEDED libkdeinit4_keditbookmarks.so' not 
recognized
dpkg-shlibdeps: warning: format of 'NEEDED libkdeinit4_kfmclient.so' not 
recognized
dpkg-shlibdeps: warning: format of 'NEEDED libkdeinit4_konqueror.so' not 
recognized

but it does not fail.

N.B. Although the versions of dpkg-dev and dpkg are correct, this report was not generated on the failing system. Consequently, other package versions may not be correct.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg-dev depends on:
ii  binutils            2.18.1~cvs20071027-1 The GNU assembler, linker and bina
ii  cpio                2.9-6                GNU cpio -- a program to manage ar
ii  dpkg                1.14.9               package maintenance system for Deb
ii  make                3.81-3               The GNU version of the "make" util
ii  patch               2.5.9-4              Apply a diff file to an original
ii perl [perl5] 5.8.8-12 Larry Wall's Practical Extraction ii perl-modules 5.8.8-12 Core Perl modules

Versions of packages dpkg-dev recommends:
ii  bzip2                     1.0.3-7        high-quality block-sorting file co
ii  gcc [c-compiler]          4:4.2.1-6      The GNU C compiler
ii  gcc-4.1 [c-compiler]      4.1.2-17       The GNU C compiler
ii  gcc-4.2 [c-compiler]      4.2.2-3        The GNU C compiler
ii  gcc-4.3 [c-compiler]      4.3-20070902-1 The GNU C compiler

-- no debconf information

--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
a typesetting engine: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply via email to