building 11.2-STABLE on CURRENT is broken

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

building 11.2-STABLE on CURRENT is broken

Don Lewis-5
My poudriere machine is running fairly recent 12.0-CURRENT, r336859.

I just tried upgrading my 11.2-STABLE poudriere jail from r336040 to
r337508 and got the errors below.  Universe builds are also affected.
I just started a universe build of r336040 and it looks likely to work,
so the problem appears to be with the stable/11 branch sometime after
r336040.

--- nvlist.o ---
cc  -O2 -pipe  -I/var/poudriere/jails/110STABLEamd64/usr/src/sys -I/var/poudriere/jails/110STABLEamd64/usr/src/lib/libnv -MD  -MF.depend.nvlist.o -MTnvlist.o -std=gnu99  -Qunused-arguments  -I/usr/obj/var/poudriere/jails/110STABLEamd64/usr/src/tmp/legacy/usr/include -c /var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvlist.c -o nvlist.o
--- nvpair.o ---
cc  -O2 -pipe  -I/var/poudriere/jails/110STABLEamd64/usr/src/sys -I/var/poudriere/jails/110STABLEamd64/usr/src/lib/libnv -MD  -MF.depend.nvpair.o -MTnvpair.o -std=gnu99  -Qunused-arguments  -I/usr/obj/var/poudriere/jails/110STABLEamd64/usr/src/tmp/legacy/usr/include -c /var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvpair.c -o nvpair.o
--- cnvlist.o ---
In file included from /var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/cnvlist.c:43:
In file included from /usr/include/stdarg.h:6:
In file included from /usr/include/x86/stdarg.h:33:
/usr/include/sys/_stdarg.h:41:11: error: unknown type name '__va_list'
  typedef __va_list       va_list;
          ^
--- dnvlist.o ---
In file included from /var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/dnvlist.c:44:
In file included from /usr/include/stdarg.h:6:
In file included from /usr/include/x86/stdarg.h:33:
/usr/include/sys/_stdarg.h:41:11: error: unknown type name '__va_list'
  typedef __va_list       va_list;
          ^
1 error generated.
--- cnvlist.o ---
1 error generated.
--- nvpair.o ---
In file included from /var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvpair.c:50:
In file included from /usr/include/stdarg.h:6:
In file included from /usr/include/x86/stdarg.h:33:
/usr/include/sys/_stdarg.h:41:11: error: unknown type name '__va_list'
  typedef __va_list       va_list;
          ^
--- dnvlist.o ---
*** [dnvlist.o] Error code 1

make[3]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src/lib/libnv
--- nvlist.o ---
In file included from /var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvlist.c:52:
In file included from /usr/include/stdarg.h:6:
In file included from /usr/include/x86/stdarg.h:33:
/usr/include/sys/_stdarg.h:41:11: error: unknown type name '__va_list'
  typedef __va_list       va_list;
          ^
--- cnvlist.o ---
*** [cnvlist.o] Error code 1

make[3]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src/lib/libnv
--- nvpair.o ---
/var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvpair.c:1176:2: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]
        va_start(valueap, valuefmt);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/_stdarg.h:45:49: note: expanded from macro 'va_start'
  #define       va_start(ap, last)      __builtin_va_start((ap), (last))
                                                           ^~~~
/var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvpair.c:1178:9: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]
        va_end(valueap);
               ^~~~~~~
/usr/include/sys/_stdarg.h:51:40: note: expanded from macro 'va_end'
  #define       va_end(ap)              __builtin_va_end(ap)
                                                         ^~
--- nvlist.o ---
/var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvlist.c:1483:2: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]
        va_start(valueap, valuefmt);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/_stdarg.h:45:49: note: expanded from macro 'va_start'
  #define       va_start(ap, last)      __builtin_va_start((ap), (last))
                                                           ^~~~
/var/poudriere/jails/110STABLEamd64/usr/src/sys/contrib/libnv/nvlist.c:1485:9: warning: incompatible integer to pointer conversion passing 'va_list' (aka 'int') to parameter of type 'struct __va_list_tag *' [-Wint-conversion]
        va_end(valueap);
               ^~~~~~~
/usr/include/sys/_stdarg.h:51:40: note: expanded from macro 'va_end'
  #define       va_end(ap)              __builtin_va_end(ap)
                                                         ^~
--- nvpair.o ---
2 warnings and 1 error generated.
--- nvlist.o ---
2 warnings and 1 error generated.
--- nvpair.o ---
*** [nvpair.o] Error code 1

make[3]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src/lib/libnv
--- nvlist.o ---
*** [nvlist.o] Error code 1

make[3]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src/lib/libnv
4 errors

make[3]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src/lib/libnv
*** [legacy] Error code 2

make[2]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src
1 error

make[2]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src
*** [_legacy] Error code 2

make[1]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src
1 error

make[1]: stopped in /var/poudriere/jails/110STABLEamd64/usr/src
*** [buildworld] Error code 2

make: stopped in /var/poudriere/jails/110STABLEamd64/usr/src
1 error

make: stopped in /var/poudriere/jails/110STABLEamd64/usr/src
[00:00:03] Error: Failed to 'make buildworld'

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

Re: building 11.2-STABLE on CURRENT is broken

Kyle Evans-3
On Thu, Aug 9, 2018 at 12:32 PM, Don Lewis <[hidden email]> wrote:
> My poudriere machine is running fairly recent 12.0-CURRENT, r336859.
>
> I just tried upgrading my 11.2-STABLE poudriere jail from r336040 to
> r337508 and got the errors below.  Universe builds are also affected.
> I just started a universe build of r336040 and it looks likely to work,
> so the problem appears to be with the stable/11 branch sometime after
> r336040.
>

Hi,

This is almost-certainly my fault... taking a look now.

Thanks,

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

Re: building 11.2-STABLE on CURRENT is broken

Kyle Evans-3
On Thu, Aug 9, 2018 at 12:48 PM, Kyle Evans <[hidden email]> wrote:

> On Thu, Aug 9, 2018 at 12:32 PM, Don Lewis <[hidden email]> wrote:
>> My poudriere machine is running fairly recent 12.0-CURRENT, r336859.
>>
>> I just tried upgrading my 11.2-STABLE poudriere jail from r336040 to
>> r337508 and got the errors below.  Universe builds are also affected.
>> I just started a universe build of r336040 and it looks likely to work,
>> so the problem appears to be with the stable/11 branch sometime after
>> r336040.
>>
>
> Hi,
>
> This is almost-certainly my fault... taking a look now.
>

Hi Don,

Can you  try with this small patch [1] to remove -I${SRCTOP}/sys from
libnv's include paths? I should have done this back when I added it to
legacy, I think, but it seems to fix this for me.

Thanks,

Kyle Evans

[1] https://people.freebsd.org/~kevans/libnv-nosys.diff
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: building 11.2-STABLE on CURRENT is broken

Shawn Webb-3
On Thu, Aug 09, 2018 at 03:06:05PM -0500, Kyle Evans wrote:

> On Thu, Aug 9, 2018 at 12:48 PM, Kyle Evans <[hidden email]> wrote:
> > On Thu, Aug 9, 2018 at 12:32 PM, Don Lewis <[hidden email]> wrote:
> >> My poudriere machine is running fairly recent 12.0-CURRENT, r336859.
> >>
> >> I just tried upgrading my 11.2-STABLE poudriere jail from r336040 to
> >> r337508 and got the errors below.  Universe builds are also affected.
> >> I just started a universe build of r336040 and it looks likely to work,
> >> so the problem appears to be with the stable/11 branch sometime after
> >> r336040.
> >>
> >
> > Hi,
> >
> > This is almost-certainly my fault... taking a look now.
> >
>
> Hi Don,
>
> Can you  try with this small patch [1] to remove -I${SRCTOP}/sys from
> libnv's include paths? I should have done this back when I added it to
> legacy, I think, but it seems to fix this for me.
Hey Kyle,

Thank you very much for looking into this issue. HardenedBSD was
affected as well. I've tested the patch and am happy to report
success.

Thanks,

--
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:    +1 443-546-8752
Tor+XMPP+OTR:        [hidden email]
GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

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

Re: building 11.2-STABLE on CURRENT is broken

Don Lewis-5
In reply to this post by Kyle Evans-3
On  9 Aug, Kyle Evans wrote:

> On Thu, Aug 9, 2018 at 12:48 PM, Kyle Evans <[hidden email]> wrote:
>> On Thu, Aug 9, 2018 at 12:32 PM, Don Lewis <[hidden email]> wrote:
>>> My poudriere machine is running fairly recent 12.0-CURRENT, r336859.
>>>
>>> I just tried upgrading my 11.2-STABLE poudriere jail from r336040 to
>>> r337508 and got the errors below.  Universe builds are also affected.
>>> I just started a universe build of r336040 and it looks likely to work,
>>> so the problem appears to be with the stable/11 branch sometime after
>>> r336040.
>>>
>>
>> Hi,
>>
>> This is almost-certainly my fault... taking a look now.
>>
>
> Hi Don,
>
> Can you  try with this small patch [1] to remove -I${SRCTOP}/sys from
> libnv's include paths? I should have done this back when I added it to
> legacy, I think, but it seems to fix this for me.
>
> Thanks,
>
> Kyle Evans
>
> [1] https://people.freebsd.org/~kevans/libnv-nosys.diff

That works for me as well.

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