Package: libdpkg-perl Version: 1.15.7.2 Severity: important Tags: patch (Severity might even be upgraded as this can cause packages to FTBFS.) I just added arch=!armel to some of the symbols of libdiagnostics0 and found dpkg-gensymbols to fail in a strange way:
# dpkg-gensymbols -plibdiagnostics0 -d -c4
Using references symbols from debian/libdiagnostics0.symbols
Scanning debian/tmp/usr/lib/libdiagnostics.so.0 for symbol information
Merging symbols from debian/tmp/usr/lib/libdiagnostics.so.0 as
libdiagnostics.so.0
Scanning debian/tmp/usr/lib/libdiagnostics.so.0.1.2 for symbol information
Merging symbols from debian/tmp/usr/lib/libdiagnostics.so.0.1.2 as
libdiagnostics.so.0
Scanning debian/tmp/usr/lib/libdiagnostics.so for symbol information
Merging symbols from debian/tmp/usr/lib/libdiagnostics.so as libdiagnostics.so.0
Storing symbols in debian/tmp/DEBIAN/symbols.
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see
diff output below
dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols
file: see diff output below
# echo $?
1
Further debugging this I found that there is a typo in
/usr/share/perl5/Dpkg/Shlibs/Symbol.pm, line 272:
return 0 if $self->{tags}{$tag} ne defined $other->{tags}{$tag};
That "defined" doesn't make sense in there. Removing it makes things work fine.
Best,
Michael
pgpqdlvMK0CId.pgp
Description: PGP signature

