Your message dated Sun, 08 Apr 2012 20:36:44 +0200
with message-id <[email protected]>
and subject line Re: Bug#668045: dpkg-dev: dpkg-shlibdeps breaks builds of 
mplayer2 (at least) in a powerpc system
has caused the Debian Bug report #668045,
regarding dpkg-dev: dpkg-shlibdeps breaks builds of mplayer2 (at least) in a 
powerpc system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
668045: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668045
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.16.2
Severity: important

Hi.

First, a meta-comment: Please, if this is not the proper package the bug
should be assigned, then please reassign it. I am also unsure of the
severity of the bug, as it breaks rebuilds of other packages.

OK, so, I am trying to chase a problem with illegal instructions on this
notebook and I tried recompiling mplayer2 from sid.

Removing one option to the ./configure script builds a working version (I
can run the binary well), but, unfortunately, no package can be built, as
dpkg-shlibdeps (as called by debhelper) fails with the following message:

,----
| (...)
| dpkg-shlibdeps -Tdebian/mplayer2.subsvars debian/mplayer2/usr/bin/mplayer 
| dpkg-shlibdeps: error: no dependency information found for 
/lib/libncurses.so.5 (used by debian/mplayer2/usr/bin/mplayer).
`----

I am not really sure if this is a problem with dpkg-dev or with libncurses.
On this machine, /usr/libncurses.so.5 is present, but libtinfo is under
/lib/powerpc-linux-gnu instead. I don't know if this is only a red herring
or if it is a real cause.

If any further information is needed, then please let me know.


Regards,

Rogério Brito.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.3.0-trunk-powerpc
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files              6.7
ii  binutils                2.22-6
ii  bzip2                   1.0.6-1
ii  libdpkg-perl            1.16.2
ii  libfile-fcntllock-perl  0.14-1+b1
ii  make                    3.81-8.1
ii  patch                   2.6.1-3
ii  xz-utils                5.1.1alpha+20110809-3

Versions of packages dpkg-dev recommends:
ii  build-essential          11.5
ii  fakeroot                 1.18.2-1
ii  gcc [c-compiler]         4:4.6.3-4
ii  gcc-4.6 [c-compiler]     4.6.3-2
ii  gnupg                    1.4.12-4
ii  gpgv                     1.4.12-4
ii  libalgorithm-merge-perl  0.08-2

Versions of packages dpkg-dev suggests:
pn  debian-keyring  <none>

-- no debconf information

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



--- End Message ---
--- Begin Message ---
On 2012-04-08 19:50 +0200, Rogério Brito wrote:

> None of the directories there are symlinks, as you can see. Regarding
> libncurses* and libtinfo*, there's something fishy here:
>
> ,----[ ls -l /lib/libncurses* /usr/lib/powerpc-linux-gnu/libncurses*
> /lib/powerpc-linux-gnu/libncurses*
> /lib/powerpc-linux-gnu/libtinfo.so.5*
> /usr/lib/powerpc-linux-gnu/libtinfo.* ]
> | lrwxrwxrwx 1 root root     17 Mar  9 00:54 /lib/libncurses.so.5 -> 
> libncurses.so.5.6
> | -rw-r--r-- 1 root root 248496 Sep  1  2008 /lib/libncurses.so.5.6
> | lrwxrwxrwx 1 root root     18 Mar  9 01:07 /lib/libncursesw.so.5 -> 
> libncursesw.so.5.6
> | -rw-r--r-- 1 root root 301996 Sep  1  2008 /lib/libncursesw.so.5.6

That's the problem, indeed.  Note that it is only made apparent by the
move of the system-provided files to the multiarch paths.

> In particular, note that I have /lib/libncurses.so.5.6 and
> /lib/powerpc-linux-gnu/libncurses.so.5.9.  I wonder where that .5.6 thing
> came from that it wasn't removed, because:
>
> ,----[ dpkg -S /lib/libncurses.so.5.6 ]
> | dpkg-query: no path found matching pattern /lib/libncurses.so.5.6.
> `----
>
> Seeing as I never install anything outside Debian, I don't know how it is
> there (perhaps some fsck or whatever?).

Well, the files had been shipped in Debian packages at some time, and if
your dpkg database had become corrupt (such as
/var/lib/dpkg/info/libncurses5.list being empty), they would not have
been removed by upgrades to later versions.  Do you have spurious
/lib/libtic* files as well?

Anyway, after 3.5 years it's probably too late to investigate, so I'm
closing the bug as you suggested in your other mail.

Cheers,
       Sven


--- End Message ---

Reply via email to