[Bug]: fakeroot doesn't start without $SHELL modification
acomagu opened this issue · 0 comments
acomagu commented
Describe the bug
I tried to use fakeroot
in distrod container but it failed with such error:
$ fakeroot
/opt/distrod/alias/bin/bash: /opt/distrod/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libfakeroot/libfakeroot.so)
This was caused the following line in fakeroot script:
FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS" LD_PRELOAD="$FAKEROOT_LIB" ${SHELL:-/bin/sh}
Modifing $SHELL
seemed solving the issue:
$ SHELL=/usr/bin/bash fakeroot
$ # No Error
Is this correct way to execute fakeroot? Thanks.
Steps to reproduce
$ pacman -S fakeroot
$ fakeroot
(In the first place, I was going to use debtap. I encountered this issue because debtap uses fakeroot internally)
Expected behavior
fakeroot works without $SHELL
modification.
Windows version
22H2 (Build 22610.1)
Linux kernel version
Linux acm-envy3-win 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 GNU/Linux
Distro
Arch Linux
How did you install that distro?
Installed by Distrod wizard
Logs
The behavior of distrod itself is not problem.
additional comment
No response