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

Bug#845414: cdebconf: makes debian-installer FTBFS due to libdebconf.so issues (binutils)



Cyril Brulebois <kibi@debian.org> (2016-11-23):
> | mklibs-copy -L ./tmp/netboot/tree/usr/lib -L ./tmp/netboot/tree/usr/lib/x86_64-linux-gnu \
> | 	-L ./tmp/netboot/udeblibs -v -d ./tmp/netboot/tree/lib --root=./tmp/netboot/tree \
> | 	-L ./tmp/netboot/tree/usr/lib/cdebconf/frontend \
> | 	-ltext.so -lnewt.so \
> | 	`find ./tmp/netboot -type f -a \( -perm /0111 -o -name '*.so' -o -name '*.so.*' \) | \
> | 	 grep -v udeblibs | grep -v 'usr/lib/xorg/modules/.*\.so'`
> | INFO: Using /lib64/ld-linux-x86-64.so.2 as dynamic linker
> | INFO: library reduction pass 1
> | File not found:libdebconf.so
> | Makefile:485: recipe for target 'stamps/tree-netboot-stamp' failed
> 
> This happened for daily builds, and is reproducible on sid devel chroots,
> on various architectures.
> 
> Based on a hunch, I investigated a few things around binutils: downgrading
> it to try a debian-installer build, with or without cdebconf udebs rebuilt
> against the said binutils. Results:
> 
> cdebconf 0.219 (rebuilt with 2.27.51.20161108-1) => debian-installer builds fine, with old & new binutils.
> cdebconf 0.219 (rebuilt with 2.27.51.20161118-2) => debian-installer FTBFS, with old & new binutils.
> 
> I'll try and investigate a bit more, maybe some other packages are going
> to be affected by this, but cdebconf is special considering it has
> plugins; also, binutils had commits touching the linker…

As expected, libdebconf.so didn't change too much: nm -D and objdump -x
don't show any differences before/after. But binaries depending on it do
change; let's look at /usr/lib/cdebconf/debconf for example (still from the
cdebconf package):
| (sid-amd64-devel)kibi@wodi:~/debian-installer/packages$ diff -u /tmp/debconf.objdump.{ok,ko}
| --- /tmp/debconf.objdump.ok	2016-11-23 08:09:37.715596978 +0100
| +++ /tmp/debconf.objdump.ko	2016-11-23 08:09:42.735672870 +0100
| @@ -29,7 +29,7 @@
|    NEEDED               libpthread.so.0
|    NEEDED               libdebconf.so
|    NEEDED               libc.so.6
| -  RPATH                /usr/lib/cdebconf
| +  RUNPATH              /usr/lib/cdebconf
|    INIT                 0x0000000000000f58
|    FINI                 0x0000000000001d94
|    INIT_ARRAY           0x0000000000202da8

Let's see if I can do something with mklibs to account for this change.


KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: