Subject: pkg/25657: Mozilla 1.6 crash compiling [pkgsrc-2004Q1.-.NetBSD-i386]
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <scalopus@punkass.com>
List: pkgsrc-bugs
Date: 05/21/2004 09:25:04
>Number:         25657
>Category:       pkg
>Synopsis:       Mozilla 1.6 crash compiling [pkgsrc-2004Q1.-.NetBSD-i386]
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 21 09:26:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     scalopus
>Release:        NetBSD 2.0_BETA i386 with pkgsrc-2004Q1
>Organization:
>Environment:
NetBSD Shielle.maxum.net 2.0_BETA NetBSD 2.0_BETA (SHIELLE) #0: Thu May 13 22:38:33 CEST 2004  root@Shielle.maxum.net:/usr/obj/sys/arch/i386/compile/SHIELLE i386

>Description:
I have been updating pkgsrc-2004Q1 last two weeks but same error persist compiling native Mozilla/Firebird.

Compiling log:

/usr/include/sys/statvfs.h:87: error: '__fsfilcnt_t' is used as a type, but is 
   not defined as a type.
In file included from nsLocalFileUnix.h:64,
                 from nsLocalFile.h:63,
                 from nsDirectoryService.cpp:42:
/usr/include/sys/mount.h:51: error: conflicting types for `typedef struct 
   fsid_t fsid_t'
/usr/include/sys/fstypes.h:37: error: previous declaration as `typedef struct 
   fsid_t fsid_t'
/usr/include/sys/mount.h:59: error: redefinition of `struct fid'
/usr/include/sys/fstypes.h:45: error: previous definition of `struct fid'
/usr/include/sys/mount.h:455: error: redefinition of `struct fhandle'
/usr/include/sys/fstypes.h:58: error: previous definition of `struct fhandle'
/usr/include/sys/mount.h:567: error: declaration of C function `int 
   getmntinfo(statfs**, int)' conflicts with
/usr/include/sys/statvfs.h:155: error: previous declaration `int 
   getmntinfo(statvfs**, int)' here
gmake[3]: *** [nsDirectoryService.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/www/mozilla/work/mozilla/xpcom/io'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/www/mozilla/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/www/mozilla/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/www/mozilla
*** Error code 1



>How-To-Repeat:
/usr/pkgsrc/www/mozilla && make 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: