Package: dpkg-dev Version: 1.15.4.1 Severity: normal File: /usr/bin/dpkg-shlibdeps
Hi, in the process of packaging the Intel pro c/c++ compiler I run into the problem that their libraries have broken "SONAME libfoo.so". They do not have any soversion at all. Because of this dpkg-shlibdeps ignores those libraries completly and one can not create a shlibs entry for them. I think it would be better if a soversion of 0 would be assumed in such cases so that one can still get automatic dependencies for such libs. The change in dpkg-shlibdeps would be simple: sub split_soname { my $soname = shift; if ($soname =~ /^(.*)\.so\.(.*)$/) { return wantarray ? ($1, $2) : 1; } elsif ($soname =~ /^(.*)-(\d.*)\.so$/) { return wantarray ? ($1, $2) : 1; + } elsif ($soname =~ /^(.*)\.so$/) { + return wantarray ? ($1, 0) : 1; } else { return wantarray ? () : 0; } } If that is acceptable then please do clone the bug to dh_makeshlibs so it automatically generates dependencies for such libs as well. MfG Goswin -- System Information: Debian Release: squeeze/sid APT prefers unstable-i386 APT policy: (1001, 'unstable-i386'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29.4-frosties-2 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages dpkg-dev depends on: ii binutils 2.19.51.20090805-1 The GNU assembler, linker and bina ii bzip2 1.0.5-3 high-quality block-sorting file co ii dpkg 1.15.4.1 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-6 An utility for Directing compilati ii patch 2.5.9-5 Apply a diff file to an original ii perl [perl5] 5.10.0-24 Larry Wall's Practical Extraction ii perl-modules 5.10.0-24 Core Perl modules Versions of packages dpkg-dev recommends: ii build-essential 11.4 Informational list of build-essent ii fakeroot 1.12.5 Gives a fake root environment ii gcc [c-compiler] 4:4.3.3-9 The GNU C compiler ii gcc-4.3 [c-compiler] 4.3.4-1 The GNU C compiler ii gcc-4.4 [c-compiler] 4.4.1-1 The GNU C compiler ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep ii gpgv 1.4.9-4 GNU privacy guard - signature veri Versions of packages dpkg-dev suggests: ii debian-keyring 2009.05.28 GnuPG (and obsolete PGP) keys of D ii debian-maintainers 1.64 GPG keys of Debian maintainers -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org