On 2024/09/10 16:02, A Tammy wrote: > > On 9/10/24 1:31 PM, Neel chakraborty wrote: > > I am trying to compile rust on OpenBSD 7.5, from the ports tree. > > On running make install, I get the following error > > > > Fatal: /usr/ports/pobj must be on a wxallowed filesystem (in > > lang/python/3)
Oh, if you're seeing lang/python/3 then you have a -current ports tree. That is no good for 7.5 release. Use "-r OPENBSD_7_5" on your cvs checkout as explained in https://www.openbsd.org/anoncvs.html ("Getting the ports and xenocara Trees") > > How do I resolve this? > > Should I add wxallowed using mount(8)? > > Is that the right way to resolve this issue? > > > If you don't have a separate /usr/ports partition you'll have to make a > separate one for /usr/ports/pobj, which should look something like > > abcdefghij.k /usr/ports/pobj ffs rw,wxallowed,nodev 1 2 Or change the mount entry for the filesystem holding /usr/ports/pobj to use wxallowed. Or set WRKOBJDIR in /etc/mk.conf to a directory on a filesystem which is marked wxallowed already, or is changed to use wxallowed. > I would also question the need for compiling python yourself, does not > sound very fruitful. Or rust, for that matter.