Date: Tue, 5 Dec 2023 00:10:01 -0800 From: Bakul Shah <bakul@iitbombay.org> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: installkernel with PORTS_MODULES+=graphics/drm-515-kmod stopped working Message-ID: <8138561E-B09D-4F5F-BC10-2B04E245DA63@iitbombay.org>
next in thread | raw e-mail | index | archive | help
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+=3Dgraphics/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. =46rom target (as root) I can create root owned files under /usr/obj on the target] =3D=3D=3D> drm-515-kmod not installed, skipping =3D=3D=3D> 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) =3D=3D=3D> Generating temporary packing list =3D=3D=3D> 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/ =3D=3D=3D> 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/ =3D=3D=3D> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8138561E-B09D-4F5F-BC10-2B04E245DA63>