[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#28155: Fakeroot makes dpkg-shlibs add `libc6, libc6 (>= 2.0.7u)'

Package: dpkg-dev

When ldd is run under fakeroot it shows an extra dependency:

$ fakeroot ldd src/lftp
  /usr/lib/libfakeroot/libfakeroot.so.0 => /usr/lib/libfakeroot/libfakeroot.so.0 (0x4000c000)
  libreadline.so.2 => /lib/libreadline.so.2 (0x40014000)
  libncurses.so.4 => /lib/libncurses.so.4 (0x4003f000)
  libresolv.so.2 => /lib/libresolv.so.2 (0x4007f000)
  libnsl.so.1 => /lib/libnsl.so.1 (0x4008e000)
  libc.so.6 => /lib/libc.so.6 (0x40097000)
  libdl.so.2 => /lib/libdl.so.2 (0x40138000)
  libncurses.so.3.4 => /lib/libncurses.so.3.4 (0x4013c000)
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

 This has been handled with fakeroot's shlib:

$ cat /var/lib/dpkg/info/fakeroot.shlibs
/usr/lib/libfakeroot/libfakeroot      0       libc6

 But now the libc6 package has changed its shlib, and the double dependency
is geneated. dpkg-shlib should ignore any dependency on
/usr/lib/libfakeroot/libfakeroot.so.0, or should remove fakeroot from
LD_PRELOAD before calling ldd.

Reply to: