Date: Thu, 18 Mar 2021 09:04:50 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: current@freebsd.org, David Wolfskill <david@catwhisker.org> Subject: Re: Problem building x11/nvidia-driver; ref. n245494-6827435548d2 Message-ID: <40999f3a-a929-0edd-f828-732f2eb418e5@FreeBSD.org> In-Reply-To: <YFHxUhTAQZystyYn@albert.catwhisker.org> References: <YFHxUhTAQZystyYn@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --giLPxNdbRPK0ytUTRkx7rnDxGfPp1TChK Content-Type: multipart/mixed; boundary="pbPiVNVSdkE3Nzdt8GTKVi4C0zzPyiYv5"; protected-headers="v1" From: Jung-uk Kim <jkim@FreeBSD.org> To: current@freebsd.org, David Wolfskill <david@catwhisker.org> Message-ID: <40999f3a-a929-0edd-f828-732f2eb418e5@FreeBSD.org> Subject: Re: Problem building x11/nvidia-driver; ref. n245494-6827435548d2 References: <YFHxUhTAQZystyYn@albert.catwhisker.org> In-Reply-To: <YFHxUhTAQZystyYn@albert.catwhisker.org> --pbPiVNVSdkE3Nzdt8GTKVi4C0zzPyiYv5 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 21. 3. 17., David Wolfskill wrote: > My laptop is currently running main-n245489-15b82e00a164; after updatin= g > sources to n245498-096a84721670, I am performing a source-based update.= >=20 > A simialr update on my build machine (which is headless, and thus does > not use anything related to X11) was successful. >=20 > The laptop is set up to rebuild x11/nvidia-driver when the kernel > is updated. >=20 > The buildkernel step on it fails with: >=20 > ... > awk -f /usr/src/sys/conf/kmod_syms.awk nvidia-modeset.ko export_syms |= xargs -J% objcopy % nvidia-modeset.ko > =3D=3D=3D> lib (all) > =3D=3D=3D> lib/libglvnd (all) > ... > =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 (${M= K_MANSPLITPKG} =3D=3D "no") > make[6]: Fatal errors encountered -- cannot continue > make[6]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/commo= n/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-460.56/doc > *** Error code 1 >=20 > Stop. >=20 >=20 > On reviewing the list of files changed in 15b82e00a164..096a84721670, I= > note a couple of promising-looking candidates: >=20 > share/mk/bsd.opts.mk | 1 + > share/mk/src.opts.mk | 1 - >=20 > Reviewing the commit log for share/mk/bsd.opts.mk, I see that the most > recent entry is: >=20 > | commit 6827435548d257c672f934db5c6ff01012d96995 > | Author: Jung-uk Kim <jkim@FreeBSD.org> > | 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 f= or > | building out-of-tree manual pages. For example, x11/nvidia-drive= r fails > | with the following error: > | =20 > | =3D=3D=3D> doc (all) > | make[3]: "/usr/share/mk/bsd.man.mk" line 53: Malformed conditiona= l (${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 vi= sible. >=20 > which looks ... apropos. >=20 > Indeed, it appears that the n245494-6827435548d2 change was intended to= > fix the issue that I am now just seeing. >=20 > 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") >=20 > So... help? What do I need to do to be able to build the kernel now? >=20 > (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.) cd /usr/src/share/mk && make install Jung-uk Kim --pbPiVNVSdkE3Nzdt8GTKVi4C0zzPyiYv5-- --giLPxNdbRPK0ytUTRkx7rnDxGfPp1TChK Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAmBTT/IFAwAAAAAACgkQfJ+WJvzb8UY+ XQf/ZyDonJh2FjDgDaGqvOu2DswQLpRabTzSh46TvGBoHkQ81SqmGJKhAxXO32C1quwoHMur52k3 5bSqnc9uYnX0+Qu0xtkaECMwwb+g9Rd0EfnSNDRbcOxy4jKSlH5hH9B9yci0+SsoJMZkr1Ly9Ly0 mQTIYnjYIeIsRgXSE50L3uz/ZvA8qpiTmrAokUJRSq9eGZtIeKu8TUl21CQYgIHCs04WFdNNTKV4 n3bP6rkGvGJa9V4WZ6fJqm6F7uECCWloe2FLAeS1wEnonhyzjL3hZrDkAI1lFfvHWvmh4AlpxXas Da5no6sOzWZVvutEouXuJk9TK0pOin8Waj4gjSR7fw== =Kfvr -----END PGP SIGNATURE----- --giLPxNdbRPK0ytUTRkx7rnDxGfPp1TChK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40999f3a-a929-0edd-f828-732f2eb418e5>