Am 18.05.2026 um 05:06 schrieb Jonathan Gray:
> On Mon, May 18, 2026 at 12:06:23AM +0200, Christian Schulte wrote:
>> Hi,
>>
>> are the build instructions in release(8) for building xenocara still
>> recent? After a fresh install and a fresh checkout, I am getting build
>> issues, I don't know what to do about. For example:
>>
>> ===> driver/xf86-video-amdgpu
>> make: don't know how to make build
>> Stop in driver/xf86-video-amdgpu
>> *** Error 2 in driver (<bsd.subdir.mk>:48 'build')
>> *** Error 2 in . (<bsd.subdir.mk>:48 'realbuild')
>> *** Error 2 in . (Makefile:37 'do-build')
>> *** Error 2 in /usr/xenocara (Makefile:26 'build')
>>
>> It's the only driver/xf86-video-* not directory not containing
>> autoconf/automake scripts or a Makefile.bsd-wrapper and indeed the
>> Makfile therein does not contain a build target.
> 
> The build target comes from the included bsd.xorg.mk
> 
> It seems you have a problem in your checkout or environment.
> xenocara builds fine here.

Not sure. It's really a fresh install and a fresh checkout.

$ cvs -q up -dPA

No issues building base. Really only driver/xf86-video-amdgpu.

Renaming the Makefile to Makefile.bsd-wrapper

$ mv /usr/xenocara/driver/xf86-video-amdgpu/Makefile \
        /usr/xenocara/driver/xf86-video-amdgpu/Makefile.bsd-wrapper

# cd /usr/xenocara
# make bootstrap
# make obj
# make build

succeeds. Driver also is present in the tar.

$ ls -lah /usr/X11R6/lib/modules/drivers/amdgpu_drv.so
-r--r--r--  1 root  bin   165K May 18 12:56
/usr/X11R6/lib/modules/drivers/amdgpu_drv.so

Looking at bsd.xorg.mk, I see no reason myself why just Makefile instead
of Makefile.bsd-wrapper should not work.

Regards,
-- 
Christian

Reply via email to