[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-current
Subject:    Re: SVN r346316 breaks build
From:       Michael Butler <imb () protected-networks ! net>
Date:       2019-04-18 0:58:52
Message-ID: cd6a881a-a1da-63e5-d94e-dedaf4be73ac () protected-networks ! net
[Download RAW message or body]

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


_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic