Download raw body.
rust port fails to build
On 2024/09/10 18:30, Neel chakraborty wrote: > I have checked out a copy of the ports tree from CVS, and I am trying to install rust. > I am running OpenBSD 7.5 and not -current. Try something simple and quick first. math/moo is a good one. > However, I face the following error on running make install > pkg_add: pkg_add must be run as root > > Do I then run doas make install? Or is it a bug? Neither. Setup sudo or doas so that your user can run things as root and pass environment variables through, and set the SUDO variable in /etc/mk.conf. e.g. for sudo, have an entry like "yourusername ALL = SETENV: ALL" and set "SUDO=sudo -E" for doas, have an entry like "permit keepenv persist yourusername" and set "SUDO=doas"
rust port fails to build