Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2003 20:38:24 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@freebsd.org
Subject:   Re: Ports broken due to -current change (Re: Ports broken on ia64)
Message-ID:  <20030518202656.G19400@gamplex.bde.org>
In-Reply-To: <20030518095127.GA74158@rot13.obsecurity.org>
References:  <20030314103543.GB872@rot13.obsecurity.org> <20030314114123.A24654@espresso.bsdmike.org> <20030319022339.GA4946@rot13.obsecurity.org> <20030327231125.GB16625@rot13.obsecurity.org> <20030328222823.GD23305@rot13.obsecurity.org> <20030518095127.GA74158@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 May 2003, Kris Kennaway wrote:

> On Fri, Mar 28, 2003 at 02:28:23PM -0800, Kris Kennaway wrote:
> > On Fri, Mar 28, 2003 at 10:28:07AM -0500, Mike Barcroft wrote:
> > > Kris Kennaway <kris@obsecurity.org> writes:
> > > > On Tue, Mar 18, 2003 at 09:31:48PM -0500, Mike Barcroft wrote:
> > > >
> > > > > > stat.h:
> > > > > >      $FreeBSD: src/sys/sys/stat.h,v 1.34 2003/03/14 16:09:48 mike Exp $
> > > > >
> > > > > I think I see the problem.  I'll try to get a fix committed by
> > > > > tonight.
> > > >
> > > > Still appears to be broken with r1.35:
> > >
> > > Ugh.  The next revision and associated changes fixes it (I actually
> > > tested it against osh).
> >
> > OK, I'll update again.  Thanks!
>
> I'm still seeing a problem here:
>
> http://bento.freebsd.org/errorlogs/i386-5-latest/gnu-finger-1.37.log
>
> In file included from os.c:24:
> /usr/include/sys/stat.h:168: sizeof applied to an incomplete type
> /usr/include/sys/stat.h:169: sizeof applied to an incomplete type
> /usr/include/sys/stat.h:168: warning: width of `((anonymous))' exceeds its type
> /usr/include/sys/stat.h:169: warning: width of `((anonymous))' exceeds its type

Untested fix:

%%%
Index: stat.h
===================================================================
RCS file: /home/ncvs/src/sys/sys/stat.h,v
retrieving revision 1.36
diff -u -2 -r1.36 stat.h
--- stat.h	28 Mar 2003 15:27:30 -0000	1.36
+++ stat.h	18 May 2003 10:26:10 -0000
@@ -101,5 +101,5 @@
 #endif

-#ifndef __BSD_VISIBLE
+#if !__BSD_VISIBLE
 #include <sys/_timespec.h>
 #endif
%%%

"find /usr/include/ | grep _VISIBLE | egrep(ifdef|ifndef|defined)"
shows similar bugs in <math.h>.

Bruce



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