Hello,
I can't "make build" with:
nice make SUDO=sudo build
or
nice make SUDO=/usr/bin/sudo build
My mk.conf has the following entries:
SUDO=/usr/bin/sudo
USE_SYSTRACE=Yes
WRKOBJDIR=/usr/obj/ports
I'm member of the wheel group which has has the following entry in the
sudoers file:
%wheel ALL=(ALL) NOPASSWD: ALL
The permissions on /usr/src is:
drwxr-xr-x 17 root wheel 512B Jan 3 09:23 src
I'm really curious why I can't build with: "nice make SUDO=sudo build" ???
Here is the error:
$ nice make SUDO=sudo build
cd /usr/src/share/mk && exec sudo make install
install -c -o root -g bin -m 444 bsd.README bsd.doc.mk bsd.dep.mk
bsd.lib.mk bsd.man.mk bsd.nls.mk bsd.obj.mk bsd.own.mk bsd.port.mk
bsd.port.subdir.mk bsd.prog.mk bsd.regress.mk bsd.subdir.mk bsd.sys.mk
sys.mk bsd.lkm.mk bsd.xorg.mk /usr/share/mk
cd /usr/src/include && make prereq && exec sudo make includes
preparing in /usr/src/include/../usr.sbin/httpd
/usr/bin/lndir -s -e obj -e obj.i386 -e Makefile.bsd-wrapper
/usr/src/usr.sbin/httpd
lndir: cgi-bin: Permission denied
lndir: conf: Permission denied
lndir: ABOUT_APACHE: Permission denied
lndir: Announcement: Permission denied
lndir: Announcement.de: Permission denied
lndir: CHANGES: Permission denied
lndir: INSTALL: Permission denied
lndir: INSTALL.SSL: Permission denied
lndir: LICENSE: Permission denied
lndir: LICENSE.SSL: Permission denied
lndir: Makefile.tmpl: Permission denied
lndir: README: Permission denied
lndir: README.SSL: Permission denied
lndir: README.configure: Permission denied
lndir: htdocs: Permission denied
lndir: httpd.8: Permission denied
lndir: config.layout: Permission denied
lndir: configure: Permission denied
lndir: icons: Permission denied
lndir: src: Permission denied
sh: configure: No such file or directory
*** Error code 1
Stop in /usr/src/usr.sbin/httpd (line 634 of
/usr/src/usr.sbin/httpd/Makefile.bsd-wrapper).
*** Error code 1
Stop in /usr/src/include (line 82 of Makefile).
*** Error code 1
Stop in /usr/src (line 73 of Makefile).
Kind regards
Didier