Subject: Re: pkg/25657: Mozilla 1.6 crash compiling
To: None <tech-pkg@NetBSD.org>
From: Shin'ichiro TAYA <taya@NetBSD.org>
List: tech-pkg
Date: 05/28/2004 23:42:52
Hi, following bug occurs because statvfs() was imported on
NetBSD-current after pkgsrc-2004Q1 branch created.
There is patch for this issue in trunk of pkgsrc.
Should I supported this change and send pullup request?
From: scalopus@punkass.com
Subject: pkg/25657: Mozilla 1.6 crash compiling [pkgsrc-2004Q1.-.NetBSD-i386]
Date: Fri, 21 May 2004 09:25:04 +0000 (UTC)
>
> >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:
>