Some 1.6 build issues (--with-additional-vms=zero, --enable-visual-vm, --enable-npplugin)

Mark Wielaard mark at
Thu Aug 13 04:04:03 PDT 2009


I did some random test builds of IcedTea6 overnight.

First the good news, --enable-xrender, --enable-systemtap,
--enable-plugin, --enable-pulse-java, --with-parallel-jobs=8 and
--enable-additional-vms=cacao all seem to do their job fine.

But there seem to be some build issues with some other "non-standard"
configure options (this is on x86_64 Fedora 11).

When giving --with-additional-vms=cacao,zero (or just
--with-additional-vms=zero) all goes well for the standard and cacao

        $ openjdk/build/linux-amd64/j2sdk-image/bin/java -version
        java version "1.6.0_0"
        OpenJDK Runtime Environment (IcedTea6 1.5-r9420faca6468) (build 1.6.0_0-b16)
        OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
        $ openjdk/build/linux-amd64/j2sdk-image/bin/java -cacao -version
        java version "1.6.0_0"
        IcedTea Runtime Environment (IcedTea6 1.5-r9420faca6468) (build 1.6.0_0-b16)
        CACAO (build 0.99.4, compiled mode)

But then the zero part goes wrong while (re)patching the tree:

        Checking patches/icedtea-version.patch
        The text leading up to this was:
        |--- openjdkold/jdk/make/common/shared/Defs.gmk	2008-08-28 04:10:47.000000000 -0400
        |+++ openjdk/jdk/make/common/shared/Defs.gmk	2009-02-08 08:30:21.000000000 -0500
        No file to patch.  Skipping patch.
        1 out of 1 hunk ignored
        The text leading up to this was:
        |--- openjdk/jdk/src/share/classes/sun/misc/	2008-11-25 01:04:53.000000000 -0800
        |+++ openjdk/jdk/src/share/classes/sun/misc/	2009-02-20 09:03:25.000000000 -0800
        No file to patch.  Skipping patch.
        2 out of 2 hunks ignored
        The text leading up to this was:
        |--- openjdk/jdk/make/java/version/Makefile.~1~	2008-11-25 01:01:15.000000000 -0800
        |+++ openjdk/jdk/make/java/version/Makefile	2009-02-20 09:03:56.000000000 -0800
        No file to patch.  Skipping patch.
        1 out of 1 hunk ignored
        ERROR patch patches/icedtea-version.patch FAILED!
        WARNING make clean-patch before retrying a fix
        make[1]: *** [stamps/patch.stamp] Error 2
        make[1]: Leaving directory `/usr/local/build/icedtea6-obj/zerovm'
        make: *** [stamps/add-zero.stamp] Error 2

The --enable-visual-vm option seems not current. It ends with:

          [genlist] Generating information for Auto Update...
        Total time: 5 seconds
        mkdir -p stamps
        touch stamps/nbplatform.stamp
        cd visualvm ; \
        -s /home/mark/src/icedtea6/netbeans/nbbuild/netbeans_visualvm
        netbeans ; \
        JAVA_HOME=/home/mark/build/icedtea6-obj/bootstrap/icedtea /usr/bin/ant build
        Buildfile: build.xml
        /usr/local/build/icedtea6-obj/visualvm/build.xml:7: The
        following error occurred while executing this line:
        /usr/local/build/icedtea6-obj/visualvm/nbproject/build-impl.xml:19: You must define 'nbplatform.NetBeans_Platform_6.5_(Build_081204).harness.dir'
        Total time: 0 seconds
        make: *** [stamps/visualvm.stamp] Error 1

--enable-npplugin doesn't work because configure doesn't detect that the
correct header files aren't there:
        cd /home/mark/src/icedtea6/plugin/icedteanp; \
        	if [ -e /home/mark/src/icedtea6/.hg ] && which /usr/bin/hg >/dev/null; then \
        	  revision="-r`(cd /home/mark/src/icedtea6; /usr/bin/hg tip --template '{rev}')`" ; \
        	fi ; \
        	if [ -n "" ]; then plugin_version=" ()"; fi; \
        	plugin_version=" 1.5$revision$plugin_version"; \
        	g++ -g -O2 \
        	  -DPACKAGE_VERSION="\"1.5\"" \
        	  -DPLUGIN_VERSION="\"$plugin_version\"" \
        	  -DMOZILLA_VERSION_COLLAPSED="1090102" \
        	  -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   \
        	  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   \
        	  -DXP_UNIX -DOJI -fshort-wchar -I/usr/include/xulrunner-sdk-1.9.1/stable -I/usr/include/xulrunner-sdk-1.9.1/java -I/usr/include/xulrunner-sdk-1.9.1/plugin -I/usr/include/nspr4 -I/usr/include/xulrunner-sdk-1.9.1/unstable   \
        	  -fPIC -c; \
        	cd ../
        In file included from
        IcedTeaScriptablePluginObject.h:42:19: error: npupp.h: No such file or directory
        In file included from IcedTeaNPPlugin.h:54,
                         from IcedTeaJavaRequestProcessor.h:46,
                         from IcedTeaScriptablePluginObject.h:44,

What provides npupp.h?

More information about the distro-pkg-dev mailing list