Re: FreeBSD_HEAD_i386 - Build #721 - Failure

From: John-Mark Gurney <jmg_at_funkthat.com>
Date: Thu, 30 Jul 2015 18:54:34 -0700
jenkins-admin_at_FreeBSD.org wrote this message on Fri, Jul 31, 2015 at 01:44 +0000:
> FreeBSD_HEAD_i386 - Build #721 - Failure:
> 
> Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/721/
> Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/721/changes
> Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/721/console
> 
> Change summaries:
> 
> 286102 by pfg:
> Buffer overflow in wall(1).
> 
> This affected syslogd, wall and talkd.
> Detected by FORTIFY_SOURCE GSoC (with clang).
> 
> Submitted by:	Oliver Pinter
> Differential Revision:	https://reviews.freebsd.org/D3254
> Reviewed by:	delphij, jmg
> MFC after:	3 days
> 
> 286101 by jmg:
> these are comparing authenticators and need to be constant time...
> This could be a side channel attack...  Now that we have a function
> for this, use it...
> 
> jmgurney/ipsecgcm:	24d704cc and 7f37a14
> 
> 286100 by jmg:
> Clean up this header file...
> 
> use CTASSERTs now that we have them...
> 
> Replace a draft w/ RFC that's over 10 years old.
> 
> Note that _AALG and _EALG do not need to match what the IKE daemons
> think they should be..  This is part of the KABI...  I decided to
> renumber AESCTR, but since we've never had working AESCTR mode, I'm
> not really breaking anything..  and it shortens a loop by quite
> a bit..
> 
> remove SKIPJACK IPsec support...  SKIPJACK never made it out of draft
> (in 1999), only has 80bit key, NIST recommended it stop being used
> after 2010, and setkey nor any of the IKE daemons I checked supported
> it...
> 
> jmgurney/ipsecgcm: a357a33, c75808b, e008669, b27b6d6
> 
> Reviewed by:	gnn (earlier version)
> 
> 
> 
> The end of the build log:
> 
> [...truncated 58275 lines...]
> cc  -fpic -DPIC  -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_ranges.c -o dwarf_ranges.So
> --- all_subdir_libgpio ---
> --- libgpio.so.0 ---
> building shared library libgpio.so.0
> cc   -fstack-protector -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libgpio.so.0 -Wl,-soname,libgpio.so.0  `NM='nm' lorder gpio.So | tsort -q` 
> --- all_subdir_libgssapi ---
> ===> lib/libgssapi (all)
> --- all_subdir_libdwarf ---
> --- dwarf_reloc.o ---
> cc   -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_reloc.c -o dwarf_reloc.o
> --- all_subdir_libgpio ---
> --- libgpio.a ---
> building static gpio library
> ar -crD libgpio.a `NM='nm' lorder gpio.o  | tsort -q` 
> ranlib -D libgpio.a
> --- all_subdir_libdwarf ---
> --- dwarf_reloc.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_reloc.c -o dwarf_reloc.So
> --- all_subdir_libfetch ---
> --- libfetch.a ---
> building static fetch library
> ar -crD libfetch.a `NM='nm' lorder fetch.o common.o ftp.o http.o file.o  | tsort -q` 
> --- all_subdir_librpcsec_gss ---
> ===> lib/librpcsec_gss (all)
> --- all_subdir_libfetch ---
> ranlib -D libfetch.a
> --- all_subdir_libiconv_modules ---
> ===> lib/libiconv_modules (all)
> --- all_subdir_libdwarf ---
> --- dwarf_sections.o ---
> cc   -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_sections.c -o dwarf_sections.o
> --- all_subdir_libiconv_modules ---
> --- _sub.all ---
> ===> lib/libiconv_modules/BIG5 (all)
> --- all_subdir_librpcsec_gss ---
> --- rpcsec_gss.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/librpcsec_gss/../../include -I/usr/src/lib/librpcsec_gss/../../libc_rpc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/librpcsec_gss/rpcsec_gss.c -o rpcsec_gss.So
> --- all_subdir_libiconv_modules ---
> --- citrus_big5.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/libiconv_modules/BIG5/../../libc/iconv -Dbool=_Bool -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libiconv_modules/BIG5/citrus_big5.c -o citrus_big5.So
> --- all_subdir_libdwarf ---
> --- dwarf_sections.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_sections.c -o dwarf_sections.So
> --- all_subdir_librpcsec_gss ---
> --- rpcsec_gss_prot.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/librpcsec_gss/../../include -I/usr/src/lib/librpcsec_gss/../../libc_rpc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/librpcsec_gss/rpcsec_gss_prot.c -o rpcsec_gss_prot.So
> --- all_subdir_libiconv_modules ---
> --- libBIG5.so.4 ---
> --- all_subdir_libdwarf ---
> --- dwarf_seterror.o ---
> cc   -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_seterror.c -o dwarf_seterror.o
> --- all_subdir_libiconv_modules ---
> building shared library libBIG5.so.4
> cc   -fstack-protector -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libBIG5.so.4 -Wl,-soname,libBIG5.so.4  `NM='nm' lorder citrus_big5.So | tsort -q` 
> --- all_subdir_libfetch ---
> --- libfetch.so.6 ---
> building shared library libfetch.so.6
> cc   -fstack-protector -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libfetch.so.6 -Wl,-soname,libfetch.so.6  `NM='nm' lorder fetch.So common.So ftp.So http.So file.So | tsort -q`  -lssl  -lcrypto
> --- all_subdir_libiconv_modules ---
> ===> lib/libiconv_modules/DECHanyu (all)
> --- all_subdir_libdwarf ---
> --- dwarf_seterror.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_seterror.c -o dwarf_seterror.So
> --- all_subdir_librpcsec_gss ---
> --- rpcsec_gss_conf.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/librpcsec_gss/../../include -I/usr/src/lib/librpcsec_gss/../../libc_rpc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/librpcsec_gss/rpcsec_gss_conf.c -o rpcsec_gss_conf.So
> --- all_subdir_libiconv_modules ---
> --- citrus_dechanyu.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/libiconv_modules/DECHanyu/../../libc/iconv -Dbool=_Bool -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libiconv_modules/DECHanyu/citrus_dechanyu.c -o citrus_dechanyu.So
> --- all_subdir_libdwarf ---
> --- dwarf_str.o ---
> cc   -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_str.c -o dwarf_str.o
> --- all_subdir_librpcsec_gss ---
> --- rpcsec_gss_misc.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/librpcsec_gss/../../include -I/usr/src/lib/librpcsec_gss/../../libc_rpc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/librpcsec_gss/rpcsec_gss_misc.c -o rpcsec_gss_misc.So
> --- all_subdir_libdwarf ---
> --- dwarf_str.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/dwarf_str.c -o dwarf_str.So
> --- libdwarf.o ---
> cc   -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/libdwarf.c -o libdwarf.o
> --- all_subdir_libiconv_modules ---
> --- libDECHanyu.so.4 ---
> building shared library libDECHanyu.so.4
> cc   -fstack-protector -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel  -o libDECHanyu.so.4 -Wl,-soname,libDECHanyu.so.4  `NM='nm' lorder citrus_dechanyu.So | tsort -q` 
> --- all_subdir_libipsec ---
> ===> lib/libipsec (all)
> --- all_subdir_libiconv_modules ---
> ===> lib/libiconv_modules/EUC (all)
> --- all_subdir_libdwarf ---
> --- libdwarf.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I. -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/common -I/usr/src/lib/libdwarf/../../contrib/elftoolchain/libelf -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libdwarf/../../contrib/elftoolchain/libdwarf/libdwarf.c -o libdwarf.So
> --- all_subdir_librpcsec_gss ---
> --- svc_rpcsec_gss.So ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/librpcsec_gss/../../include -I/usr/src/lib/librpcsec_gss/../../libc_rpc -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/librpcsec_gss/svc_rpcsec_gss.c -o svc_rpcsec_gss.So
> --- all_subdir_libipsec ---
> --- ipsec_strerror.So ---
> --- all_subdir_libiconv_modules ---
> --- citrus_euc.So ---
> --- all_subdir_libipsec ---
> cc  -fpic -DPIC  -O2 -pipe   -I. -I/usr/src/lib/libipsec -DIPSEC_DEBUG -DIPSEC -DINET6 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments -c /usr/src/lib/libipsec/ipsec_strerror.c -o ipsec_strerror.So
> --- all_subdir_libiconv_modules ---
> cc  -fpic -DPIC  -O2 -pipe   -I/usr/src/lib/libiconv_modules/EUC/../../libc/iconv -Dbool=_Bool -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /usr/src/lib/libiconv_modules/EUC/citrus_euc.c -o citrus_euc.So
> --- all_subdir_libipsec ---
> In file included from /usr/src/lib/libipsec/ipsec_strerror.c:39:
> In file included from /usr/obj/usr/src/tmp/usr/include/netipsec/ipsec.h:45:
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:230:10: error: expected parameter declarator
> CTASSERT(sizeof(struct sadb_x_policy) == 16);
>          ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:230:10: error: expected ')'
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:230:9: note: to match this '('
> CTASSERT(sizeof(struct sadb_x_policy) == 16);
>         ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:230:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
> CTASSERT(sizeof(struct sadb_x_policy) == 16);
> ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:266:10: error: expected parameter declarator
> CTASSERT(sizeof(struct sadb_x_nat_t_type) == 8);
>          ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:266:10: error: expected ')'
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:266:9: note: to match this '('
> CTASSERT(sizeof(struct sadb_x_nat_t_type) == 8);
>         ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:266:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
> CTASSERT(sizeof(struct sadb_x_nat_t_type) == 8);
> ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:275:10: error: expected parameter declarator
> CTASSERT(sizeof(struct sadb_x_nat_t_port) == 8);
>          ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:275:10: error: expected ')'
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:275:9: note: to match this '('
> CTASSERT(sizeof(struct sadb_x_nat_t_port) == 8);
>         ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:275:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
> CTASSERT(sizeof(struct sadb_x_nat_t_port) == 8);
> ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:284:10: error: expected parameter declarator
> CTASSERT(sizeof(struct sadb_x_nat_t_frag) == 8);
>          ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:284:10: error: expected ')'
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:284:9: note: to match this '('
> CTASSERT(sizeof(struct sadb_x_nat_t_frag) == 8);
>         ^
> /usr/obj/usr/src/tmp/usr/include/net/pfkeyv2.h:284:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
> CTASSERT(sizeof(struct sadb_x_nat_t_frag) == 8);
> ^
> 12 errors generated.
> *** [ipsec_strerror.So] Error code 1
> 
> make[5]: stopped in /usr/src/lib/libipsec
> 1 error
> 
> make[5]: stopped in /usr/src/lib/libipsec
> *** [all_subdir_libipsec] Error code 2
> 
> make[4]: stopped in /usr/src/lib
> --- all_subdir_libdwarf ---
> A failure has been detected in another branch of the parallel make
> 
> make[5]: stopped in /usr/src/lib/libdwarf
> *** [all_subdir_libdwarf] Error code 2
> 
> make[4]: stopped in /usr/src/lib
> --- all_subdir_libiconv_modules ---
> A failure has been detected in another branch of the parallel make
> 
> make[6]: stopped in /usr/src/lib/libiconv_modules/EUC
> *** [_sub.all] Error code 2
> 
> make[5]: stopped in /usr/src/lib/libiconv_modules
> 1 error
> 
> make[5]: stopped in /usr/src/lib/libiconv_modules
> *** [all_subdir_libiconv_modules] Error code 2
> 
> make[4]: stopped in /usr/src/lib
> --- all_subdir_librpcsec_gss ---
> A failure has been detected in another branch of the parallel make
> 
> make[5]: stopped in /usr/src/lib/librpcsec_gss
> *** [all_subdir_librpcsec_gss] Error code 2
> 
> make[4]: stopped in /usr/src/lib
> 4 errors
> 
> make[4]: stopped in /usr/src/lib
> A failure has been detected in another branch of the parallel make
> 
> make[3]: stopped in /usr/src
> *** [libraries] Error code 2
> 
> make[2]: stopped in /usr/src
> 1 error
> 
> make[2]: stopped in /usr/src
> *** [_libraries] Error code 2
> 
> make[1]: stopped in /usr/src
> 1 error
> 
> make[1]: stopped in /usr/src
> *** [buildworld] Error code 2
> 
> make: stopped in /usr/src
> 1 error
> 
> make: stopped in /usr/src
> Build step 'Execute shell' marked build as failure
> [PostBuildScript] - Execution post build scripts.
> [FreeBSD_HEAD_i386] $ /bin/sh -xe /tmp/hudson2724658268404401574.sh
> + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin'
> + export 'jname=FreeBSD_HEAD_i386'
> + echo 'clean up jail FreeBSD_HEAD_i386'
> clean up jail FreeBSD_HEAD_i386
> + sudo jail -r FreeBSD_HEAD_i386
> + sudo ifconfig igb0 inet6 2610:1c1:1:607c::106:1 -alias
> + sudo umount FreeBSD_HEAD_i386/usr/src
> + sudo umount FreeBSD_HEAD_i386/dev
> + sudo rm -fr FreeBSD_HEAD_i386
> rm: FreeBSD_HEAD_i386/libexec/ld-elf.so.1: Operation not permitted
> rm: FreeBSD_HEAD_i386/libexec: Directory not empty
> rm: FreeBSD_HEAD_i386/usr/bin/yppasswd: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/crontab: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/opieinfo: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/ypchfn: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/opiepasswd: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/ypchsh: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/passwd: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/su: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/chpass: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/chfn: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/chsh: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/ypchpass: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin/login: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/bin: Directory not empty
> rm: FreeBSD_HEAD_i386/usr/lib/librt.so.1: Operation not permitted
> rm: FreeBSD_HEAD_i386/usr/lib: Directory not empty
> rm: FreeBSD_HEAD_i386/usr: Directory not empty
> rm: FreeBSD_HEAD_i386/sbin/init: Operation not permitted
> rm: FreeBSD_HEAD_i386/sbin: Directory not empty
> rm: FreeBSD_HEAD_i386/lib/libthr.so.3: Operation not permitted
> rm: FreeBSD_HEAD_i386/lib/libcrypt.so.5: Operation not permitted
> rm: FreeBSD_HEAD_i386/lib/libc.so.7: Operation not permitted
> rm: FreeBSD_HEAD_i386/lib: Directory not empty
> rm: FreeBSD_HEAD_i386: Directory not empty
> + true
> + sudo chflags -R noschg FreeBSD_HEAD_i386
> + sudo rm -fr FreeBSD_HEAD_i386
> Email was triggered for: Failure - Any
> Sending email for trigger: Failure - Any

I believe a simple #include <sys/systm.h> in sys/net/pfkeyv2.h is all
that is needed... I'm testing this fix now...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Thu Jul 30 2015 - 23:54:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC