pkgsrc-Bugs archive

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

Re: pkg/56371: lang/rust fails to bootstrap on NetBSD 9 i386

The following reply was made to PR pkg/56371; it has been noted by GNATS.

From: "David H. Gutteridge" <>
Subject: Re: pkg/56371: lang/rust fails to bootstrap on NetBSD 9 i386
Date: Tue, 24 Aug 2021 23:11:45 -0400

 On Mon, 23 Aug 2021 at 21:00:03 +0000 (UTC), nia wrote:
 > On Mon, Aug 23, 2021 at 02:05:01PM +0000, Benny Siegert wrote:
 > >  > /tmp/work/lang/rust/work/rust-bootstrap/lib/ Shared object "" not found
 > >  
 > >  You need to install NetBSD-8 compat libraries. They need to be in
 > >  /usr/pkg. That's the way the bootstrap binaries are built.
 > This is a pbulk build. compat80 is pulled in by the package
 > already, but something else is wrong.
 If you're building using a sandbox with null mounts (I assume you are),
 then compat80 won't be installed effectively, as it wants to reach
 outside the sandbox to write symlinks under /usr/lib, which gets
 rejected. (compat80 breaks pkgsrc norms by writing outside $PREFIX.)
 The hackish way around that for a specific, dedicated build environment
 is simply to install compat80 outside the sandbox. Another way could be
 to use something like the kludge I introduced for the ghc* packages[1],
 though Rust may be a little more complicated. (I did note this in my
 commit message when I restored the compat80 dependency[2]; I guess
 maybe it would have been better if I'd written a comment above. I was
 at the point of frustration with our Rust packaging that I didn't want
 to deal with it further. I'm almost at that point again today.)
 later improved by riastradh@:

Home | Main Index | Thread Index | Old Index