From owner-freebsd-current@freebsd.org Tue Jun 18 13:53:21 2019 Return-Path: Delivered-To: freebsd-current@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 06D1015BCD04 for ; Tue, 18 Jun 2019 13:53:21 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3463375EE3 for ; Tue, 18 Jun 2019 13:53:20 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1560865993; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=mOQkfaHvvtCO7rpmG4TVxD/9Qe33eq1g14qHSvpZXvJAbo+45K93J0gg69uReC54vJpu9YMaVjGP8 CCCS6vk00NmwMykZdlHOfkrohEbFN4Lmh/VOUaBfe27t67cHQQwpqZllZB0YJsusdRR0AP+HuPxuLX 4mCXDmZCBMeKSmf6M4mjrkm44ZoN/I+iBMwSxyQFrl0N73Oj9ui9mCuDaXPVjlHJR/E3WszLh9JZCG P59pW2KGm7xnx2AGjP6iSKd34rOQvmyHbECcSLk0xCMhry/7Epvmcw1pCsx8p4EK4wZuk7pRtycWHi fPoGz5PmiB87hJFZZUfFry2N6jFYBhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=yEahdZrp1/0wLOlwPGr910NQJfLEIcL1SO+MOJDkhq4=; b=dSblZL8yEmz/KKZ6AyifHswv61cRjXE8H4qG9kmy7pj4Araj12patHgcou4T6uBjurFAWqSVaPmrT xnK1Ho1TiSllUPj/RxCxvQo3/HSQQatFywTQ1714kK/qpLcmfw+eTQHv8sSEKbSUB2qYuQb7T7ylvS nz08XZEBDrm7tp1G95OTdNDOGEWX8u8NROP/0yVhb2cl41LyFnOYtQTrUISq/+l5ae4OTVWTcRAKF8 yr+FtWw1CnWk8D9412eRkRFz7zssHzxwUP97NEkI6qguCn6rhllX1Um+Np3YjODkpXCilZgLB8p/g2 GryVOAS1gHMa7aJrzT8xWWgSZqRAkow== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=yEahdZrp1/0wLOlwPGr910NQJfLEIcL1SO+MOJDkhq4=; b=E+7G7Xd66bD7Q49QYmcmzUJ53h+0b8LYiWoBB8kx58hEaocy4SO8bOUkDuX4K4Gn1ZLu23zs+SiJe YYSGLVBrC/0WFSER8kh9VGNlmPDcOU1WkhalQ5xievMoLxtEhGxQgCqstHl8+IWS/MngMa9pvLOjdZ /26bHeioKZ9pWRzIHuvMPji1OkwmqfMtvBeRfcxUa8awfTFGG8Sv1mFrDQLzTXXu7CVDVN0ef/VKBf C6ErDzDBZokyil1TvmyH/1ZlN928r/kVo0YHtHGepVpJuJoX5QYandqQwP59sDvtdLC6JFbE9494Ha h6X9HnF6CkpxSGAn58GBBB+ebpn3j8Q== X-MHO-RoutePath: aGlwcGll X-MHO-User: 6869d1f1-91d0-11e9-bab0-b3d44a174089 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 6869d1f1-91d0-11e9-bab0-b3d44a174089; Tue, 18 Jun 2019 13:53:11 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x5IDrArV017346; Tue, 18 Jun 2019 07:53:10 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: error: yacc.h: No such file or directory From: Ian Lepore To: Cy Schubert , freebsd-current@freebsd.org, Michael Tuexen , "koobs@freebsd.org" Cc: Bryan Drewery Date: Tue, 18 Jun 2019 07:53:09 -0600 In-Reply-To: References: <0737312F-50AE-4526-B201-E62DB8949612@freebsd.org> <4b1f9f81-6463-c1bd-30a9-14aed49fc038@FreeBSD.org> <061907F0-D8FC-4AEA-AA8C-5928A09425E9@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3463375EE3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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, 18 Jun 2019 13:53:21 -0000 On Tue, 2019-06-18 at 06:45 -0700, Cy Schubert wrote: > On June 18, 2019 6:24:36 AM PDT, Michael Tuexen > wrote: > > > On 18. Jun 2019, at 12:56, Kubilay Kocak > > > wrote: > > > > > > On 18/06/2019 5:42 pm, Michael Tuexen wrote: > > > > Dear all, > > > > I'm trying to run > > > > sudo make buildworld > > > > in a directory with r349168. > > > > The result is: > > > > cc -O2 -pipe -I/usr/home/tuexen/head/usr.bin/mkesdb_static > > > > -I/usr/home/tuexen/head/usr.bin/mkesdb_static/../mkesdb > > -I/usr/home/tuexen/head/usr.bin/mkesdb_static/../../lib/libc/iconv > > -g > > -MD -MF.depend.lex.o -MTlex.o -std=gnu99 > > -I/usr/obj/usr/home/tuexen/head/powerpc.powerpc64/tmp/legacy/usr/in > > clude > > -c lex.c -o lex.o > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:46:18: error: > > > > yacc.h: No > > > > such file or directory > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l: In function > > > > 'yylex': > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:60: error: 'R_LN' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:60: error: (Each > > > > undeclared identifier is reported only once > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:60: error: for each > > > > function it appears in.) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:72: error: 'yylval' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:73: error: 'L_IMM' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:76: error: 'R_NAME' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:77: error: > > > > 'R_ENCODING' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:78: error: > > > > 'R_VARIABLE' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:79: error: > > > > 'R_DEFCSID' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:80: error: > > > > 'R_INVALID' > > > > undeclared (first use in this function) > > > > /usr/home/tuexen/head/usr.bin/mkesdb/lex.l:88: error: > > > > 'L_STRING' > > > > undeclared (first use in this function) > > > > *** Error code 1 > > > > Stop. > > > > make[3]: stopped in /usr/home/tuexen/head/usr.bin/mkesdb_static > > > > *** Error code 1 > > > > Stop. > > > > make[2]: stopped in /usr/home/tuexen/head > > > > *** Error code 1 > > > > Stop. > > > > make[1]: stopped in /usr/home/tuexen/head > > > > *** Error code 1 > > > > Stop. > > > > make: stopped in /usr/home/tuexen/head > > > > This is on a 64 bit PPC system. Doing sudo rm -rf /usr/obj does > > > > not > > > > resolve the issue. > > > > Any idea what is going wrong? > > > > Best regards > > > > Michael > > > > > > Have seen another report on Twitter yesterday. Didn't see a full > > > > build log, but theirs was had apparently without -j, apparently on > > June > > 14 sources: > > > > > > Error: > > > /usr/src/usr.bin/mkesdb/lex.1:46:10: fatal error: 'yacc.h' file > > > not > > > > found > > > > > > Have not heard back from them whether it continued after trying > > > -j2 > > > > but I did ask them to hit up freebsd-current if it continued to be > > an > > issue > > OK, I started the build again with -j 2 and it seems that the > > problem > > does not occur. > > > > Since I have been using make buildworld without -j n in the past on > > that machine, the > > problem seems to be introduced recently. Any idea what is the cause > > of > > the problem? > > > > Best regards > > Michael > > > > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org" > > This is a generated file. It would appear the make target to build > yacc.h hadn't run yet by the time the target that consumed the file > ran. > > I had a similar problem on Sunday. It wasn't yacc.h but some other > file, I cannot remember which. It occurred during one of four > buildworlds. Simply restarting the failed buildworld was enough to > resolve it. > > My hypothesis is a buildworld race. I wonder if some of the recent > (over the last week or two) makefile changes exacerbated this issue. > > Last Saturday, Bryan (cc'd) made a series of commits (r349061-69) that were all somehow related to dependency processing in the build. I don't know the details, just remember seeing some commits about that. -- Ian