From owner-freebsd-stable@freebsd.org Thu Jan 25 12:40:11 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0497CED56F2 for ; Thu, 25 Jan 2018 12:40:11 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1F787A2DD for ; Thu, 25 Jan 2018 12:40:10 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1FE7620FAC; Thu, 25 Jan 2018 07:40:04 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 25 Jan 2018 07:40:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=JTfMmSkDTRQfQEG4rReyLy+Xtt+af 1aH6+iS5OxJFZk=; b=NY0FD7VE95sjVk5vw1RTvsIhyhPnBxYYqooBJoYMsB46p CsplfojtsrlJnVVjCeI8F7uh689QgAnZDjFP3Lx/69KxrqiSz73gVGvs24nt1Xj1 PedYatkrbVahHftSFdXNO1rYK5HFbDM6DkGT2QVTJOVJFkI59PYeltkhVpD2+Dg+ l+e1360P+AUIkMfT7w5tQJgqIORWA1CzzGRlUhOm6OWwYan3rnyUOZEPUYq1wvqM dLNWhCdg+YnT15hAkAZ+T162jTDdSLg/KQktg9xKIqxjzqUWjiTNFUp4T3QNm3m/ qHyUSWMceOPojeRxSdkSoiQ8rIMXrdUiUSvys76wQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=JTfMmS kDTRQfQEG4rReyLy+Xtt+af1aH6+iS5OxJFZk=; b=saqopjkOTcYTZMHycTc+n2 eZxGwUg5URZ9k2EuaSc+N2EmVFTFrL9OX6NxM8MQmkJLOkMvAg0LL/aRvEp16q3v mD2P/Eu570snw1fp1ZELRnTIgAqI/Z7Z+pYO6wb44EShREADE7A7Ulp5FnEhfmTu YTajuS57xHQPxjKD+j1rBmhxx/pSBpULV/xoGEvA6lXPHe9YqowUUKiE236ujg1l 5GAXyMd4SQ5HPzMi+BEULSZE4TGKFUm2HdEyIEvnSxD/vik4PtXQ67Dff7qjbB9I /G4g/btin9GPtAOzHm8epGbU+684aervepLX0kfaaUrXDJ9G5AjxbvvNTQ6/r5ew == X-ME-Sender: Received: from desktop.parsley.growveg.org (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 6832724636; Thu, 25 Jan 2018 07:40:03 -0500 (EST) Subject: Re: why does buildworld fail on stable/11 ? To: Scott Bennett Cc: freebsd-stable@freebsd.org References: <201801240851.w0O8pnDl008705@sdf.org> <201801250622.w0P6M3Id020498@sdf.org> From: tech-lists Message-ID: <5ff60dd8-734c-8b97-3dca-891910299be4@zyxst.net> Date: Thu, 25 Jan 2018 12:40:01 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <201801250622.w0P6M3Id020498@sdf.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 12:40:11 -0000 On 25/01/2018 06:22, Scott Bennett wrote: > tech-lists wrote: > >> On 24/01/2018 08:51, Scott Bennett wrote: >>> hellas# mv /etc/make.conf{,.save} >>> hellas# mv /etc/src.conf{,.save} >>> hellas# cd /usr/src >>> hellas# make cleandir >>> "/usr/src/share/mk/local.sys.mk", line 51: Malformed conditional (${.MAKE.MODE:Mmeta*} != "") >>> "/usr/src/share/mk/local.sys.mk", line 58: Malformed conditional (${.MAKE.MODE:Mnofilemon} == "") >>> "/usr/src/share/mk/local.sys.mk", line 76: if-less else >>> "/usr/src/share/mk/local.sys.mk", line 79: if-less endif >>> "/usr/src/share/mk/sys.mk", line 476: if-less endif >>> bmake: fatal errors encountered -- cannot continue >>> *** Error code 1 >> >> Move the /usr/src somewhere else, make a new /usr/src dir and then >> >> svnlite co https://svn.FreeBSD.org/base/stable/11 /usr/src >> >> make sure it completes normally >> >> then cd into it and make cleandir. What happens? > > Before I do that, please answer my earlier question regarding svnlite > vs. svn. The make is failing on a clean checkout of /usr/src, as I stated *Was* it a *clean* checkout? Clearly, something is broken in at least /usr/local/share/mk if you're just running tools in base. > before. The only difference is that I used svn to do the checkout, not > svnlite. If they give identical checkout output, *If*. > then repeating that rather > lengthy download would give an identical result and thus would serve no > purpose. All I know is this: 1. You should be able to make buildworld et al with base tools, i.e. without any ports installed. You should be able to use ccache (I do) but for the purposes of debugging this, that's another uncontrolled variable. 2. I don't know the difference between svnlite and svn. All I know is that svnlite is in base and it will be in base for reasons and one of those reasons will be that it works reliably. I think svn in ports might be more featureful, but maybe it's more buggy because of it, maybe it does more - I don't know. In your position I'd like fewer unknowns. I mean, even make cleandir fails. In circumstances like that, the first thing I'd do is get fresh sources. I just ran a full checkout on 11.1-stable src which took about 9 minutes on a 19Mbit DSL: $ pwd /tmp/test $ date >>time.txt && svnlite co https://svn.FreeBSD.org/base/stable/11 /tmp/test && date >>time.txt [loads of output] A rescue/rescue/Makefile.depend A rescue/README A LOCKS U . Checked out revision 328393. $ cat time.txt Thu 25 Jan 2018 11:51:04 GMT Thu 25 Jan 2018 12:01:07 GMT $ make cleandir ===> lib (cleandir) ===> lib/csu (cleandir) ===> lib/csu/amd64 (cleandir) rm -f crt1.o crti.o crtn.o Scrt1.o gcrt1.o crt1.s gcrt1.s Scrt1.s rm -f .depend .depend.* GPATH GRTAGS GSYMS GTAGS ===> lib/libc (cleandir) rm -f tags gdtoa_strtorx.c gdtoa_dmisc.c gdtoa_dtoa.c gdtoa_gdtoa.c gdtoa_gethex.c gdtoa_gmisc.c gdtoa_hd_init.c gdtoa_hexnan.c gdtoa_misc.c gdtoa_smisc.c gdtoa_strtod.c gdtoa_strtodg.c gdtoa_strtof.c gdtoa_strtord.c gdtoa_sum.c gdtoa_ulp.c cancelpoints_sem.c cancelpoints_sem_new.c subr_acl_nfs4.c C99_Exit.c jemalloc [loads of output] $ which make /usr/bin/make $ file /usr/bin/make /usr/bin/make: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 11.1 (1101506), FreeBSD-style, stripped -- J.