[head tinderbox] failure on i386/pc98

Dag-Erling Smørgrav des at des.no
Mon Nov 22 14:16:58 UTC 2010


Doug Barton <dougb at FreeBSD.org> writes:
> As far as I can tell the current state of the code builds just fine,
> so I'm wondering what the current problem with the tinderbox is.

No weasel words, please.

The tinderbox is complaining about these function definitions:

static void
pids_init()
{
        /* ... */
}

static int
pids_empty()
{
        /* ... */
}

static int
pids_full()
{
        /* ... */
}

These are real errors which were introduced in r215615 and fixed in
r215642 with a highly misleading log message.

See for yourself:

des at ds4 /usr/src/usr.bin/xargs% uname -a
FreeBSD ds4.des.no 9.0-CURRENT FreeBSD 9.0-CURRENT #63 r215049M: Wed Nov 10 11:44:38 CET 2010     des at ds4.des.no:/usr/obj/usr/src/sys/ds4  amd64
des at ds4 /usr/src/usr.bin/xargs% svn up -r215615
U    xargs.c
Updated to revision 215615.
des at ds4 /usr/src/usr.bin/xargs% make
cc -O2 -pipe -march=native -g -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 -c /usr/src/usr.bin/xargs/xargs.c
cc1: warnings being treated as errors
/usr/src/usr.bin/xargs/xargs.c: In function 'pids_init':
/usr/src/usr.bin/xargs/xargs.c:629: warning: old-style function definition
/usr/src/usr.bin/xargs/xargs.c: In function 'pids_empty':
/usr/src/usr.bin/xargs/xargs.c:641: warning: old-style function definition
/usr/src/usr.bin/xargs/xargs.c: In function 'pids_full':
/usr/src/usr.bin/xargs/xargs.c:647: warning: old-style function definition
/usr/src/usr.bin/xargs/xargs.c: In function 'findfreeslot':
/usr/src/usr.bin/xargs/xargs.c:676: warning: old-style function definition
*** Error code 1

Stop in /usr/src/usr.bin/xargs.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list