Subject: has anyone else built firefox-1.5.0.1 with xsrc-current? (blows chunks compiling nsDeviceContextPS.cpp)
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.org>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 07/26/2006 16:17:47
--pgp-sign-Multipart_Wed_Jul_26_16:17:25_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
I'm trying to do what's probably a rather unorthodox build of
firefox-1.5.0.1 (from pkgsrc-2005Q4) on some netbsd-1-6 i386 and alpha
machines with xsrc-current installed on them.
The very same pkgsrc source tree built working installs of both
www/firefox and www/firefox-gtk1 fine on an i386 system built from the
netbsd-3 and xsrc-3 branches though.
I blows up while trying to compile the same file on both Alpha and i386.
# www/firefox blows on alpha:
c++ -o nsDeviceContextPS.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=3D\"NetBSD1.=
6\" -DOSARCH=3D\"NetBSD\" -DBUILD_ID=3D0000000000 -I../.. -I./.. -I./../sh=
ared -I../../../dist/include/xpcom -I../../../dist/include/string -I../../.=
./dist/include/widget -I../../../dist/include/pref -I../../../dist/include/=
caps -I../../../dist/include/locale -I../../../dist/include/uconv -I../../.=
./dist/include/view -I../../../dist/include/necko -I../../../dist/include/i=
mglib2 -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I..=
/../../dist/include -I../../../dist/include/nspr -I/usr/pkg/include -I/usr/=
pkg/include -I../../../dist/sdk/include -I/usr/pkg/include -I/usr/pkg/incl=
ude/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -fPIC -DPIC -I=
/usr/pkg/include -I/usr/include -I/usr/X11R6/include -DGLX_GLXEXT_LEGACY -I=
/usr/pkg/include/freetype2 -I/usr/X11R6/include -fno-rtti -fno-exceptions =
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynt=
h -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -mno-soft=
-float -mcpu=3D21164a -g -I/usr/pkg/include -I/usr/include -I/usr/X11R6/inc=
lude -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -Dunix -mieee -pipe =
-DNDEBUG -DTRIMMED -pipe -O2 -mno-soft-float -mcpu=3D21164a -g -mieee -pipe=
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/inclu=
de/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg=
/include -I/usr/X11R6/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/l=
ib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/u=
sr/include -I/usr/X11R6/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/free=
type2 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-conf=
ig.h -Wp,-MD,.deps/nsDeviceContextPS.pp nsDeviceContextPS.cpp
In file included from nsDeviceContextPS.h:50,
from nsDeviceContextPS.cpp:55:
nsFontMetricsPS.h: In method `PRInt32 nsFontPS::SupportsChar(short unsigned=
int)':
nsFontMetricsPS.h:194: warning: cast increases required alignment of target=
type
In file included from nsDeviceContextPS.h:50,
from nsDeviceContextPS.cpp:55:
nsFontMetricsPS.h: At top level:
nsFontMetricsPS.h:285: ANSI C++ forbids data member `fontps' with same name=
as enclosing class
make[4]: *** [nsDeviceContextPS.o] Error 1
make[4]: Leaving directory `/build/package-obj/www/firefox/work/mozilla/gfx=
/src/ps'
make[3]: *** [libs] Error 2
# and also on i386
c++ -o nsDeviceContextPS.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=3D\"NetBSD1.=
6\" -DOSARCH=3D\"NetBSD\" -DBUILD_ID=3D0000000000 -I../.. -I./.. -I./../sh=
ared -I../../../dist/include/xpcom -I../../../dist/include/string -I../../.=
./dist/include/widget -I../../../dist/include/pref -I../../../dist/include/=
caps -I../../../dist/include/locale -I../../../dist/include/uconv -I../../.=
./dist/include/view -I../../../dist/include/necko -I../../../dist/include/i=
mglib2 -I../../../dist/include/unicharutil -I../../../dist/include/gfx -I..=
/../../dist/include -I../../../dist/include/nspr -I/usr/pkg/include -I/usr/=
pkg/include -I../../../dist/sdk/include -I/usr/pkg/include -I/usr/pkg/incl=
ude/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include -fPIC -DPIC -I=
/usr/pkg/include -I/usr/include -I/usr/X11R6/include -DGLX_GLXEXT_LEGACY -I=
/usr/pkg/include/freetype2 -I/usr/X11R6/include -fno-rtti -fno-exceptions =
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynt=
h -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -march=3D=
pentiumpro -g -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -DGLX_=
GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -Dunix -pipe -DNDEBUG -DTRIMMED=
-pipe -O2 -march=3Dpentiumpro -g -pipe -I/usr/pkg/include/gtk-2.0 -I/usr/p=
kg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo =
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/X11R6/include -I/usr=
/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/inclu=
de/freetype2 -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -DGL=
X_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -DMOZILL=
A_CLIENT -include ../../../mozilla-config.h -Wp,-MD,.deps/nsDeviceContextPS=
.pp nsDeviceContextPS.cpp
In file included from nsDeviceContextPS.h:50,
from nsDeviceContextPS.cpp:55:
nsFontMetricsPS.h:285: ANSI C++ forbids data member `fontps' with same name=
as enclosing class
make[4]: *** [nsDeviceContextPS.o] Error 1
make[4]: Leaving directory `/build/package-obj/www/firefox/work/mozilla/gfx=
/src/ps'
make[3]: *** [libs] Error 2
BTW, mozilla-gtk2 builds fine on the Alpha but still dies during install:
# 1.7.12 dies during install on alpha
/netbsd: regxpcom: pid 20995 [eid 0:0, rid 0:0] exited on signal 11: dumped=
core [in /build/package-obj/www/mozilla-gtk2/work/.pkgdb/regxpcom.core]
/netbsd: regchrome: pid 20996 [eid 0:0, rid 0:0] exited on signal 11: dumpe=
d core [in /build/package-obj/www/mozilla-gtk2/work/.pkgdb/regchrome.core]
# but unfortunately it doesn't notice that the install failed:
=3D=3D=3D> Running INSTALL script: /var/package-obj/www/mozilla-gtk2/work/.=
pkgdb/+INSTALL mozilla-gtk2-1.7.12nb1 POST-INSTALL
Segmentation fault - core dumped
Segmentation fault - core dumped
=3D=3D=3D> Registering installation for mozilla-gtk2-1.7.12nb1
(gtk-demo works fine on both the alpha and i386 though)
(the mozilla-gtk2 build on i386 is still chugging -- I need a faster box!)
(if I could get a stable base to work from then I'd finally start moving
up to pkgsrc-2006Q2! maybe mozilla-gtk2 will work on i386 :-))
--=20
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com> Secrets of the Weird <woods@weird.com>
--pgp-sign-Multipart_Wed_Jul_26_16:17:25_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 2Igf3o8bRdL0oRGtzVab0YzEpe9XIEmL
iQA/AwUBRMfN32J7XxTCWceFEQLnOgCghtEUx4tl6CBmXNJSZQS2cN348ykAn0cw
Ydv3A1g1vORayN0rXNxgJ2if
=l9pL
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Wed_Jul_26_16:17:25_2006-1--