From owner-freebsd-current@freebsd.org Tue Jun 18 13:24:46 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 7E90615BBFA3 for ; Tue, 18 Jun 2019 13:24:46 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (mail-n.franken.de [193.175.24.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF12574EC6; Tue, 18 Jun 2019 13:24:45 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2003:cd:6f26:600:adb6:b12f:d707:b261] (p200300CD6F260600ADB6B12FD707B261.dip0.t-ipconnect.de [IPv6:2003:cd:6f26:600:adb6:b12f:d707:b261]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 5D8C771E3F939; Tue, 18 Jun 2019 15:24:37 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: error: yacc.h: No such file or directory From: Michael Tuexen In-Reply-To: <4b1f9f81-6463-c1bd-30a9-14aed49fc038@FreeBSD.org> Date: Tue, 18 Jun 2019 15:24:36 +0200 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <061907F0-D8FC-4AEA-AA8C-5928A09425E9@freebsd.org> References: <0737312F-50AE-4526-B201-E62DB8949612@freebsd.org> <4b1f9f81-6463-c1bd-30a9-14aed49fc038@FreeBSD.org> To: "koobs@freebsd.org" X-Mailer: Apple Mail (2.3445.104.11) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: AF12574EC6 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.980,0]; ASN(0.00)[asn:680, ipnet:193.174.0.0/15, country:DE] 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:24:46 -0000 > On 18. 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. >> 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=3Dgnu99 = -I/usr/obj/usr/home/tuexen/head/powerpc.powerpc64/tmp/legacy/usr/include = -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 >=20 > 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: >=20 > Error: > /usr/src/usr.bin/mkesdb/lex.1:46:10: fatal error: 'yacc.h' file not = 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. 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 >=20