From nobody Tue Dec 5 08:10:01 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SktWG2Yxgz53RQ6 for ; Tue, 5 Dec 2023 08:10:18 +0000 (UTC) (envelope-from bakul@iitbombay.org) Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SktWF02Gqz4FHN for ; Tue, 5 Dec 2023 08:10:16 +0000 (UTC) (envelope-from bakul@iitbombay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=iitbombay-org.20230601.gappssmtp.com header.s=20230601 header.b="Z/Galm35"; spf=pass (mx1.freebsd.org: domain of bakul@iitbombay.org designates 2607:f8b0:4864:20::22e as permitted sender) smtp.mailfrom=bakul@iitbombay.org; dmarc=none Received: by mail-oi1-x22e.google.com with SMTP id 5614622812f47-3b9b8522d91so990353b6e.0 for ; Tue, 05 Dec 2023 00:10:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1701763813; x=1702368613; darn=freebsd.org; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=5f1zWxhS5wkxpRoY/EX13ltJCFpg4iUUy6eFY8VgXAs=; b=Z/Galm35UgayUlRVeNkLKEgSLAo2DCHftbbXUDgPF1nBtRtFR14Da1JIrDH5bPQiQ7 0X21AjMsLtEbuk3XCumxZglDW2/S93YmaE+gYp1zVy9WvDxTB7ftyFF580+zWwmvodzr lOqkuSmvSOn6cw9I6v2oTRlSxRk2x0yZs1JaB7Fu5to8WL8IShknwV/Eeu0WqLJ7+sWO sRrGupKmlw+jt6QjjVVKwfH7hhAlo/OTy3ET7hM39ssRPD1c0+CQxcGCkzspxxbrn1Hi zq5i7gS/OusrA3KxzXvZz/YF6ErpHEL7pzJFIjn1hEQJHoW8FdcnfK9YCLQX17vGyQFH YlcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701763813; x=1702368613; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5f1zWxhS5wkxpRoY/EX13ltJCFpg4iUUy6eFY8VgXAs=; b=cuhSidEJr0rnTKPZ4iSn42WpBSCR6iFTzSvZGJ3ZwrbUkS371qmzmp5hHLvO48AVce CMI7ziPcLM5zK3fXbHys+D9Ylx/EBcs0qjuc0z/jbHlOvAxUG+j5bFc2i122qxJM9TOz aia5O2sMlR72rQydKByAYh+2hd4skaks3LcKfzzQv8ZWXbjNay4kOfnMjWIy0wQKZ/Mf LrL2D/tYbWtBpJDx+mV7DDWXwhD9v2Cqtxr8cWb5AOpQVKUjwKUhrxJSm83lxDWOp+8z bA5l6bCCOpz3/PlHaz8OBebMK2OSKM3AIoNg39yJj5qYluanLY2u8YEWd32TCT0EHOgA HvmA== X-Gm-Message-State: AOJu0YybuoQuPV1O6EtkVUyD8sQbLUdR66IIz7MEHJ9jKMKnlyCJCpxc +QcRvnUkB5tGkoiQCrmDe8LZRjTT6bgivlnEvjI= X-Google-Smtp-Source: AGHT+IHj4sy4RQy3CLSZnK+kIbYXTcTKwM1x0jxDrgLAgGhIleByNvYi5tO3lAnMA8/RbkEDKoVNZA== X-Received: by 2002:a05:6808:180b:b0:3a7:d566:8b5e with SMTP id bh11-20020a056808180b00b003a7d5668b5emr6683940oib.44.1701763813601; Tue, 05 Dec 2023 00:10:13 -0800 (PST) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id u30-20020a056a00099e00b006cba5c61a01sm8834529pfg.159.2023.12.05.00.10.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2023 00:10:13 -0800 (PST) From: Bakul Shah Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: installkernel with PORTS_MODULES+=graphics/drm-515-kmod stopped working Message-Id: <8138561E-B09D-4F5F-BC10-2B04E245DA63@iitbombay.org> Date: Tue, 5 Dec 2023 00:10:01 -0800 To: FreeBSD CURRENT X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[iitbombay-org.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22e:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DKIM_TRACE(0.00)[iitbombay-org.20230601.gappssmtp.com:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[bakul]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[iitbombay.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SktWF02Gqz4FHN X-Spamd-Bar: -- 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