From owner-freebsd-current@freebsd.org Tue Nov 8 05:07:41 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1525C36B96 for ; Tue, 8 Nov 2016 05:07:41 +0000 (UTC) (envelope-from dave@ci.com.au) Received: from mippet.ci.com.au (mippet.ci.com.au [192.65.182.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mippet.ci.com.au", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 723D59C for ; Tue, 8 Nov 2016 05:07:41 +0000 (UTC) (envelope-from dave@ci.com.au) Received: from jodi.ci.com.au (jodi.ci.com.au [192.168.1.21]) by mippet.ci.com.au (8.15.2/8.15.2/CE130916) with ESMTPS id uA857brv063636 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 8 Nov 2016 16:07:38 +1100 (AEDT) (envelope-from dave@ci.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ci.com.au; s=jun2016; t=1478581658; bh=cgOYgaAgMuMsHNMzljzE6U2cH34eql7jK+IRmkPJJZI=; h=Date:From:To:Subject; b=sSKzLWXyZ4ztI+nqmE2/RPo9pQ9io+ZkH1wO6n9Ocv8mwAt2xni7IjGogzdlA0zba Z+68MtNmN59JbPv8mGmVyr3CZAYKdkVwP6NJOPZdSgFoKLoaSJewhV/pNSnCloEqM0 PWiNJdeAb+RY8uPy2jWzb1xJqkAdBEm5RhsmJtOXimMS4uMhxadulPor0U3yFI51kq RL6ESvTC5w5s5nOt1G/T9zDGFxxb4uxtJE3VgYsW8CxEq4bqe0tzwM1MRZ6pgv4dur lhW7Y6cKlBWksUWYHOCQ0hJUfllCgI3GJtlOcQXXE7bf6YYhRfAq99IqQO4qcV0Q3s 0aYZGoNgxp2iA== Received: from jodi.ci.com.au (localhost [127.0.0.1]) by jodi.ci.com.au (8.15.2/8.15.2) with ESMTP id uA857bp6028722 for ; Tue, 8 Nov 2016 16:07:37 +1100 (AEDT) (envelope-from dave@jodi.ci.com.au) Received: (from dave@localhost) by jodi.ci.com.au (8.15.2/8.15.2/Submit) id uA857bta028721 for freebsd-current@freebsd.org; Tue, 8 Nov 2016 16:07:37 +1100 (AEDT) (envelope-from dave) Date: Tue, 8 Nov 2016 16:07:37 +1100 From: Dave Dodd To: freebsd-current@freebsd.org Subject: Failure during buildworld of FreeBSD 9 on FreeBSD 12.0-CURRENT Message-ID: <20161108050737.GJ94507@jodi.ci.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 08 Nov 2016 05:07:41 -0000 Gentlefolk, I have run into a problem building a FreeBSD 9 world & kernel on a FreeBSD 12.0-CURRENT host. I have my FreeBSD 9 tree located in /usr/src-9 which was refreshed via svn yesterday. The build is being executed on a host running FreeBSD 12.0-CURRENT #3 r308389 . The steps that were followed were: cd /usr/src-10 svn update make buildworld -j8 This starts and emits the following: root@fmaster:/usr/src-9 # make buildworld -j8 --- upgrade_checks --- --- make --- -------------------------------------------------------------- >>> Building an up-to-date make(1) -------------------------------------------------------------- --- obj --- --- _proginstall --- sh /usr/src-9/tools/install.sh -s -o root -g wheel -m 555 make /usr/obj/usr/src-9/make.amd64/make --- buildworld --- Unknown modifier 'U' "/usr/share/mk/bsd.compiler.mk", line 38: Malformed conditional (${MK_CCACHE_BUILD:Uno} == "yes" && !make(showconfig) && (${CC:M*ccache/world/*} == "" || ${CXX:M*ccache/world/*} == "")) "/usr/share/mk/bsd.compiler.mk", line 107: missing `in' in for X_ in CC $${_empty_var_} XCC X_ "/usr/share/mk/bsd.compiler.mk", line 108: Malformed conditional (${cc} == "CC" || !empty(XCC)) Unknown modifier 'h' Error expanding embedded variable. "/usr/src-9/Makefile.inc1", line 134: warning: "/usr/obj/usr/src-9/make.amd64/make -C /usr/src-9/release -V REVISION" returned non-zero status Unknown modifier 'U' "/usr/share/mk/bsd.compiler.mk", line 38: Malformed conditional (${MK_CCACHE_BUILD:Uno} == "yes" && !make(showconfig) && (${CC:M*ccache/world/*} == "" || ${CXX:M*ccache/world/*} == "")) "/usr/share/mk/bsd.compiler.mk", line 107: missing `in' in for X_ in CC $${_empty_var_} XCC X_ "/usr/share/mk/bsd.compiler.mk", line 108: Malformed conditional (${cc} == "CC" || !empty(XCC)) Unknown modifier 'h' Error expanding embedded variable. "/usr/src-9/Makefile.inc1", line 135: warning: "/usr/obj/usr/src-9/make.amd64/make -C /usr/src-9/release -V BRANCH" returned non-zero status --------------------------------------------------------------------------------------- I realized that the build was using /usr/share/mk/bsd.compiler.mk I then set the environment variable MAKESYSPATH to /usr/src-9/share/mk and retried. The inital errors/warning about Malformed conditionals dissapear, however the buildworld then fails at the same point as before. Note that a build using a FreeBSD 9 jail hosted on the same FreeBSD 12.0-CURRENT server works correctly without problems. I do not have any problem doing a buildworld of FreeBSD 10 world done on the sam e FreeBSD 12.0 host. The FreeBSD 12.0-CURRENT host does not have an /etc/make.conf or /etc/src.conf My understanding is that building like this should work seamlessly. I have transcripts of both builds available if required but I cannot attach them to this email becuse of mailing list posting size limitations. -- David Dodd Bing Technologies Pty Ltd Suite 54, Jones Bay Wharf 26-32 Pirrama Road Pyrmont NSW 2009 Australia Telephone +612 9552 5500 Fax +612 9552 5549