Error "ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded"
What problem did you encounter
When building Calls using a fakeroot environment, the installation process fails with the following output:
[1/2] Installing files.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Error getting authority: Error initializing authority: Could not connect: No such file or directory
FAILED: meson-install
This blocks me from packaging Calls for Arch Linux, which would allow me to test my localization (l10n).
What is the actual behaviour?
Installation step fails in fakeroot.
What is the expected behaviour?
Installation step finishing without issues, with files installed inside the environment for packaging.
How to reproduce
In a Arch Linux system:
- Install devtools package with admin privileges:
# pacman -S devtools
(using 'sudo' or whatever) - Place this PKGBUILD in a folder to hold the packaging-related files
- Inside that folder, run
extra-x86_64-build
to run the whole build and installation process
(Probably there is another way to test installation in a fakeroot environment, but I don't know how.)
Which version of Calls did you encounter the bug in?
-
I compiled it myself. If you compiled Calls from source please provide the git revision via e.g. by running git log -1 --pretty=oneline
and pasting the output below.
I built using latest release and also git revision d18bd0fc, same issue in both
-
I used the precompiled Debian package (e.g. by running a prebuilt image). Please paste the output of dpkg -s calls
below.
Calls Version: 0.1.4
What hardware are you running Calls on?
-
amd64 qemu image -
Librem5 devkit -
other: x86_64 notebook, Arch Linux 64-bit
What modem are you using?
N/A
Releveant logfiles
meson-log.txt
testlog.txt
install-log.txt (it's empty, but for the record)
packaging-output.txt (from console output)
complete-output.txt (kind of redundant and polluted)