Nicolas François:
> On Mon, Oct 02, 2006 at 11:39:50AM +0200, Per Olofsson wrote:
> > 
> > [EMAIL PROTECTED]:/data0/pelle/tightvnc-1.2.9$ dpkg-shlibdeps -O 
> > Xvnc/programs/Xserver/Xvnc
> > objdump: '/emul/ia32-linux/usr/lib/libz.so.1': No such file
> > objdump: /emul/ia32-linux/lib/libm.so.6: File format is ambiguous
> > objdump: Matching formats: elf32-i386 elf32-i386-freebsd
> > Undefined subroutine &main::WIFEXITED called at
> > /usr/lib/dpkg/controllib.pl line 433.
> 
> I can't reproduce it on i386 and amd64.

Nevermind the specific error, it's a bug in binutils-multiarch[1]. The
bug I'm reporting is that dpkg-shlibdeps doesn't properly handle cases
where commands return non-zero exit status (objdump in this case).

Look at the subprocerr function in /usr/lib/dpkg/controllib.pl. It
calls WIFEXITED and WIFSIGNALED. Where are these functions actually
defined? That's what perl is complaining about; it can't find them.


[1] You can reproduce it by installing binutils-multiarch and
    ia32-libs on an amd64 system. Reported as #380539.

-- 
Pelle


Reply via email to