SVN r346316 breaks build

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SVN r346316 breaks build

Michael Butler
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);
                                                             ^
1 error generated.
*** [strings.o] Error code 1

make[3]: stopped in /usr/src/usr.bin/strings

        imb
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: SVN r346316 breaks build

Ed Maste-2
On Wed, 17 Apr 2019 at 17:31, Michael Butler <[hidden email]> 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?
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: SVN r346316 breaks build

Glen Barber-6
On Wed, Apr 17, 2019 at 08:45:57PM -0400, Ed Maste wrote:

> On Wed, 17 Apr 2019 at 17:31, Michael Butler <[hidden email]> 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?
I see this on:

 root@<redacted>:/releng/scripts-snapshot/logs # uname -UK
 1300018 1300018

Same error as reported above.

Glen


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: SVN r346316 breaks build

Michael Butler
In reply to this post by Ed Maste-2
On 2019-04-17 20:45, Ed Maste wrote:

> On Wed, 17 Apr 2019 at 17:31, Michael Butler <[hidden email]> 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


_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"