tools/fakeroot: remove undefined symbol messages
authorSven Wegener <sven.wegener@stealer.net>
Mon, 28 Dec 2020 12:37:27 +0000 (13:37 +0100)
committerPaul Spooren <mail@aparcar.org>
Thu, 31 Dec 2020 22:09:09 +0000 (12:09 -1000)
commitc5d033a34d0050dad83567eccd36dc6c7827ffe3
treeb49bb39ef9adf92f182ffdd1bcbf28fbb57e583f
parentcc9d5b5a488d3a43068f621a1ef184f06e43bede
tools/fakeroot: remove undefined symbol messages

glibc started to return errors from dlerror() for dlsym() lookup failures which
results in a lot of messages from fakeroot like

dlsym(acl_get_fd): staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_fd
dlsym(acl_get_file): staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_get_file
dlsym(acl_set_fd): staging_dir/host/lib/libfakeroot.so: undefined symbol: acl_set_fd

when building OpenWrt using a recent glibc. Use the patch from the upstream
Debian package to silence these messages.

Link: https://bugs.debian.org/830912
Fixes: FS#3393
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
tools/fakeroot/Makefile
tools/fakeroot/patches/200-hide-dlsym-error.patch [new file with mode: 0644]