Date: Thu, 16 Aug 2018 13:06:54 -0700 From: Mark Millard <marklmi@yahoo.com> To: jamie@FreeBSD.org, svn-src-head@freebsd.org Subject: Re: svn commit: r337922 - in head: [Until the partial revert this broke a bunch of the ci.freebsd.org's FreeBSD-head-*-build's] Message-ID: <B1CA1C96-65C5-442F-A2A1-D14D85DCB8B3@yahoo.com>
next in thread | raw e-mail | index | archive | help
Examples appear to include: #9029 for https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/ #1182 for https://ci.freebsd.org/job/FreeBSD-head-armv7-build/ #7274 for https://ci.freebsd.org/job/FreeBSD-head-powerpc-build/ #7039 for https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/ #7331 for https://ci.freebsd.org/job/FreeBSD-head-powerpcspe-build/ #3940 for https://ci.freebsd.org/job/FreeBSD-head-mips64-build/ #10163 for https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/ #9256 for https://ci.freebsd.org/job/FreeBSD-head-sparc64-build/ An example error report for clang based is: https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/9029/consoleText --- all_subdir_sbin --- /usr/src/sbin/hastd/subr.c:158:14: error: variable has incomplete type = 'struct jail' struct jail jailst; ^ /usr/src/sbin/hastd/subr.c:158:9: note: forward declaration of 'struct = jail' struct jail jailst; ^ /usr/src/sbin/hastd/subr.c:185:19: error: use of undeclared identifier = 'JAIL_API_VERSION' jailst.version =3D JAIL_API_VERSION; ^ /usr/src/sbin/hastd/subr.c:199:6: error: implicit declaration of = function 'jail' is invalid in C99 = [-Werror,-Wimplicit-function-declaration] if (jail(&jailst) >=3D 0) { ^ /usr/src/sbin/hastd/subr.c:199:6: error: this function declaration is = not a prototype [-Werror,-Wstrict-prototypes] 4 errors generated. *** [subr.o] Error code 1 make[4]: stopped in /usr/src/sbin/hastctl 1 error make[4]: stopped in /usr/src/sbin/hastctl *** [all_subdir_sbin/hastctl] Error code 2 make[3]: stopped in /usr/src/sbin --- all_subdir_lib --- --- acl_entry.po --- cc -target aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp = -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -pg -O2 -pipe = -DNO__SCCSID -DNO__RCSID -I/usr/src/lib/libc/include -I/usr/src/include = -I/usr/src/lib/libc/aarch64 -DNLS -D__DBINTERFACE_PRIVATE = -I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DNO_COMPAT7 = -DINET6 -I/usr/obj/usr/src/arm64.aarch64/lib/libc = -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE = -I/usr/src/lib/libmd -I/usr/src/contrib/jemalloc/include = -I/usr/src/contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime = -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN = -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -g -MD = -MF.depend.acl_entry.po -MTacl_entry.po -std=3Dgnu99 = -fstack-protector-strong -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-address-of-packed-member -Wno-switch -Wno-switch-enum = -Wno-knr-promoted-parameter -Qunused-arguments -I/usr/src/lib/libutil = -I/usr/src/lib/msun/aarch64 -I/usr/src/lib/msun/src -c = /usr/src/lib/libc/posix1e/acl_entry.c -o acl_entry.po --- all_subdir_tests --- /usr/src/tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c:230:46: warning: = format specifies type 'int' but the argument has type 'unsigned long' = [-Wformat] fprintf(stderr, "read(%d, buf, %d)\n", fd, sizeof = (buf)); ~~ ^~~~~~~~~~~~ %lu /usr/src/tests/sys/cddl/zfs/tests/ctime/ctime_001_pos.c:256:47: warning: = format specifies type 'int' but the argument has type 'unsigned long' = [-Wformat] fprintf(stderr, "write(%d, buf, %d)\n", fd, = strlen(buf)); ~~ ^~~~~~~~~~~ %lu An example error report for gcc 4.2.1 based is: https://ci.freebsd.org/job/FreeBSD-head-sparc64-build/9256/consoleText --- all_subdir_sbin --- /usr/src/sbin/hastd/subr.c: In function 'drop_privs': /usr/src/sbin/hastd/subr.c:158: error: storage size of 'jailst' isn't = known /usr/src/sbin/hastd/subr.c:185: error: 'JAIL_API_VERSION' undeclared = (first use in this function) /usr/src/sbin/hastd/subr.c:185: error: (Each undeclared identifier is = reported only once /usr/src/sbin/hastd/subr.c:185: error: for each function it appears in.) cc1: warnings being treated as errors /usr/src/sbin/hastd/subr.c:199: warning: implicit declaration of = function 'jail' /usr/src/sbin/hastd/subr.c:199: warning: nested extern declaration of = 'jail' /usr/src/sbin/hastd/subr.c:158: warning: unused variable 'jailst' *** [subr.o] Error code 1 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1CA1C96-65C5-442F-A2A1-D14D85DCB8B3>