Ports broken due to -current change (Re: Ports broken on ia64)

Bruce Evans bde at zeta.org.au
Sun May 18 03:38:37 PDT 2003


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 at 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


More information about the freebsd-current mailing list