Bug#843809: check that executables don't link to libraries in /usr is broken wrt libsystemd-shared

2016-11-09 Thread Martin Pitt
Martin Pitt [2016-11-09 22:55 +0100]: > +1 on dropping the check again. Done so in git, FTR. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: PGP signature

Bug#843809: check that executables don't link to libraries in /usr is broken wrt libsystemd-shared

2016-11-09 Thread Martin Pitt
Hello Michael, Michael Biebl [2016-11-09 22:23 +0100]: > >> Dunno, maybe we should just drop the check again. Thoughts? +1 on dropping the check again. It has always been an approximation anyway, and the last time this got broken through a libaudit library update [1], not a systemd upload, so

Bug#843809: check that executables don't link to libraries in /usr is broken wrt libsystemd-shared

2016-11-09 Thread Michael Biebl
Am 09.11.2016 um 22:11 schrieb Ansgar Burchardt: > Michael Biebl writes: >> But now we have a different issue, ldd thinks, that liblz4 is in /lib.: > [...] >> This is because of merged-usr. This more or less renders the whole check >> useless once we build in a chroot which has been created with

Bug#843809: check that executables don't link to libraries in /usr is broken wrt libsystemd-shared

2016-11-09 Thread Ansgar Burchardt
Michael Biebl writes: > But now we have a different issue, ldd thinks, that liblz4 is in /lib.: [...] > This is because of merged-usr. This more or less renders the whole check > useless once we build in a chroot which has been created with > debootstrap --merged-usr > > Dunno, maybe we should

Bug#843809: check that executables don't link to libraries in /usr is broken wrt libsystemd-shared

2016-11-09 Thread Michael Biebl
Am 09.11.2016 um 21:18 schrieb Michael Biebl: > In a chroot, systemd and libsytemd-shared are not installed. > We probably need to override LD_LIBRARY_PATH and point it to > debian/systemd/lib/systemd/ This patch works to find libsystemd-shared: > --- a/debian/rules > +++ b/debian/rules > @@

Bug#843809: check that executables don't link to libraries in /usr is broken wrt libsystemd-shared

2016-11-09 Thread Michael Biebl
Source: systemd Version: 232-3 Am 09.11.2016 um 19:15 schrieb Michael Biebl: > The /lib/systemd/systemd binary itself links against libsystemd-shared > (interestingly, our debian/rules check seems to not have caught this). Fwiw, I figured out what's going wrong here: + env -u LD_PRELOAD ldd