Subject: pkg/19325: New phoenix (0.4) fails to compile on 1.5.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@uninett.no>
List: netbsd-bugs
Date: 12/08/2002 11:56:58
>Number: 19325
>Category: pkg
>Synopsis: New phoenix (0.4) fails to compile on 1.5.3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 08 02:58:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Havard Eidnes
>Release: NetBSD 1.5.3_RC2
>Organization:
UNINETT AS
>Environment:
System: NetBSD smistad.uninett.no 1.5.3_RC2 NetBSD 1.5.3_RC2 (SMISTAD) #5: Tue May 28 10:05:15 CEST 2002 he@smistad.uninett.no:/usr/src/sys/arch/i386/compile/SMISTAD i386
Architecture: i386
Machine: i386
>Description:
The new phoenix (0.4), based on Mozilla 1.2.1 fails to compile
on NetBSD/i386 1.5.3. I suspect mozilla will also fail to
compile in the same way:
c++ -o nsNativeCharsetUtils.o -c -DOSTYPE=\"NetBSD1.5\" -DOSARCH=\"NetBSD\" -DOJI -D_IMPL_NS_COM -I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include -I/usr/pkgsrc/www/phoenix/work/mozilla/dist/include/nspr -I/usr/pkg/include -I/usr/X11R6/include -fPIC -DPIC -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/pkg/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 -pedantic -Wno-long-long -O2 -I/usr/pkg/include -I/usr/X11R6/include -Dunix -pipe -DNDEBUG -DTRIMMED -O2 -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsNativeCharsetUtils.pp nsNativeCharsetUtils.cpp
nsNativeCharsetUtils.cpp: In function `static void nsNativeCharsetConverter::LazyInit()':
nsNativeCharsetUtils.cpp:259: `CODESET' undeclared (first use this function)
nsNativeCharsetUtils.cpp:259: (Each undeclared identifier is reported only once
nsNativeCharsetUtils.cpp:259: for each function it appears in.)
gmake[3]: *** [nsNativeCharsetUtils.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/www/phoenix/work/mozilla/xpcom/io'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/www/phoenix/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/www/phoenix/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
>How-To-Repeat:
Try to install/compile phoenix 0.4 on NetBSD/i386 1.5.3.
>Fix:
Sorry, don't know.
The reason for the build failure appears to be that the NLS
support in 1.5.3_RC2 isn't "quite there"; the code appears to
expect that <nl_types.h> is going to define CODESET, but it
does not on 1.5.3_RC2 (and apparently not in later netbsd-1-5
releases either).
>Release-Note:
>Audit-Trail:
>Unformatted: