From owner-freebsd-current@freebsd.org Tue Jun 18 13:45:49 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 C7CB515BC7B4 for ; Tue, 18 Jun 2019 13:45:49 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6779F75872; Tue, 18 Jun 2019 13:45:48 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id dEQchLNECsAGkdEQehPgxi; Tue, 18 Jun 2019 07:45:41 -0600 X-Authority-Analysis: v=2.3 cv=WeVylHpX c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=xqWC_Br6kY4A:10 a=dq6fvYVFJ5YA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=ji0CiWrxS7U8Bpd-z3IA:9 a=vR0eu1w_76oA9zI8:21 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from [IPv6:2605:8d80:404:23b6:6402:1d22:1083:96d0] (unknown [72.143.218.131]) by spqr.komquats.com (Postfix) with ESMTPSA id E6E821416; Tue, 18 Jun 2019 06:45:36 -0700 (PDT) Date: Tue, 18 Jun 2019 06:45:10 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <061907F0-D8FC-4AEA-AA8C-5928A09425E9@freebsd.org> References: <0737312F-50AE-4526-B201-E62DB8949612@freebsd.org> <4b1f9f81-6463-c1bd-30a9-14aed49fc038@FreeBSD.org> <061907F0-D8FC-4AEA-AA8C-5928A09425E9@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: error: yacc.h: No such file or directory To: freebsd-current@freebsd.org, Michael Tuexen , "koobs@freebsd.org" CC: FreeBSD Current From: Cy Schubert Message-ID: X-CMAE-Envelope: MS4wfBaohij85TGOVoRfNeEhlpyV9aCu+HwqBf+XLicq0QshIlTJZ5FL5yXzNpC3IZ5qs/F6nOSMwx97Lw9yDYJn+dcz5bluqx2woXfKKst/qOxCsysLIIrN f5tLBiz8sVrhlxlAZRxSKIn5H4YBXZ3wLl9HL9Vrt2dwmAv6WwOVRqeSun3n7946p787+KTG6Pr1qDDonoZa/dLGbMmevUmadm+qeYG3DtHkkji2st5Bn5/3 mrCjlEaP6BEnO0yyDwbEBg== X-Rspamd-Queue-Id: 6779F75872 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-5.74 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-2.56)[ip: (-6.90), ipnet: 64.59.128.0/20(-3.26), asn: 6327(-2.52), country: CA(-0.09)]; MX_GOOD(-0.01)[spqr.komquats.com]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[12.134.59.64.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[] 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:45:50 -0000 On June 18, 2019 6:24:36 AM PDT, Michael Tuexen wrot= e: >> On 18=2E Jun 2019, at 12:56, Kubilay Kocak wrote: >>=20 >> 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=2E >>> The result is: >>> cc -O2 -pipe -I/usr/home/tuexen/head/usr=2Ebin/mkesdb_static >-I/usr/home/tuexen/head/usr=2Ebin/mkesdb_static/=2E=2E/mkesdb=20 >-I/usr/home/tuexen/head/usr=2Ebin/mkesdb_static/=2E=2E/=2E=2E/lib/libc/ic= onv -g >-MD -MF=2Edepend=2Elex=2Eo -MTlex=2Eo -std=3Dgnu99 =20 >-I/usr/obj/usr/home/tuexen/head/powerpc=2Epowerpc64/tmp/legacy/usr/includ= e >-c lex=2Ec -o lex=2Eo >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:46:18: error: yacc=2Eh:= No >such file or directory >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El: In function 'yylex': >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:60: error: 'R_LN' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:60: error: (Each >undeclared identifier is reported only once >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:60: error: for each >function it appears in=2E) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:72: error: 'yylval' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:73: error: 'L_IMM' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:76: error: 'R_NAME' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:77: error: 'R_ENCODING' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:78: error: 'R_VARIABLE' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:79: error: 'R_DEFCSID' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:80: error: 'R_INVALID' >undeclared (first use in this function) >>> /usr/home/tuexen/head/usr=2Ebin/mkesdb/lex=2El:88: error: 'L_STRING' >undeclared (first use in this function) >>> *** Error code 1 >>> Stop=2E >>> make[3]: stopped in /usr/home/tuexen/head/usr=2Ebin/mkesdb_static >>> *** Error code 1 >>> Stop=2E >>> make[2]: stopped in /usr/home/tuexen/head >>> *** Error code 1 >>> Stop=2E >>> make[1]: stopped in /usr/home/tuexen/head >>> *** Error code 1 >>> Stop=2E >>> make: stopped in /usr/home/tuexen/head >>> This is on a 64 bit PPC system=2E Doing sudo rm -rf /usr/obj does not >resolve the issue=2E >>> Any idea what is going wrong? >>> Best regards >>> Michael >>=20 >> Have seen another report on Twitter yesterday=2E Didn't see a full >build log, but theirs was had apparently without -j, apparently on June >14 sources: >>=20 >> Error: >> /usr/src/usr=2Ebin/mkesdb/lex=2E1:46:10: fatal error: 'yacc=2Eh' file n= ot >found >>=20 >> 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=2E > >Since I have been using make buildworld without -j n in the past on >that machine, the >problem seems to be introduced recently=2E Any idea what is the cause of >the problem? > >Best regards >Michael >>=20 > >_______________________________________________ >freebsd-current@freebsd=2Eorg mailing list >https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to >"freebsd-current-unsubscribe@freebsd=2Eorg" This is a generated file=2E It would appear the make target to build yacc= =2Eh hadn't run yet by the time the target that consumed the file ran=2E I had a similar problem on Sunday=2E It wasn't yacc=2Eh but some other fil= e, I cannot remember which=2E It occurred during one of four buildworlds=2E= Simply restarting the failed buildworld was enough to resolve it=2E My hypothesis is a buildworld race=2E I wonder if some of the recent (over= the last week or two) makefile changes exacerbated this issue=2E --=20 Pardon the typos and autocorrect, small keyboard in use=2E Cheers, Cy Schubert FreeBSD UNIX: Web: http://www=2EFreeBSD=2Eorg The need of the many outweighs the greed of the few=2E