From owner-freebsd-current@freebsd.org Wed Mar 17 12:08:58 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E79135AC6B5 for ; Wed, 17 Mar 2021 12:08:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0ppy5JSxz3Qwp for ; Wed, 17 Mar 2021 12:08:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id B46A05AC6B4; Wed, 17 Mar 2021 12:08:58 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B311B5AC6B3 for ; Wed, 17 Mar 2021 12:08:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F0ppx4bXVz3R0N; Wed, 17 Mar 2021 12:08:57 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 12HC8ohW041115; Wed, 17 Mar 2021 12:08:50 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 12HC8ofA041114; Wed, 17 Mar 2021 05:08:50 -0700 (PDT) (envelope-from david) Date: Wed, 17 Mar 2021 05:08:50 -0700 From: David Wolfskill To: current@freebsd.org Subject: Problem building x11/nvidia-driver; ref. n245494-6827435548d2 Message-ID: Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9izDZUMqXp9lMrUy" Content-Disposition: inline X-Rspamd-Queue-Id: 4F0ppx4bXVz3R0N X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-0.40 / 15.00]; HAS_REPLYTO(0.00)[current@freebsd.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; REPLYTO_EQ_TO_ADDR(5.00)[]; MAILMAN_DEST(0.00)[current]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2021 12:08:59 -0000 --9izDZUMqXp9lMrUy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My laptop is currently running main-n245489-15b82e00a164; after updating sources to n245498-096a84721670, I am performing a source-based update. A simialr update on my build machine (which is headless, and thus does not use anything related to X11) was successful. The laptop is set up to rebuild x11/nvidia-driver when the kernel is updated. The buildkernel step on it fails with: =2E.. awk -f /usr/src/sys/conf/kmod_syms.awk nvidia-modeset.ko export_syms | xar= gs -J% objcopy % nvidia-modeset.ko =3D=3D=3D> lib (all) =3D=3D=3D> lib/libglvnd (all) =2E.. =3D=3D=3D> x11/driver (all) =3D=3D=3D> x11/extension (all) =3D=3D=3D> doc (all) make[6]: "/usr/share/mk/bsd.man.mk" line 53: Malformed conditional (${MK_MA= NSPLITPKG} =3D=3D "no") make[6]: Fatal errors encountered -- cannot continue make[6]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/po= rts/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-460.56/doc *** Error code 1 Stop. On reviewing the list of files changed in 15b82e00a164..096a84721670, I note a couple of promising-looking candidates: share/mk/bsd.opts.mk | 1 + share/mk/src.opts.mk | 1 - Reviewing the commit log for share/mk/bsd.opts.mk, I see that the most recent entry is: | commit 6827435548d257c672f934db5c6ff01012d96995 | Author: Jung-uk Kim | Date: Tue Mar 16 14:16:10 2021 -0400 |=20 | pkgbase: Fix building out-of-tree manual pages | =20 | c7e6cb9e08d6 introduced MK_MANSPLITPKG but it was not available for | building out-of-tree manual pages. For example, x11/nvidia-driver fa= ils | with the following error: | =20 | =3D=3D=3D> doc (all) | make[3]: "/usr/share/mk/bsd.man.mk" line 53: Malformed conditional ($= {MK_MANSPLITPKG} =3D=3D "no") | make[3]: Fatal errors encountered -- cannot continue | =20 | Move the definition from src.opts.mk to bsd.opts.mk to make it visibl= e. which looks ... apropos. Indeed, it appears that the n245494-6827435548d2 change was intended to fix the issue that I am now just seeing. But I readily confess that I have neither familairity nor expertise with share/mk/* (and that delving into it reminds me of "You are in a mazy twist of passages, all different") So... help? What do I need to do to be able to build the kernel now? (E.g., if I need to just skip building x11/nvidia-driver once, get everything installed, then build "normally" (with x11/nvidia-driver) -- that's fine; I just need a clue.) Thanks. Peace, david --=20 David H. Wolfskill david@catwhisker.org That broadly-popular "American Rescue Plan" (stimulus/COVID relrief)? Ever Republican vote in Congress was against it. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --9izDZUMqXp9lMrUy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmBR8VJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcnQ5AgAjtASALCG8+A1P5ngruHkqNDL97GJo1NIuPQVjHzaFUqNDTi56LAS42NB vEWlgCM3btuqD9sOb5Jg0mP+EIFc8lqx06rtQXrie7d4v148G6vq/3XTH8mx8a6t Eau50DlR4RrLGGEF58ENNJ/Q7usf98nF8rBgfONuqkgP6f2hoCBwRIpa64/Oe7cI GpJTSNZUY8/+JzN4almjpcw1OB34okPQ3/qEogzVMhHRE2EGtsGn++6wBT4sUcU0 XJHrQ62ZPDc/2uVl7cYQLR2jhJLJ7oOmjSbIaRdI3k8QS5HCUvaAD0xEc+ZEdrU7 teGjPuT3h2W2G6C3rPyQu5e7xzON4A== =Jinz -----END PGP SIGNATURE----- --9izDZUMqXp9lMrUy--