From owner-freebsd-current@freebsd.org Thu Apr 18 00:58:55 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 4C936157EACB for ; Thu, 18 Apr 2019 00:58:55 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 921F06CD82; Thu, 18 Apr 2019 00:58:54 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1555549132; bh=ZcA6pLEt Az/xScmw7uErB1vgFeX+2/s3njpAT56aPC4=; b=UodEylcku2rAzLc5xW0omlTy u2vqRYikAAaMvIFPrvIrdtJafTK7sTW7XBps4JvXILHT/L6dIIHlo0AMgXP+isbM 96O9lDjMYqt94GKqjWmoQbMa8CjigyjpvQo9NUWYQkwLJGzaNPrk/LkG7KfEXNUR YQWYBqbzPeaN1UT9kAo= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id B6D15340FA; Wed, 17 Apr 2019 20:58:52 -0400 (EDT) Subject: Re: SVN r346316 breaks build To: Ed Maste Cc: FreeBSD Current References: <95336930-76bb-354f-6919-a4df2d29b757@protected-networks.net> From: Michael Butler Openpgp: preference=signencrypt Message-ID: Date: Wed, 17 Apr 2019 20:58:52 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-NZ Content-Transfer-Encoding: 7bit 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: Thu, 18 Apr 2019 00:58:55 -0000 On 2019-04-17 20:45, Ed Maste wrote: > On Wed, 17 Apr 2019 at 17:31, Michael Butler wrote: >> >> There seems to be a missing include here? >> >> ===> usr.bin/strings (obj,all,install) >> Building >> /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/usr.bin/strings/strings.o >> /usr/src/contrib/elftoolchain/strings/strings.c:198:55: error: use of >> undeclared identifier 'FA_OPEN' >> fa = fileargs_init(argc, argv, O_RDONLY, 0, &rights, FA_OPEN); > > I can't reproduce this and the CI builds > (https://ci.freebsd.org/tinderbox) are all passing, although this was > reported privately to me by others so something's up. What is the > FreeBSD version on your build host? > This is a native build on current. It fails with or without removing /usr/obj/*. Sean Eric Fagan (sef) pointed me to the fact that cap_fileargs.h is not updated as part of the bootstrap-tools target. As I don't understand how that target is built or configured, I successfully worked around it by doing (on my amd64 host) .. cp -p /usr/src/lib/libcasper/services/cap_fileargs/cap_fileargs.h \ /usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/casper/ cp -p /usr/src/lib/libcasper/services/cap_fileargs/cap_fileargs.h \ /usr/obj/usr/src/amd64.amd64/tmp/usr/include/casper/ cp -p /usr/src/lib/libcasper/services/cap_fileargs/cap_fileargs.h \ /usr/include/casper/ imb