Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Automated report: NetBSD-current/i386 build failure
Hi,
From: NetBSD Test Fixture <bracket%NetBSD.org@localhost>, Date: Mon, 11 Jan 2016 02:00:34 +0000 (UTC)
> This is an automatically generated notice of a NetBSD-current/i386
> build failure.
>
> The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host,
> using sources from CVS date 2016.01.11.01.08.09.
>
> An extract from the build.sh output follows:
>
> --- chown.o ---
> # compile chown/chown.o
> /tmp/bracket/build/2016.01.11.01.08.09-i386/tools/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length -Werror -DSUPPORT_DOT --sysroot=/tmp/bracket/build/2016.01.11.01.08.09-i386/destdir -c /tmp/bracket/build/2016.01.11.01.08.09-i386/src/sbin/chown/chown.c
> --- dependall-ccdconfig ---
> In file included from /tmp/bracket/build/2016.01.11.01.08.09-i386/src/sbin/ccdconfig/ccdconfig.c:32:0:
> /tmp/bracket/build/2016.01.11.01.08.09-i386/destdir/usr/include/sys/buf.h:106:1: error: invalid application of 'sizeof' to incomplete type 'struct work'
> __CTASSERT(sizeof(struct work) <= sizeof(TAILQ_ENTRY(buf)));
> ^
> *** [ccdconfig.o] Error code 1
> nbmake[7]: stopped in /tmp/bracket/build/2016.01.11.01.08.09-i386/src/sbin/ccdconfig
> 1 error
>
> The following commits were made between the last successful build and
> the failed build:
>
> 2016.01.11.00.46.21 dholland src/sys/sys/buf.h,v 1.122
> 2016.01.11.01.08.09 dholland src/sys/sys/buf.h,v 1.123
>
> Log files can be found at:
>
> http://releng.NetBSD.org/b5reports/i386/commits-2016.01.html#2016.01.11.01.08.09
Hi,
The following is needed?
Index: sys/sys/buf.h
===================================================================
RCS file: /cvsroot/src/sys/sys/buf.h,v
retrieving revision 1.124
diff -u -r1.124 buf.h
--- sys/sys/buf.h 11 Jan 2016 01:22:36 -0000 1.124
+++ sys/sys/buf.h 11 Jan 2016 05:16:48 -0000
@@ -88,7 +88,9 @@
extern kmutex_t bufcache_lock;
extern kmutex_t buffer_lock;
+#if defined(_KERNEL)
extern void (*biodone_vfs)(buf_t *);
+#endif /* defined(_KERNEL) */
/*
* The buffer header describes an I/O operation in the kernel.
@@ -105,7 +107,9 @@
*/
/* required for the conditional union member below to be ~safe */
+#if defined(_KERNEL)
__CTASSERT(sizeof(struct work) <= sizeof(TAILQ_ENTRY(buf)));
+#endif /* defined(_KERNEL) */
struct buf {
union {
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index