Subject: pkg/25815: mozilla-stable won't compile
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <nicro465@student.liu.se>
List: pkgsrc-bugs
Date: 06/04/2004 11:11:08
>Number: 25815
>Category: pkg
>Synopsis: mozilla-stable won't compile
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 04 11:12:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Niclas Rosenvik
>Release: 1.6.2
>Organization:
none
>Environment:
NetBSD c195 1.6.2_STABLE NetBSD 1.6.2_STABLE #2: Tue May 18 13:34:53 CEST 2004 i386
>Description:
mozilla-stable wont build. it stops in nsFreeType.cpp.
I am using freetype2 version 2.1.8 and pkgsrc-current
here comes the compiler output.
--------------------------------------------------------------------------
g++ -o nsFreeType.o -c -DOSTYPE=\"NetBSD1.6\" -DOSARCH=\"NetBSD\" -I../.. -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/pref -I../../../dist/include/uconv -I../../../dist/include/gfx -I../../../dist/include -I/usr/pkgsrc/www/mozilla-stable/work/mozilla/dist/include/nspr -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/X11R6/include -fPIC -DPIC -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include -I/usr/X11R6/include -Dunix -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/gdk-pixbuf-1.0 -I/usr/include -I/usr/X11R6/incl
ude -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
In file included from nsFreeType.h:34,
from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:50: `FTC_Image_Cache' was not declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:50: `aImageCache' was not declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:50: virtual outside class declaration
../../../dist/include/gfx/nsIFreeType2.h:89: `FTC_Image_Cache' was not declared
in this scope
../../../dist/include/gfx/nsIFreeType2.h:89: parse error before `,'
../../../dist/include/gfx/nsIFreeType2.h:101: type specifier omitted for parameter
../../../dist/include/gfx/nsIFreeType2.h:101: parse error before `*'
In file included from nsFreeType.cpp:48:
nsFreeType.h:107: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:107: `FTC_Image_Desc' was not declared in this scope
nsFreeType.h:107: parse error before `,'
nsFreeType.h:113: type specifier omitted for parameter
nsFreeType.h:113: parse error before `*'
nsFreeType.h:137: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:137: `aImageCache' was not declared in this scope
nsFreeType.h:137: `GetImageCache' declared as a `virtual' field
nsFreeType.h:137: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:137: parse error before `,'
nsFreeType.h:137: type specifier omitted for parameter
nsFreeType.h:137: parse error before `*'
nsFreeType.h:198: syntax error before `;'
nsFreeType.cpp:279: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:279: parse error before `,'
nsFreeType.cpp: In method `nsresult nsFreeType2::ImageCacheLookup(...)':
nsFreeType.cpp:283: `cache' undeclared (first use this function)
nsFreeType.cpp:283: (Each undeclared identifier is reported only once
nsFreeType.cpp:283: for each function it appears in.)
nsFreeType.cpp:283: `desc' undeclared (first use this function)
nsFreeType.cpp:283: `glyphID' undeclared (first use this function)
nsFreeType.cpp:283: `glyph' undeclared (first use this function)
nsFreeType.cpp: At top level:
nsFreeType.cpp:317: type specifier omitted for parameter
nsFreeType.cpp:317: parse error before `*'
nsFreeType.cpp: In method `nsresult nsFreeType2::ImageCacheNew(...)':
nsFreeType.cpp:320: `manager' undeclared (first use this function)
nsFreeType.cpp: At top level:
nsFreeType.cpp:348: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:348: `aCache' was not declared in this scope
nsFreeType.cpp:349: `nsresult nsFreeType2::GetImageCache' is not a static member of `class nsFreeType2'
nsFreeType.cpp:349: syntax error before `{'
nsFreeType.cpp: In method `void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:385: `mImageCache' undeclared (first use this function)
nsFreeType.cpp: In method `PRBool nsFreeType2::InitLibrary()':
nsFreeType.cpp:595: warning: `FT_Error error' might be used uninitialized in this function
gmake[4]: *** [nsFreeType.o] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/www/mozilla-stable/work/mozilla/gfx/src/freetype'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/pkgsrc/www/mozilla-stable/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/www/mozilla-stable/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/www/mozilla-stable/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/www/mozilla-stable
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/mozilla-stable
--------------------------------------------------------------------------
>How-To-Repeat:
type make under {pkgsrcdir}/www/mozilla-stable
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: