Bug#790546: src:systemd: grep -v libeatmydata when check libraries under /usr
YunQiang Su
wzssyqa at gmail.com
Tue Jun 30 04:22:41 BST 2015
Package: src:systemd
Version: 221-1
some setup of sbuild may use libeatmydata, fellow instruction:
https://wiki.debian.org/sbuild#Using_eatmydata_with_sbuild
So please grep -v libeatmydata like libfakeroot.
echo "Checking that executables don't link to libraries in /usr..."
Checking that executables don't link to libraries in /usr...
set -e; for e in debian/install/deb/lib/systemd/systemd*; do \
echo " $e"; \
OUT=`ldd $e | grep -v libfakeroot`; if echo "$OUT" | grep -q /usr; then \
echo "ERROR: $e links to /usr"; echo "$OUT"; exit 1; \
fi; \
done
debian/install/deb/lib/systemd/systemd
ERROR: debian/install/deb/lib/systemd/systemd links to /usr
make[1]: *** [override_dh_auto_install] Error 1
libeatmydata.so => /usr/lib/mips64el-linux-gnuabi64/libeatmydata.so
(0x000000ffee58c000)
libpthread.so.0 => /lib/mips64el-linux-gnuabi64/libpthread.so.0
(0x000000ffee558000)
libc.so.6 => /lib/mips64el-linux-gnuabi64/libc.so.6 (0x000000ffee3a8000)
libselinux.so.1 => /lib/mips64el-linux-gnuabi64/libselinux.so.1
(0x000000ffee370000)
librt.so.1 => /lib/mips64el-linux-gnuabi64/librt.so.1 (0x000000ffee354000)
libpam.so.0 => /lib/mips64el-linux-gnuabi64/libpam.so.0 (0x000000ffee334000)
libaudit.so.1 => /lib/mips64el-linux-gnuabi64/libaudit.so.1 (0x000000ffee2fc000)
libkmod.so.2 => /lib/mips64el-linux-gnuabi64/libkmod.so.2 (0x000000ffee2d4000)
libapparmor.so.1 => /lib/mips64el-linux-gnuabi64/libapparmor.so.1
(0x000000ffee2b0000)
libmount.so.1 => /lib/mips64el-linux-gnuabi64/libmount.so.1 (0x000000ffee254000)
libcap.so.2 => /lib/mips64el-linux-gnuabi64/libcap.so.2 (0x000000ffee23c000)
/lib64/ld.so.1 (0x000000ffee758000)
libdl.so.2 => /lib/mips64el-linux-gnuabi64/libdl.so.2 (0x000000ffee228000)
libpcre.so.3 => /lib/mips64el-linux-gnuabi64/libpcre.so.3 (0x000000ffee190000)
libblkid.so.1 => /lib/mips64el-linux-gnuabi64/libblkid.so.1 (0x000000ffee138000)
libattr.so.1 => /lib/mips64el-linux-gnuabi64/libattr.so.1 (0x000000ffee120000)
libuuid.so.1 => /lib/mips64el-linux-gnuabi64/libuuid.so.1 (0x000000ffee108000)
debian/rules:105: recipe for target 'override_dh_auto_install' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
--
YunQiang Su
More information about the Pkg-systemd-maintainers
mailing list