Hi, According to https://www.openbsd.org/faq/faq5.html#Xbld you should set right permissions and owner to your /usr/xobj directory as:
The object directory /usr/xobj should be empty and owned by build:wobj with mode 770. and make the patch 002 according to: # cd /usr/xenocara/lib/libX11 # make -f Makefile.bsd-wrapper obj # make -f Makefile.bsd-wrapper build Martin ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, May 19, 2021 1:42 AM, Theo de Raadt <dera...@openbsd.org> wrote: > You are not building using the correct procedure. > > Sorry, we don't have time to teach that. > > Please use the syspatches, or the snapshots, or learn to do full builds. > > The latter is fully documented in manual pages, and reaching for the > mailing list is inappropriate. > > Jonathan Drews jdr...@mail.com wrote: > > > OpenBSD 6.9 GENERIC.MP#473 amd64 > > Hi Folks: > > I am trying to patch Xenocara with 002_libx11.patch.sig. I first > > applied make -f Makefile.bsd-wrapper obj. Afterwards > > I get the following error message when I do make -f > > Makefile.bsd-wrapper build: > > checking that generated files are newer than configure... done > > configure: creating ./config.status > > config.status: creating Makefile > > config.status: creating include/Makefile > > rm: include/Makefile: Permission denied > > config.status: error: could not create include/Makefile > > *** Error 1 in . (/usr/X11R6/share/mk/bsd.xorg.mk:158 > > 'config.status') > > *** Error 2 in /usr/xenocara/lib/libX11 > > (/usr/X11R6/share/mk/bsd.xorg.mk:196 'build') > > my /usr/include has the following permissions > > jack# ls -lhd /usr/include/ > > drwxr-xr-x 32 root bin 3.0K May 1 20:24 /usr/include/ > > My xenocara directory has the following permissions > > jack# ls -lhd /usr/xenocara/ > > drwxr-xr-x 16 root wheel 512B Apr 17 16:16 /usr/xenocara/ > > Any ideas as to what I am doing wrong? > > Kind regards, > > Jonathan