tech-pkg archive

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

Re: Rust broken again!

On Sun, Oct 13, 2019 at 09:57:03PM +0200, Frédéric Fauberteau wrote:
> Sorry if I pour oil on the fire but I could never build rust. I usually
> build my packages using pbulk to manage them with pkgin. Rust build always
> fails with the following error:
> --- stderr
> thread 'main' panicked at 'failed to get current_exe: /proc/curproc/exe
> doesn't point to regular file.', src/librustc/session/
> Okay, but out of the chroot environment, /proc/curproc/exe is not a regular
> file:
> # ls -l /proc/curproc/exe
> lr-xr-xr-x  1 root  wheel  7 Oct 13 21:48 /proc/curproc/exe -> /bin/ls

You will need procfs in the chroot on older netbsd.

Also, be careful how you setup your chroots to avoid

Home | Main Index | Thread Index | Old Index