[Bug 591] Unable to build openjdk/icedtea on Slack 13.1

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Nov 18 05:59:11 PST 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=591





------- Comment #22 from robert at linux-source.org  2010-11-18 13:59 -------
Here is the error when not enabling MOZILLA_LIBS and MOZILLA_CFLAGS:


>>>Making sec-files-win @ Thu Nov 18 14:52:20 CET 2010 ...
>>>Making jgss-files @ Thu Nov 18 14:52:20 CET 2010 ...
>>>Finished making images @ Thu Nov 18 14:52:20 CET 2010 ...
make[3]: Leaving directory `/tmp/kng/icedtea6-1.9.1/openjdk/jdk/make'
make[2]: Leaving directory `/tmp/kng/icedtea6-1.9.1/openjdk'
Control linux i586 1.6.0_20 build_product_image build finished: 10-11-18 14:52
Control linux i586 1.6.0_20 all_product_build build finished: 10-11-18 14:52
Control linux i586 1.6.0_20 all build finished: 10-11-18 14:52
make[1]: Leaving directory `/tmp/kng/icedtea6-1.9.1/openjdk'
mkdir -p /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/i386
mkdir -p /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/lib/i386
mkdir -p /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/ext
mkdir -p /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/lib/ext
cp /tmp/kng/icedtea6-1.9.1/nss.cfg \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/security;
cp /tmp/kng/icedtea6-1.9.1/tz.properties \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib;
IcedTea is served: /tmp/kng/icedtea6-1.9.1/openjdk.build
mkdir -p stamps
touch stamps/icedtea.stamp
printf -- '-cacao ERROR\n' >>
/tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/i386/jvm.cfg
touch stamps/add-cacao.stamp
printf -- '-zero ERROR\n' >>
/tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/i386/jvm.cfg
printf -- '-shark ERROR\n' >>
/tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/i386/jvm.cfg
touch stamps/add-zero.stamp
mkdir -p /tmp/kng/icedtea6-1.9.1/plugin/icedteanp && \
cd /tmp/kng/icedtea6-1.9.1/plugin/icedteanp && \
i486-slackware-linux-g++ -O2 -march=i486 -mtune=i686 \
  -DJDK_UPDATE_VERSION="\"20\"" \
  -DPLUGIN_VERSION="\"IcedTea6 1.9.1\"" \
  -DMOZILLA_VERSION_COLLAPSED="1090212" \
  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   \
  -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/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14   \
  -DXP_UNIX -I/usr/include/xulrunner-1.9.2.12/stable   \
  -fPIC -o /tmp/kng/icedtea6-1.9.1/plugin/icedteanp/IcedTeaNPPlugin.o -c
/tmp/kng/icedtea6-1.9.1/plugin/icedteanp/IcedTeaNPPlugin.cc
In file included from
/tmp/kng/icedtea6-1.9.1/plugin/icedteanp/IcedTeaNPPlugin.cc:51:0:
/tmp/kng/icedtea6-1.9.1/plugin/icedteanp/IcedTeaScriptablePluginObject.h:45:19:
fatal error: npapi.h: No such file or directory
compilation terminated.
make: *** [/tmp/kng/icedtea6-1.9.1/plugin/icedteanp/IcedTeaNPPlugin.o] Error 1

After then I enabled the libs and flags, then just ran again the build script
and everything is done and ends like this:


Note: Recompile with -Xlint:unchecked for details.
mkdir -p stamps
touch stamps/liveconnect.stamp
if test "xnetscape sun/applet" != x; then \
  (cd /tmp/kng/icedtea6-1.9.1/liveconnect ; \
   mkdir -p lib ; \
   /tmp/kng/icedtea6-1.9.1/bootstrap/jdk1.6.0/bin/jar cf lib/classes.jar
netscape sun/applet ; \
   cp -pPR -l /tmp/kng/icedtea6-1.9.1/plugin/icedteanp/java src; \
   find src -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}'
';'; \
   cd src ; \
   /usr/bin/zip -qr /tmp/kng/icedtea6-1.9.1/liveconnect/lib/src.zip netscape
sun/applet ) ; \
fi
mkdir -p stamps
touch stamps/liveconnect-dist.stamp
mkdir -p stamps
touch stamps/plugin.stamp
cp -pPRf /tmp/kng/icedtea6-1.9.1/plugin/icedteanp/IcedTeaPlugin.so \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/i386
cp -pPRf /tmp/kng/icedtea6-1.9.1/plugin/icedteanp/IcedTeaPlugin.so \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/lib/i386
cp -pPRf /tmp/kng/icedtea6-1.9.1/liveconnect/lib/classes.jar \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/plugin.jar
cp -pPRf /tmp/kng/icedtea6-1.9.1/liveconnect/lib/classes.jar \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/lib/plugin.jar
touch stamps/add-plugin.stamp
mkdir -p stamps
touch stamps/netx-dist.stamp
cp -pPRf /tmp/kng/icedtea6-1.9.1/netx.build/lib/classes.jar \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib/netx.jar
cp -pPRf /tmp/kng/icedtea6-1.9.1/netx.build/lib/classes.jar \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/lib/netx.jar
cp /tmp/kng/icedtea6-1.9.1/netx/net/sourceforge/jnlp/resources/about.jnlp
extra-lib/about.jar \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/jre/lib
cp /tmp/kng/icedtea6-1.9.1/netx/net/sourceforge/jnlp/resources/about.jnlp
extra-lib/about.jar \
  /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/lib
if [ -d /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/man/man1 ] ; then \
  cp /tmp/kng/icedtea6-1.9.1/netx/javaws.1 \
    /tmp/kng/icedtea6-1.9.1/openjdk.build/j2sdk-image/man/man1 ; \
fi
if [ -d /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/man/man1 ] ; then \
  cp /tmp/kng/icedtea6-1.9.1/netx/javaws.1 \
    /tmp/kng/icedtea6-1.9.1/openjdk.build/j2re-image/man/man1 ; \
fi
touch stamps/add-netx.stamp
mkdir -p stamps
touch stamps/icedtea-against-icedtea.stamp


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list