On 2021-06-07, Avon Robertson <[email protected]> wrote: > $ make obj >===> ssh > /usr/src/usr.bin/ssh/ssh/obj -> /usr/obj/usr.bin/ssh/ssh > mkdir: /usr/obj/usr.bin: Permission denied > *** Error 1 in ssh (<bsd.obj.mk>:61 'obj': @cd /usr/src/usr.bin/ssh/ssh; > umask 007; here=`/bin/pwd`; bsdsrcdir=`cd /usr/src; /bin/pwd`; s...) > *** Error 2 in /usr/src/usr.bin/ssh (<bsd.subdir.mk>:48 'obj': @for > entry in ssh sshd ssh-add ssh-keygen ssh-agent scp sftp-server > ssh-keys...) > > Mmmm. So looked first at permission in and below /usr/src. Found > permissions to be 700 with owner and group being aer:wsrc. As root, > # chmod -R 775 /usr/src > and tried 'make obj' again. The same error as above was output.
The "permission denied" is on /usr/obj. > I do not rule out the possibility that my local /cvs repository has > been inadvertently corrupted by me. unlikely. > Theo, I am willing to install (not update) a later snapshot and try to > build a test kernel for you tomorrow; if you belief it likely my /cvs > repo is ok. If you think it likely that my repo is corrupt, I will > remove it and reinstall a local repo from scratch before trying to > build a test kernel for you. I think at this point the best thing to do is simply update to a newer snapshot and try reposync again. (Update is fine, no need to reinstall). No need to build a kernel. If there is still a failure then adjust permissions or group membership so you can write to /usr/obj (there are various methods that will work), and confirm that it works with a build of ssh fresh from cvs. But if I got my testing right then I think this is now working.

