FreeBSD Errata Notices
2015-Aug-18 20:15 UTC
[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-15:11.toolchain
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================FreeBSD-EN-15:11.toolchain Errata Notice The FreeBSD Project Topic: make(1) syntax errors when upgrading from 9.x and earlier Category: core Module: toolchain Announced: 2015-08-18 Credits: John Hein Affects: FreeBSD 10.2-RELEASE Corrected: 2015-08-13 22:29:26 UTC (stable/10, 10.2-STABLE) 2015-08-18 19:30:17 UTC (releng/10.2, 10.2-RC3-p1) 2015-08-18 19:30:17 UTC (releng/10.2, 10.2-RELEASE-p1) For general information regarding FreeBSD Errata Notices and Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.freebsd.org/>. I. Background The FreeBSD userland and kernel build system ensures a seamless upgrade path from the previous major FreeBSD version. During source-based upgrades, the build system must utilize several utilities on the running system in order to bootstrap the build toolchain, after which the bootstrapped utilities are used to produce the build output for the system upgrade. The make(1) utility was replaced with the NetBSD bmake(1) utility as of FreeBSD 10.0-RELEASE, which has several syntactical differences compared to the fmake(1) utility found in earlier FreeBSD releases. II. Problem Description A hard-coded make(1) invocation in the FreeBSD 10.2 sources produce warnings on FreeBSD versions earlier than 10.x due to a syntactical difference between the FreeBSD and NetBSD versions of make(1). The warnings may persist on FreeBSD 10.2-RELEASE or 10.2-STABLE if the system is configured to use fmake(1), by defining WITHOUT_BMAKE in src.conf(5). III. Impact The warnings produced have no known functional impact. Additionally, the warnings will not recur after the system is upgraded to 10.2-RELEASE or 10.2-STABLE, unless WITHOUT_BMAKE is defined in src.conf(5) as noted above. IV. Workaround No workaround is available, but systems using binary upgrades such as freebsd-update(8) are not affected. V. Solution Perform one of the following: 1) Update the system sources to stable/10 or releng/10.2 dated after the correction date prior to upgrading from FreeBSD 9.x or earlier. No addtional action is required. 2) To update your present system via a source code patch: a) Download the relevant patch from the location below, and verify the detached PGP signature using your PGP utility. # fetch https://security.FreeBSD.org/patches/EN-15:11/toolchain.patch # fetch https://security.FreeBSD.org/patches/EN-15:11/toolchain.patch.asc # gpg --verify toolchain.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch VI. Correction details The following list contains the correction revision numbers for each affected branch. Branch/path Revision - ------------------------------------------------------------------------- stable/10/ r286746 releng/10.2/ r286901 - ------------------------------------------------------------------------- To see which files were modified by a particular revision, run the following command, replacing NNNNNN with the revision number, on a machine with Subversion installed: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base Or visit the following URL, replacing NNNNNN with the revision number: <URL:https://svnweb.freebsd.org/base?view=revision&revision=NNNNNN> VII. References <URL:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202277> The latest revision of this Errata Notice is available at https://security.FreeBSD.org/advisories/FreeBSD-EN-15:11.toolchain.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1.7 (FreeBSD) iQIcBAEBCgAGBQJV05A1AAoJEO1n7NZdz2rnSJEP/A1452UILdiWXytwy75nCktq a4vCmQ73gK1raY1SyFDzRppemiIeiDlsE3NTldNvMjw+itPkW/d/VJYIsUQimLxL dQvuAaWLKDK2MKjCUkl7isxBJPdcnnB12QLIZ5TS9ZzqPo7awFq91tL3TmAhwdmw mAikqUoOZilTC6j3wZp+2w4IjSrecN6dGdTutd9E8ahjy8BmNBax+hyPnbFTXGp4 s8Tpx3LhmPicvXh4ou3uHm0IbKFJF2B5Y8THTDF2SAZ5pyaltjg+o4JvW1lvaOFM XXp1XkGhfdkFj19FKeFUsT4BWLorqAnu9BqNJFlrxbotaPMMBJLbMEI2HqBVMa8a fu+loj9tlAMprWjKnl+GLcYrpIEmIPQzGHHO0k8ke1efQmsfLeBo1cdKyQV1M88u uwRBDkN08krEyun5QDeZwn35Kc//jeK14v465HRXt0gxztX+frt31UKNu7cTEuo9 ZqZbX5RUS85u/Z8WKhIBp9LWSgVdaB1v10mSb9kHMqZvckEqlozxr3h+/lOezpep rGCdnHPDEHaA5jvwX2WY3+Rb7hOvpzRw5UmBuGVfGp16HQALIwwMC0LM9hA2NnZf re3Rx4asssbyoLmp8akZjDsr3j/500/XM7enNvQcEc1ZQhK9k5W9SDg6cbEthEle Eiaq3eGZnWVBKiYftGcT =ryS+ -----END PGP SIGNATURE-----