On Fri, 07 Mar 2008, Bastian Blank wrote:
> On Fri, Mar 07, 2008 at 03:05:06PM +0100, Raphael Hertzog wrote:
> > Is that a build of the current source package "xen-unstable" on
> > architecture amd64?
>
> It is the version which just hit NEW. But xen-3 is also affected.
Ok. The bug has been identified. The following patch should fix it:
diff --git a/scripts/Dpkg/Shlibs/Objdump.pm b/scripts/Dpkg/Shlibs/Objdump.pm
index 35a05ac..9bb9802 100644
--- a/scripts/Dpkg/Shlibs/Objdump.pm
+++ b/scripts/Dpkg/Shlibs/Objdump.pm
@@ -315,7 +315,8 @@ sub apply_relocations {
sub add_dynamic_symbol {
my ($self, $symbol) = @_;
- $symbol->{soname} = $self->{SONAME};
+ $symbol->{objid} = $symbol->{soname} = $self->get_id();
+ $symbol->{soname} =~ s{^.*/}{} unless $self->{SONAME};
if ($symbol->{version}) {
$self->{dynsyms}{$symbol->{name} . '@' . $symbol->{version}} = $symbol;
} else {
The problem happens only when the library has no soname as is the case
with various files in that source package. I'll commit the fix in the git
repo.
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/