[Bug 290432] drm-515-kmod longer builds on FreeBSD-current
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 290432] drm-515-kmod longer builds on FreeBSD-current"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 290432] drm-515-kmod longer builds on FreeBSD-current"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 290432] drm-515-kmod longer builds on FreeBSD-current"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 290432] graphics/drm-515-kmod no longer builds on FreeBSD-current"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Oct 2025 22:47:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290432
Bug ID: 290432
Summary: drm-515-kmod longer builds on FreeBSD-current
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: kargl@FreeBSD.org
Updated a 2 month old FreeBSD-current to top-of-tree Oct 22, 2025.
Went to rebuild drm-515-kmod, and was greeted with error message
/wrkdirs/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_5/drivers/gpu/drm/drm_pci.c:75:35:
error: too few arguments provided to function-like macro invocation
75 | pci_get_slot(dev->dev->bsddev),
| ^
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:1337:9: note: macro
'pci_get_slot' defined here
1337 | #define pci_get_slot(_pbus, _devfn) \
| ^
/wrkdirs/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_5/drivers/gpu/drm/drm_pci.c:99:43:
error: too few arguments provided to function-like macro invocation
99 | info->dev = pci_get_slot(dev->dev->bsddev);
| ^
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:1337:9: note: macro
'pci_get_slot' defined here
1337 | #define pci_get_slot(_pbus, _devfn) \
| ^
/wrkdirs/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_5/drivers/gpu/drm/drm_pci.c:99:12:
error: incompatible pointer to integer conversion assigning to 'uint8_t' (aka
'unsigned char') from 'uint8_t (device_t)' (aka 'unsigned char (struct _device
*)') [-Wint-conversion]
99 | info->dev = pci_get_slot(dev->dev->bsddev);
| ^ ~~~~~~~~~~~~
3 errors generated.
*** [drm_pci.o] Error code 1
make[1]: stopped making "all" in
/wrkdirs/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_5/drm
--- drm_plane_helper.o ---
--- drm_plane.o ---
make[1]: 1 error
make[1]: stopped making "all" in
/wrkdirs/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_5/drm
OK, so, drm-515 is no longer supported. I built drm-61-kmod. Upon loading
radeonkms.ko, the /usr was destroyed. After rebooting to single user
mode, 'fsck -fy' moved 650MB of stuff into /usr/lost+found. Joys of current.
--
You are receiving this mail because:
You are the assignee for the bug.