Hello Jonathan and misc@,
'# make build' failed again. See the output below.
On Fri, Jul 18, 2025 at 04:11:36PM +1000, Jonathan Gray wrote:
> On Fri, Jul 18, 2025 at 05:01:06PM +1200, Avon Robertson wrote:
> > Hello Jonathan and misc@,
> >
> > -o Progress to date
> > - Updated my local CVS repo from rsync://anoncvs.au. ...
> > - sysupgrade('d) -s this machine
> > - updated the /usr/{xenocara,src,ports,www} trees on this machine
> > from my local CVS repo.
> > - applied your patch.
> >
> > Followed the directions given in '5.' of release(8) and invoked
> > as root:
> > # make bootstrap
> > # make obj
> > # make build (which failed with the errors shown next.)
> >
> > -o Tail end of make build ouput
> > wrcr4://usr/xenocara # make build
> > umask 007; exec make do-build
> > exec make bootstrap-root
> > exec make distrib-dirs
> > # running mtree
> > mtree -qdef /etc/mtree/BSD.x11.dist -p / -U
> > exec make install-mk
> > cd share/mk && exec make X11BASE=/usr/X11R6 install
> > install -c -o root -g bin -m 444 bsd.xconf.mk bsd.xorg.mk
> > package_version.m4 /usr/X11R6/share/mk
> > cd util/macros && exec su build -c 'exec make -f Makefile.bsd-wrapper'
> > make: getcwd: Permission denied
> > *** Error 2 in . (Makefile:35 'do-build')
> > *** Error 2 in /usr/xenocara (Makefile:26 'build')
> >
> > The above 'make: getcwd: Permission denied' statement I have encountered
> > before but I can not remember where, or what fixes it.
> >
> > wrcr4://usr/xenocara # which getcwd
> > which: getcwd: Command not found.
>
> Try 'man getcwd', it is a function not a command.
>
> For the permissions error, before building:
>
> # rm -r /usr/xobj/*
>
> If it still fails, show the output of:
> ls -ld /usr/xobj/
>
-o 'make build' failed again.
wrcr4://usr/xenocara # make build
umask 007; exec make do-build
exec make bootstrap-root
exec make distrib-dirs
# running mtree
mtree -qdef /etc/mtree/BSD.x11.dist -p / -U
exec make install-mk
cd share/mk && exec make X11BASE=/usr/X11R6 install
install -c -o root -g bin -m 444 bsd.xconf.mk bsd.xorg.mk package_version.m4
/usr/X11R6/share/mk
cd util/macros && exec su build -c 'exec make -f Makefile.bsd-wrapper'
make: getcwd: Permission denied
*** Error 2 in . (Makefile:35 'do-build')
*** Error 2 in /usr/xenocara (Makefile:26 'build')
wrcr4://usr/xenocara # ls -ld /usr/xobj/
drwxrwx--- 11 build wobj 512 Jul 18 20:54 /usr/xobj/
wrcr4://usr/xenocara # gtmuxpane /build/xenocara/startx/make_build2.err
Not the best way to check for non-directory files, but:
$ls -R -la /usr/xobj |less
revealed none of the directories below /usr/xobj had any type of file
in them. I have not built a kernel on this machine since the disks
were replaced so /usr/obj is empty as it should be?
Should '5.' in release(8) contain '# make xobj' instead of
'# make obj'?
Regards and thank you Jonathan.
--
aer