From owner-freebsd-current@freebsd.org Tue Jun 18 02:10:45 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 BE20B15CB1E1 for ; Tue, 18 Jun 2019 02:10:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1E18CDDD for ; Tue, 18 Jun 2019 02:10:44 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id CE40D15CB1E0; Tue, 18 Jun 2019 02:10:43 +0000 (UTC) Delivered-To: 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 AA3C615CB1DF for ; Tue, 18 Jun 2019 02:10:43 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 326218CCDB; Tue, 18 Jun 2019 02:10:43 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf1-x444.google.com with SMTP id 19so6688314pfa.4; Mon, 17 Jun 2019 19:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=KFX6DCn6gDrMMp/xMrCTd6hLsteHJ6N9FabJHOspN7g=; b=n0i9oK76tj1q+RxNkKvJ/qRno46yhkO4TfVlfDt/3K/fpcZ4TACpy4eE2ZpalB+xp5 w0B2i6y7uTJlKuJDFglGLOBEYyUVnacHopgw5GN7O4TqquWR+ZffxJ90z+M/ybYWgajd jrSlY5AfxtR76L5ey6EWPsUdyX5nJGEhomBeqCW7hh+rlxkVtWNnQgiHmKU9Wl6zMAyM 5VSWuj5XJOCzj2AfLTJk0KPAiUhTp30e9LLZARHsQ8tPAqZB5Nw+l3DjXDNH81Lqvbik MjfGv1Pjld8TOpghLkzqdX57DQY2xHkTjTJbFf+qk8u7BATdMcWAghFtGyR3ljPW20Ii W9vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=KFX6DCn6gDrMMp/xMrCTd6hLsteHJ6N9FabJHOspN7g=; b=Gkzli3Y65129fMWzsf0JafS/IAKXmjst0fsyWdyw4bmM2MJfx3OPx7nkML+CtYWxU9 D/9ptsUNjy5iHCpuGCawHbs/BmSicUHaI/HUX7EYI4rnNyC8b9wciweJ7cL8RNJeMtOj uSvIiscVJ/wiC9IpvYQwqn49Lik9j/wy2atOUq5g+5buQf0DicaQA2W4oPxLMWOf7zEa 9FKhCikBv3y8iSK65wF5+SIf+s/k/6rfoWnGmtfGnuPx0RNYF9CywSbIS9BgdzbXLz6D s1W5tCMRnQvWy3GzDCbIIiKxsF69NH16bNmPGL89H+IvJEJb34kKhsnRKAiw8Mg+JH2H jTLA== X-Gm-Message-State: APjAAAVH0b2wCjF+Vsw4RQrkUylgPc4lKUhZGLs2QqogIAr2rz1Kbs5O WFyC4zQWRWbZe2l4z2Ow56s= X-Google-Smtp-Source: APXvYqwckIkEvHfn/27WAE8xekep0zsvKEOZkZxCeTJdwYVkVhRd4OPJqeSNJGFOS7b6z31fsncQRA== X-Received: by 2002:a63:7e43:: with SMTP id o3mr333544pgn.450.1560823841933; Mon, 17 Jun 2019 19:10:41 -0700 (PDT) Received: from ?IPv6:2607:fb90:f31:a4d:98e3:81f:d331:ba9a? ([2607:fb90:f31:a4d:98e3:81f:d331:ba9a]) by smtp.gmail.com with ESMTPSA id g5sm19691489pfm.54.2019.06.17.19.10.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 19:10:41 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: sys/modules/sdio broken in .svn_revision 348842 'opt_cam.h' not found From: Enji Cooper X-Mailer: iPhone Mail (16F203) In-Reply-To: <201906180126.x5I1QPsD004821@slippy.cwsent.com> Date: Mon, 17 Jun 2019 19:10:40 -0700 Cc: "Julian H. Stacey" , "Bjoern A. Zeeb" , current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <201906180126.x5I1QPsD004821@slippy.cwsent.com> To: Cy Schubert X-Rspamd-Queue-Id: 326218CCDB X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.965,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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 02:10:45 -0000 > On Jun 17, 2019, at 18:26, Cy Schubert wrote: >=20 > Now that I'm back home, to reply inline re the yacc.h issue. >=20 > In message <201906180021.x5I0L2RK057837@fire.js.berklix.net>, "Julian=20 > H. Stacey > " writes: >> "Julian H. Stacey" wrote: >>> "Bjoern A. Zeeb" wrote: >>>>> On 17 Jun 2019, at 10:37, Mark Linimon wrote: >>>>>=20 >>>>>> On Mon, Jun 17, 2019 at 11:41:03AM +0200, Julian H. Stacey wrote: >>>>>> svn_revision 348842 >>>>> [ ...] >>>>>> /usr/src/sys/modules/sdio/../../dev/sdio/sdiob.c:68:10: fatal error: >>>>>> 'opt_cam.h' file not found >>>>>> #include "opt_cam.h" >>>>>> ^~~~~~~~~~~ >>>>>> 1 error generated. >>>>>=20 >>>>> This is extremely unlikely to be r348842. I would investigate r349025= >>>>> instead. (Committer Cc:ed.) >>>>=20 >>>> Almost, more likely me. I just had a look. I am not exactly sure how=20= >>>> to reproduce this? >>>>=20 >>>> /bz >>>=20 >>> If I can help let me know. >>> My buildworld broke with 13.0-CURRENT=20 >>> /usr/src .ctm_status src-cur 14077 .svn_revision 348842 >>> I'm now running make install,=20 >>> & can then compare my root include & libs with with a set installed=20 >>> using DESTDIR=3D >>=20 >> I compiled, installed, compared. =20 >> BTW cd /usr/src; make delete - only cleans libs & bins but does not >> clean other junk listed in ObsoleteFiles.inc not even with >> -DBATCH_DELETE_OLD_FILES or -DBATCH_DELETE_OLD_FILES=3DYES so manually p= urged >> , >> I believe I have a clean system built from .ctm_status src-cur 14077 >> .svn_revision 348842 but /usr/src/sys/modules/sdio still fails, >> so there was a commit of unbuildable code. >>=20 >> cd /usr/src ; find . -name opt_cam.h # tools/tools/vhba/opt_cam.h >> cd /usr/include ; find . -name opt_cam.h # nothing opt_*.h are headers which tune the kernel build based on user-specified opti= ons. They should never be shipped as part of the base OS. >>> I have a 2nd slower current box also building to 14077, I will then >>> take that on up to latest .ctm_status src-cur 14087 .svn_revision >>> 349129 to see if problem clears. >>=20 >> make buildworld blew on newer current, with a different bug: >>=20 >> cc -O2 -pipe -I/usr/src/usr.bin/mkesdb_static -I/usr/src/usr.bin/mkesdb_= stat >> ic/../mkesdb -I/usr/src/usr.bin/mkesdb_static/../../lib/libc/iconv -g -= MD =20 >> -MF.depend.lex.o -MTlex.o -std=3Dgnu99 -Qunused-arguments -I/usr/obj/u= sr/src >> /amd64.amd64/tmp/legacy/usr/include -c lex.c -o lex.o >> /usr/src/usr.bin/mkesdb/lex.l:46:10: fatal error: 'yacc.h' file not found= >> #include "yacc.h" >> ^~~~~~~~ >> 1 error generated. >> *** Error code 1 >>=20 >> Stop. >> make[3]: stopped in /usr/src/usr.bin/mkesdb_static >=20 > slippy$ ls /export/obj/opt/src/svn-current/amd64.amd64/usr.bin/mkesdb > lex.c mkesdb.1.gz mkesdb.full.meta yacc.o > lex.c.meta mkesdb.1.gz.meta mkesdb.meta yacc.o.meta > lex.o mkesdb.debug yacc.c > lex.o.meta mkesdb.debug.meta yacc.c.meta > mkesdb mkesdb.full yacc.h <---- here it is > slippy$=20 >=20 >>=20 >> A double waste of CPU & human time & power in a hot office. >> Commit bits used to be suspended for un-buildable code. I'll boot stable.= >=20 > Calm down. This looks like a corrupted obj directory, corrupted src=20 > tree, or user error to me and it doesn't matter right now anyway. rm=20 > -rf /usr/obj or wherever you keep it and start afresh. I=E2=80=99d have to look further, and we=E2=80=99d need to know more details= about your build environment (ccache? bmake with meta mode? -DNO_CLEAN? Obj= ects built on tmpfs? Compiler/toolchain/world version?), but I=E2=80=99m def= initely biased towards the approach that Cy mentions if the issue is determi= nistically failing with the same issue by just repeating the build process. I side with Cy because there=E2=80=99s also a nonzero chance that one of the= intermediary files generated by byacc got corrupted and got picked up in th= e next run. However that directory=E2=80=99s enough of a special snowflake t= hat I don=E2=80=99t feel comfortable betting all my money on that possibilit= y. Cheers, -Enji=