On Sat, Sep 19, 2015 at 8:35 AM, Amit Kulkarni <[email protected]> wrote: > How are you guys able to build userland? I double-checked that the > > http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/Makefile?rev=1.125&content-type=text/plain > > is still referring to ${SUDO} > > here is the result..... > > # make build > cd /usr/src/share/mk && exec /usr/bin/sudo -E make install > /bin/sh: /usr/bin/sudo: not found > *** Error 127 in /usr/src (Makefile:75 'build')
It's your /etc/mk.conf that says "SUDO=sudo -E". Either remove that line and do builds as root, or update it to refer to say SUDO=doas Philip Guenther

