Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Rafael Laboissiere <rlaboiss@us...> - 2006-08-30 06:50:29
|
* Alan W. Irwin <irwin@...> [2006-08-29 14:53]: > On 2006-08-29 22:31+0200 Rafael Laboissiere wrote: > > >The PLplot packages have just been kicked off Debian testing because they > >are buggy. In order to get the situation under control, I will take the > >radical approach and drop the plplot-java package for all architectures. > >I might reintroduce it in the future, once the Java problems are sorted > >out. > > Sounds like the right approach. Indeed, the 5.6.1-8 version of the package built successfully for the previously failing architectures. This open the path for PLplot entering Debian testing again. Unfortunately, the Java bindings are gone. > Once you have more time to look at this in detail, I suggest you pay > close attention to exactly how your java build dependencies are being > fulfilled on the failing architectures. I think there is at least > three different choices of free java tool chain, and your results will > likely vary between them. I only specify java-gcj-compat-dev, which is the correct way of specifying the build-dependency, I have been told. > On Debian stable, you may recall that gcj cannot build our java examples > because we specify -encoding utf8 which is parsed okay by that old, buggy > version of gcj, but which causes an internal error in that compiler. Other > free java compilers (IIRC, kaffe) on Debian stable worked fine as did more > modern versions of gcj. That particular error is not relevant to the > current problem except that it illustrates the point how results can vary > between free java tool chains or different versions of the same java tool > chain. What is intriguing are the different reasons for failure in the different architectures. On arm, it fails with this error message: ============================================================================= Making all in java make[4]: Entering directory `/build/buildd/plplot-5.6.1/bindings/java' if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../include -I/usr/lib/jvm/java-gcj/include -I/usr/lib/jvm/java-gcj/include -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -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/libpng12 -g -O2 -MT plplotjavac_wrap.lo -MD -MP -MF ".deps/plplotjavac_wrap.Tpo" -c -o plplotjavac_wrap.lo plplotjavac_wrap.c; \ then mv -f ".deps/plplotjavac_wrap.Tpo" ".deps/plplotjavac_wrap.Plo"; else rm -f ".deps/plplotjavac_wrap.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../include -I/usr/lib/jvm/java-gcj/include -I/usr/lib/jvm/java-gcj/include -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -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/libpng12 -g -O2 -MT plplotjavac_wrap.lo -MD -MP -MF .deps/plplotjavac_wrap.Tpo -c plplotjavac_wrap.c -fPIC -DPIC -o .libs/plplotjavac_wrap.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../include -I/usr/lib/jvm/java-gcj/include -I/usr/lib/jvm/java-gcj/include -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -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/libpng12 -g -O2 -MT plplotjavac_wrap.lo -MD -MP -MF .deps/plplotjavac_wrap.Tpo -c plplotjavac_wrap.c -o plplotjavac_wrap.o >/dev/null 2>&1 /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o plplotjavac_wrap.la -rpath /usr/lib/jni -rpath /usr/lib/jni -module -avoid-version -no-undefined ../../src/libplplotd.la plplotjavac_wrap.lo -lm libtool: link: warning: `/usr/lib/gcc/arm-linux-gnu/4.1.2/../../..//libfreetype.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/arm-linux-gnu/4.1.2/../../..//libqhull.la' seems to be moved libtool: link: warning: `/usr/lib/gcc/arm-linux-gnu/4.1.2/../../..//libltdl.la' seems to be moved gcc -shared .libs/plplotjavac_wrap.o -Wl,--rpath -Wl,/build/buildd/plplot-5.6.1/src/.libs ../../src/.libs/libplplotd.so -L/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../ -L/build/buildd/plplot-5.6.1/lib/csa/.libs -L/build/buildd/plplot-5.6.1/lib/nn/.libs -lm -Wl,-soname -Wl,plplotjavac_wrap.so -o .libs/plplotjavac_wrap.so ar cru .libs/plplotjavac_wrap.a plplotjavac_wrap.o ranlib .libs/plplotjavac_wrap.a creating plplotjavac_wrap.la (cd .libs && rm -f plplotjavac_wrap.la && ln -s ../plplotjavac_wrap.la plplotjavac_wrap.la) javac config.java -d . -classpath . Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.core.compiler.IProblem <<No stacktrace available>> make[4]: *** [config.class] Error 1 make[4]: Leaving directory `/build/buildd/plplot-5.6.1/bindings/java' ============================================================================= On hppa: ============================================================================= Testing front-end java PLplot library version: 5.6.1 ./test_java.sh: line 47: 509 File size limit exceededjava -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j.$dsuffix $options ./test_java.sh: line 47: 694 File size limit exceededjava -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j.$dsuffix $options ./test_java.sh: line 47: 913 Bus error java -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j.$dsuffix $options ./test_java.sh: line 47: 916 Bus error java -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j.$dsuffix $options ./test_java.sh: line 47: 919 File size limit exceededjava -classpath ${javadir}:${PLPLOT_CLASSPATH} ${JAVA_TEST_OPTS} plplot.examples.x${index} -dev $device -o ${OUTPUT_DIR}/x${index}j.$dsuffix $options Exception in thread "main" java.lang.NullPointerException at java.lang.Object.getClass(libgcj.so.7) [...] FAIL: plplot-test.sh ============================================================================= I am puzzled. -- Rafael |