Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2019 20:58:52 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        Ed Maste <emaste@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: SVN r346316 breaks build
Message-ID:  <cd6a881a-a1da-63e5-d94e-dedaf4be73ac@protected-networks.net>
In-Reply-To: <CAPyFy2BOby0dYLN9oeZ7-kGvTHBRXhhTC%2Bzm1i%2BQHcanaj1=nw@mail.gmail.com>
References:  <95336930-76bb-354f-6919-a4df2d29b757@protected-networks.net> <CAPyFy2BOby0dYLN9oeZ7-kGvTHBRXhhTC%2Bzm1i%2BQHcanaj1=nw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-04-17 20:45, Ed Maste wrote:
> On Wed, 17 Apr 2019 at 17:31, Michael Butler <imb@protected-networks.net> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cd6a881a-a1da-63e5-d94e-dedaf4be73ac>