missing mail logs form th-x86_64 [SOLVED: th-x86_64: strange runtime linker failure]

Jakub Bogusz qboosh at pld-linux.org
Tue Nov 10 20:03:25 CET 2020


On Tue, Nov 10, 2020 at 06:45:10PM +0100, Jakub Bogusz wrote:
> `strace -f /usr/lib64/jvm/icedtea8-3.17.0/bin/javac -help` shows something strange:
> 
> | # src  : https://buildlogs.pld-linux.org/pld/th/x86_64/FAIL/command,bd4d8466-aafa-4f38-ab38-45d3dd906832.bz2
> | # date   : 2020/11/10 18:21:26
> | execve("/usr/lib64/jvm/icedtea8-3.17.0/bin/javac", ["/usr/lib64/jvm/icedtea8-3.17.0/b"..., "-help"], 0x7ffd2c6b3340 /* 33 vars */) = 0
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | brk(NULL)                               = 0x56350d9df000
> | arch_prctl(0x3001 /* ARCH_??? */, 0x7fff5b7713e0) = -1 EINVAL (Invalid argument)
> | readlink("/proc/self/exe", "/usr/bin/rsync", 4096) = 14
>                              ^^^^^^^^^^^^^^^^ ???
> | mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6f30ec0000
> | access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
> | openat(AT_FDCWD, "/usr/bin/../lib/amd64/jli/tls/x86_64/x86_64/libjli.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
>                     ^^^^^^^^
> | stat("/usr/bin/../lib/amd64/jli/tls/x86_64/x86_64", 0x7fff5b770580) = -1 ENOENT (No such file or directory)
>         ^^^^^^^^
> 
> execve shows proper path, but why readlink("/proc/self/exe") returns
> "/usr/bin/rsync" and $ORIGIN is resolved as /usr/bin instead of
> /usr/lib64/jvm/icedtea8-3.17.0/bin ???

Problem solved by `mount -t proc proc /proc`.
There were some stale /proc contents, most likely rsynced from some live
system in 2009 (that's why /proc/self/exe points to rsync).

But missing e-mail logs still remain.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list