TL;DR: You may want to take evasive action, such as manually copying the r359690 (or later) from src/share/mk/bsd.sys.mk to /usr/share/mk/bsd.sys.mk before attempting to make use of the PORTS_MODULES specificsation if the current version of /usr/share/mk/bsd.sys.mk is from r359681. Details & rationale: I track head daily on my laptop, which uses x11/nvidia-driver, so I have: PORTS_MODULES=x11/nvidia-driver in /etc/src.conf -- and that has served well for years. Yesterday, I had updated head from r359656 to r359686 without incident (as far as I could tell at the time). Today, during the attempt to update from r359686 to r359724 -- which had worked on my headless "build machine" -- failed during the attempt to rebuild nividia.ko, whining: make[6]: "/usr/share/mk/bsd.sys.mk" line 219: Malformed conditional (${MK_CLANG_BOOTSTRAP} == "no" && ${COMPILER_RESOURCE_DIR} != "unknown" && !defined(BOOTSTRAPPING)) make[6]: Fatal errors encountered -- cannot continue make[6]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-440.64/doc *** Error code 1 Once I finally(!) had a chance to look at the commits between r359686 and r359724, I found r359690 ... and looking at the whine, I note that the path for share/mk/bsd.sys.mk starts with /usr -- which, of course, had not yet been updated, since this was part of "make buildkernel," and "make installworld" comes rather later in the sequence (ref src/UPDATING). Once I realized the above, I made the r359690 changes in /usr/share/mk/bsd.sys.mk, then re-ran the build/install, which worked without issue. Peace and good health, david -- David H. Wolfskill david_at_catwhisker.org "The most basic duty of government is to defend the lives of its own citizens. Any government that fails to do so is a government unworthy to lead." -- Donald Trump, to the RNC, 2016 See http://www.catwhisker.org/~david/publickey.gpg for my public key.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC