Resolved (was: Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=)

2024-10-26 Thread David Wolfskill
After the ports update main-n684003-baeefdddb6ed: commit baeefdddb6ed74573128353fac7d9b7805fa1a30 Author: Emmanuel Vadot AuthorDate: Sat Oct 26 08:38:11 2024 +0200 Commit: Emmanuel Vadot CommitDate: Sat Oct 26 09:10:02 2024 +0200 graphics/drm-61-kmod: Update to drm_v6.1.92_2 Th

Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=

2024-10-25 Thread Oleg Lelchuk
Or maybe the port just insists on building linuxkpi_video: --- video_kmod.o --- cc: error: no such include directory: '/usr/ports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.92_1/linuxkpi/dummy/include' [-Werror,-Wmissing-include-dirs] --- aperture.o --- cc: error: no such include directory: '/usr/

Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=

2024-10-25 Thread Oleg Lelchuk
Building either linuxkpi or linuxkpi_video from https://github.com/freebsd/drm-kmod.git is not necessary if I want functioning intel graphics, but the port version insists on building those unnecessary things. On Fri, Oct 25, 2024 at 6:10 PM Oleg Lelchuk wrote: > With clang 19, I can build i1915

Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=

2024-10-25 Thread Oleg Lelchuk
With clang 19, I can build i1915kms from https://github.com/freebsd/drm-kmod.git and I won't encounter any issues. However, with the port version of drm-61-kmod, I would still encounter an error. I think this happens because the port wants to build stuff in the linuxkpi_video directory, but with th

Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=

2024-10-25 Thread David Wolfskill
On Fri, Oct 25, 2024 at 09:20:16AM +0200, Robert Clausecker wrote: > Hi David, > ... > The same issue was reported in another thread. Try this workaround: Aye; saw that, tried it, and it works for me (modulo MUA-mangling of whitespace). Here's a representation of what I used: diff --git a/grap

Re: Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=

2024-10-25 Thread Robert Clausecker
Hi David, Am Thu, Oct 24, 2024 at 11:40:14AM -0700 schrieb David Wolfskill: > So... I've been tracking FreeBSD (generally, daily) on various machines > for a couple of decades or so. And I learned long ago to rebuild kmods > from ports whenever I rebuilt the kernel, and that generally, the > simp

Problem (re)building graphics/drm-61-kmod via PORTS_MODULES+=

2024-10-24 Thread David Wolfskill
So... I've been tracking FreeBSD (generally, daily) on various machines for a couple of decades or so. And I learned long ago to rebuild kmods from ports whenever I rebuilt the kernel, and that generally, the simplest way to ensure that that is done is to augment /etc/src.conf with (e.g.): PORTS_