Re: [head tinderbox] failure on i386/pc98

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Mon, 22 Nov 2010 14:57:14 +0100
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
Received on Mon Nov 22 2010 - 13:16:58 UTC

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