installkernel with PORTS_MODULES+=graphics/drm-515-kmod stopped working
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Dec 2023 08:10:01 UTC
I build{world,kernel} on one machine but install everything from the target machine, with /usr/obj and /usr/src from the build machine nfs mounted. /etc/src.conf (on target and build machines) has PORTS_MODULES+=graphics/drm-515-kmod to build this port at the same time. This used to work at least until Nov 1, 2023 but now stopped working. What I don't understand is why is install trying to install to /usr/obj/..., which is really on the build tree. It this known? Is this style of building .ko ports still supported? The make infrastructure has gotten far too complicated and baroque over the years so before diving into it I am looking any shortcuts! Thanks! [note: /usr/ports is mounted from the build machine /usr/src is symlinked to /home/FreeBSD/stable-14 /etc/src.conf is the same on both machines. From target (as root) I can create root owned files under /usr/obj on the target] ===> drm-515-kmod not installed, skipping ===> Staging for drm-515-kmod-5.15.118_2 No name and/or group mapping for uid,gid:(0,0) No name and/or group mapping for uid,gid:(0,0) ... No name and/or group mapping for uid,gid:(0,0) ===> Generating temporary packing list ===> dmabuf (install) install -T release -o root -g wheel -m 555 dmabuf.ko /usr/obj/home/FreeBSD/stable-14/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/work/stage/boot/modules/ ===> ttm (install) install -T release -o root -g wheel -m 555 ttm.ko /usr/obj/home/FreeBSD/stable-14/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/work/stage/boot/modules/ ===> drm (install) install -T release -o root -g wheel -m 555 drm.ko /usr/obj/home/FreeBSD/stable-14/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/work/stage/boot/modules/ No name and/or group mapping for uid,gid:(0,0) install: /usr/obj/home/FreeBSD/stable-14/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/work/stage/boot/modules/drm.ko: chown/chgrp: Operation not permitted *** Error code 71 Stop. make[6]: stopped in /usr/obj/home/FreeBSD/stable-14/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_3/drm *** Error code 1 Stop. make[5]: stopped in /usr/obj/home/FreeBSD/stable-14/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_3 *** Error code 1