Saturday, January 29, 2022

Cannot build with root, cannot build with user

Okay, so.. I am new to this, but I did read a few man pages.
Everything seems to install well until the build process - it says that I
cannot run it as root because it would mess up permissions (which is good
to stop there), but then I cannot even run it as a normal user because the
directory ports/pobj/locks is owned by root:wheel..

The package in-question is 0ad, which also seems to brake because it
cannot set a few things, on the 7.0 GENERIC.MP#232 amd64 release(?) OS.

I compiled another package just fine..
And this was when the ports directory was on /usr/ports, and with the
above (0AD) port, I got a new ports tree, to the /usr/local/ports because
I have more storage space on that partition, and also because it has the
"wxallowed" flag for whatever reason it was needed.

/etc/mk.conf :
PORTSDIR=/usr/local/ports
DISTDIR=/usr/distfiles
PACKAGE_REPOSITORY=/usr/packages

Have a nice day, I hope I helped, even if it's a bit.

No comments:

Post a Comment