diff options
Diffstat (limited to 'results/classifier/accel-gemma3:12b/tcg/1835839')
| -rw-r--r-- | results/classifier/accel-gemma3:12b/tcg/1835839 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/results/classifier/accel-gemma3:12b/tcg/1835839 b/results/classifier/accel-gemma3:12b/tcg/1835839 new file mode 100644 index 000000000..c209ba4d2 --- /dev/null +++ b/results/classifier/accel-gemma3:12b/tcg/1835839 @@ -0,0 +1,22 @@ + +qemu-user: $0 incorrectly always reports absolute path + +We just ran into an issue with the Perl package on Debian/m68k when being built with qemu-user [1]. + +The problem can be boiled down to qemu-user always reporting absolute paths for the shell variable $0 no matter on how the command was invoked. + +A simple reproducer is this: + +On normal system (no emulation): + +root@nofan:~> sh -c 'echo $0' +sh +root@nofan:~> + +On qemu-user: + +(sid-m68k-sbuild)root@nofan:/# sh -c 'echo $0' +/bin/sh +(sid-m68k-sbuild)root@nofan:/# + +> [1] https://lists.debian.org/debian-68k/2019/07/msg00007.html \ No newline at end of file |