/hg/buildbot: build.sh: Add --disable-system-gio for icedtea7 bu...

Mark Wielaard mark at klomp.org
Thu Mar 22 12:01:15 PDT 2012


Hi Andrew,

On Wed, 2012-03-21 at 09:14 -0400, Andrew Hughes wrote:
> >  elif [ "${VERSIONSTR}" == "7" ]; then
> >   ICEDTEA_ADDITIONAL_VMS="shark"
> > - ADDITIONAL_OPTIONS="--disable-system-lcms"
> > + ADDITIONAL_OPTIONS="--disable-system-lcms --disable-system-gio"
> >  else
> >   ICEDTEA_ADDITIONAL_VMS=""
> >   ADDITIONAL_OPTIONS="--disable-system-lcms"
> > 
> 
> Why is this necessary?  Old machine?

No, Debian stable. Seems it wants GIO 2.2 and stable only has 2.0.
It doesn't work btw... Just got the following failure report:

> The current IcedTea7 build fails.
> 
> More info at http://builder.wildebeest.org/icedtea/icedtea7/
> [...]
> gcc  -O2   -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN -g   -DNDEBUG -DARCH='"amd64"' -Damd64 -DLINUX -DRELEASE='"1.7.0_02-icedtea"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. -I/usr/local/build/icedtea7-build/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt/X11 -I../../../src/solaris/native/sun/awt/X11   -I/usr/include -DXAWT -DXAWT_HACK -I/usr/local/build/icedtea7-build/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/../../sun.awt/awt/CClassHeaders -I../../../src/solaris/native/sun/awt -I../../../src/solaris/native/sun/xawt -I../../../src/solaris/native/sun/jdga -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/java2d -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/font -I../../../src/solaris/native/sun/java2d -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/java2d/opengl -I../../../src/solaris/native/sun/java2d/opengl -I../../../src/solaris/native/sun/java2d/x11 -I../../../src/share/native/sun/dc/path -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/awt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../src/solaris/native/sun/font -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DUSE_SYSTEM_GTK -DUSE_SYSTEM_CUPS  -DUSE_SYSTEM_FONTCONFIG -I../../../src/solaris/native/common/deps/glib2 -I/usr/X11R6/include/X11/extensions -I/usr/include/X11/extensions -I/usr/X11R6//include   -c -o /usr/local/build/icedtea7-build/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/awt_Desktop.o  ../../../src/solaris/native/sun/xawt/awt_Desktop.c
> gcc  -O2   -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe -fno-omit-frame-pointer -D_LITTLE_ENDIAN -g   -DNDEBUG -DARCH='"amd64"' -Damd64 -DLINUX -DRELEASE='"1.7.0_02-icedtea"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. -I/usr/local/build/icedtea7-build/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt/X11 -I../../../src/solaris/native/sun/awt/X11   -I/usr/include -DXAWT -DXAWT_HACK -I/usr/local/build/icedtea7-build/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/../../sun.awt/awt/CClassHeaders -I../../../src/solaris/native/sun/awt -I../../../src/solaris/native/sun/xawt -I../../../src/solaris/native/sun/jdga -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/java2d -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/font -I../../../src/solaris/native/sun/java2d -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/java2d/opengl -I../../../src/solaris/native/sun/java2d/opengl -I../../../src/solaris/native/sun/java2d/x11 -I../../../src/share/native/sun/dc/path -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/awt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../src/solaris/native/sun/font -I../../../src/share/native/sun/awt -I../../../src/solaris/native/sun/awt -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DUSE_SYSTEM_GTK -DUSE_SYSTEM_CUPS  -DUSE_SYSTEM_FONTCONFIG -I../../../src/solaris/native/common/deps/glib2 -I/usr/X11R6/include/X11/extensions -I/usr/include/X11/extensions -I/usr/X11R6//include   -c -o /usr/local/build/icedtea7-build/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/awt_UNIXToolkit.o  ../../../src/solaris/native/sun/awt/awt_UNIXToolkit.c
> In file included from ../../../src/solaris/native/sun/xawt/awt_Desktop.c:32:
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'type_init'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'object_unref'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'file_new_for_path'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'file_query_info'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'file_info_get_content_type'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'app_info_launch_default_for_uri'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_new'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_get_boolean'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_get_string'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_get_strv'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_get_int'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'settings_get_child'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gstrfreev'
> ../../../src/solaris/native/common/deps/glib2/gio_fp.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gfree'
> ../../../src/solaris/native/sun/xawt/awt_Desktop.c: In function 'init':
> ../../../src/solaris/native/sun/xawt/awt_Desktop.c:55: error: 'type_init' undeclared (first use in this function)
> ../../../src/solaris/native/sun/xawt/awt_Desktop.c:55: error: (Each undeclared identifier is reported only once
> ../../../src/solaris/native/sun/xawt/awt_Desktop.c:55: error: for each function it appears in.)
> ../../../src/solaris/native/sun/xawt/awt_Desktop.c: In function 'Java_sun_awt_X11_XDesktopPeer_gnome_1url_1show':
> ../../../src/solaris/native/sun/xawt/awt_Desktop.c:126: error: 'app_info_launch_default_for_uri' undeclared (first use in this function)
> make[6]: *** [/usr/local/build/icedtea7-build/openjdk.build-boot/tmp/sun/sun.awt.X11/xawt/obj64/awt_Desktop.o] Error 1
> make[6]: *** Waiting for unfinished jobs....
> ../../../src/solaris/native/sun/awt/awt_UNIXToolkit.c: In function 'Java_sun_awt_UNIXToolkit_gtkCheckVersionImpl':
> ../../../src/solaris/native/sun/awt/awt_UNIXToolkit.c:275: warning: assignment discards qualifiers from pointer target type
> make[6]: Leaving directory `/usr/local/build/icedtea7-build/openjdk-boot/jdk/make/sun/xawt'
> make[5]: *** [library_parallel_compile] Error 2
> make[5]: Leaving directory `/usr/local/build/icedtea7-build/openjdk-boot/jdk/make/sun/xawt'
> make[4]: *** [all] Error 1
> make[4]: Leaving directory `/usr/local/build/icedtea7-build/openjdk-boot/jdk/make/sun'
> make[3]: *** [all] Error 1
> make[3]: Leaving directory `/usr/local/build/icedtea7-build/openjdk-boot/jdk/make'
> make[2]: *** [jdk-build] Error 2
> make[2]: Leaving directory `/usr/local/build/icedtea7-build/openjdk-boot'
> make[1]: *** [build_product_image] Error 2
> make[1]: Leaving directory `/usr/local/build/icedtea7-build/openjdk-boot'
> make: *** [stamps/icedtea-boot.stamp] Error 2

Haven't looked yet what is going on.

Cheers,

Mark



More information about the distro-pkg-dev mailing list