Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 14:57:14 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [head tinderbox] failure on i386/pc98
Message-ID:  <8639qt1mx1.fsf@ds4.des.no>
In-Reply-To: <4CE9B77B.20007@FreeBSD.org> (Doug Barton's message of "Sun, 21 Nov 2010 16:21:15 -0800")
References:  <201011212351.oALNpTti096816@freebsd-current.sentex.ca> <4CE9B77B.20007@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton <dougb@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@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@ds4.des.no:/usr/obj/usr/src/sys/ds4  amd64
des@ds4 /usr/src/usr.bin/xargs% svn up -r215615
U    xargs.c
Updated to revision 215615.
des@ds4 /usr/src/usr.bin/xargs% make
cc -O2 -pipe -march=3Dnative -g -std=3Dgnu99 -fstack-protector -Wsystem-hea=
ders -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-protot=
ypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite=
-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscript=
s -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-p=
ointer-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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8639qt1mx1.fsf>