pkgsrc-Users archive

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

Re: CVS commit: pkgsrc/lang

n Tue, May 19, 2020 at 08:59:26PM +0200, Thomas Klausner wrote:
> => Checking for missing run-time search paths in rust-1.42.0
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-ar: missing library:
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-nm: missing library:
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-objcopy: missing library:
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-objdump: missing library:
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-profdata: missing library:
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-readobj: missing library:
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-size: missing library:
> ERROR: lib/rustlib/x86_64-unknown-netbsd/bin/llvm-strip: missing library:
> *** Error code 1

There libraries are also missing on 9 (my machine is a 9.0 userland
with a -current kernel, I built it with PKG_DEVELOPER=yes).
is provided by emulators/compat80, which is in DEPENDS. Installing compat80
creates symlinks:

$ ls -l /usr/lib/
lrwxr-xr-x  1 root  wheel  43 May 19 21:52 /usr/lib/ -> /usr/pkg/emul/netbsd/usr/lib/

Is there some reason this would fail (unprivileged pkgsrc?)

We could add the emulation path to the libraries with patchelf. 

Home | Main Index | Thread Index | Old Index