pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox and rust build failure



I just ran into the same issue on pkgsrc-2020Q2, NetBSD 9-stable on amd64.

[...]

cargo build --locked --frozen --release -j1
error: process didn't exit successfully: `rustc -vV` (exit code: 2)
--- stderr
/bin/sh: Cannot execute ELF binary /home/bsiegert/2020Q2/bin/rustc

bsiegert@shiso ~/p/s/tor-browser [1]> /home/bsiegert/2020Q2/bin/rustc
Failed to execute process '/home/bsiegert/2020Q2/bin/rustc'. Reason:
exec: unknown error (errno was 8)
The file '/home/bsiegert/2020Q2/bin/rustc' is marked as an executable
but could not be run by the operating system.
bsiegert@shiso ~/p/s/tor-browser [125]> file /home/bsiegert/2020Q2/bin/rustc
/home/bsiegert/2020Q2/bin/rustc: ELF 64-bit LSB pie executable,
x86-64, version 1 (SYSV), dynamically linked, interpreter
/usr/libexec/ld.elf_so, for NetBSD 8.0, not stripped
bsiegert@shiso ~/p/s/tor-browser> ls -l /usr/libexec/ld.elf_so
lrwxr-xr-x  1 root  wheel  18 Jun 30 20:49 /usr/libexec/ld.elf_so@ ->
/libexec/ld.elf_so
bsiegert@shiso ~/p/s/tor-browser> ls -l /libexec/ld.elf_so
-r-xr-xr-x  1 root  wheel  164344 Jun 30 20:49 /libexec/ld.elf_so*

So my ld.elf_so symlink is correct but the binary still does not work.
(errno 8 is ENOEXEC)

-- 
Benny


Home | Main Index | Thread Index | Old Index