I am trying to update from OpenBSD 6.0 release to stable by compiling
sources. Following the instructions at

http://man.openbsd.org/OpenBSD-6.0/release

I was able to build the kernel. I have rebooted with the new kernel.

When building the system I get an error when executing this command:

$ cd /usr/src && make SUDO=doas build

The error:
--
test -z "doas" || doas rm -f /var/run/testdata_root /var/run/keycommand_root
doas: Operation not permitted
*** Error 1 in regress/usr.bin/ssh (Makefile:207 'clean')
*** Error 1 in regress/usr.bin (<bsd.subdir.mk>:48 'cleandir')
*** Error 1 in regress (<bsd.subdir.mk>:48 'cleandir')
*** Error 1 in . (<bsd.subdir.mk>:48 'cleandir')
*** Error 1 in /usr/src (Makefile:77 'build')

--

Doas works fine for me when I use is on commandline. The files
/var/run/testdata_root /var/run/keycommand_root do not exist on my system.

I am building as a user in group wsrc.

Am I doing something incorrect ? How do I get around this issue?

Thanks
Hrishi

Reply via email to