Bug#375540: ant: FTBFS: Cannot find Base64Converter class

James Westby jw+debian at jameswestby.net
Tue Jun 27 14:52:17 UTC 2006


Hi,

See #365524 for a bit of explanation about this. 

The attached patch was created by running the existing one through
cdbs-edit-patch. This allows the build to progress further, but it still
FTBFS here, failing with the error:

# doing bootstrapping
ln -sf /usr/share/java/jaxp-1.2.jar lib/xml-apis.jar
ln -sf /usr/share/java/xercesImpl.jar lib/xercesImpl.jar
/bin/sh bootstrap.sh
... Bootstrapping Ant Distribution
... Compiling Ant Classes
... Copying Required Files
... Building Ant Distribution
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
   at gnu.classpath.SystemProperties.getProperty
   (SystemProperties.java:123)
   at java.lang.VMClassLoader.<clinit> (VMClassLoader.java:84)
   at java.lang.ClassLoader$StaticData.<clinit>
(ClassLoader.java:155)
   at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:797)
   at gnu.classpath.VMSystemProperties.postInit
(VMSystemProperties.java:native)   at
gnu.classpath.SystemProperties.<clinit> (SystemProperties.java:114)
   at java.lang.Runtime.<init> (Runtime.java:100)
   at java.lang.Runtime.<clinit> (Runtime.java:88)
   at java.lang.System.loadLibrary (System.java:560)
   at gnu.java.nio.channels.FileChannelImpl.<clinit>
(FileChannelImpl.java:86)
   at java.io.FileDescriptor.<clinit> (FileDescriptor.java:64)
   at java.lang.VMSystem.makeStandardInputStream (VMSystem.java:191)
   at java.lang.System.<clinit> (System.java:74)
   at java.lang.Object.hashCode (Object.java:174)
   at java.util.Hashtable.hash (Hashtable.java:816)
   at java.util.Hashtable.put (Hashtable.java:426)
   at java.security.Permissions.add (Permissions.java:112)
bootstrap.sh: line 153: 19143 Aborted                 "${JAVACMD}"
-classpath "${CLASSPATH}" -Dant.home=. $ANT_OPTS
org.apache.tools.ant.Main -emacs "$@" bootstrap
... Failed Building Ant Distribution !
make: *** [build] Error 134


Attached is the full build log.

James

-- 
  James Westby
  jw+debian at jameswestby.net
  http://jameswestby.net/
-------------- next part --------------
diff -u ant-1.6.5/debian/patches/03_SplashTaskPatch_a.patch ant-1.6.5/debian/patches/03_SplashTaskPatch_a.patch
--- ant-1.6.5/debian/patches/03_SplashTaskPatch_a.patch
+++ ant-1.6.5/debian/patches/03_SplashTaskPatch_a.patch
@@ -1,5 +1,6 @@
---- /dev/null	2005-07-07 19:32:34.024825040 +0200
-+++ src/main/org/apache/tools/ant/util/Base64Converter.java	2005-07-07 20:56:48.000000000 +0200
+diff -Nur ant-1.6.5/src/main/org/apache/tools/ant/util/Base64Converter.java ant-1.6.5.new/src/main/org/apache/tools/ant/util/Base64Converter.java
+--- ant-1.6.5/src/main/org/apache/tools/ant/util/Base64Converter.java	1970-01-01 01:00:00.000000000 +0100
++++ ant-1.6.5.new/src/main/org/apache/tools/ant/util/Base64Converter.java	2006-06-27 15:37:29.000000000 +0100
 @@ -0,0 +1,76 @@
 +    /*********************************************************************
 +    * BASE 64 encoding of a String or an array of bytes.
-------------- next part --------------
dpkg-buildpackage: source package is ant
dpkg-buildpackage: source version is 1.6.5-5
dpkg-buildpackage: source changed by Wolfgang Baer <WBaer at gmx.de>
dpkg-buildpackage: source version without epoch 1.6.5-5
 fakeroot-tcp debian/rules clean
test -x debian/rules
test "`id -u`" = 0
dh_clean 
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/jw2328/Install/temp/ant-1.6.5'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/home/jw2328/Install/temp/ant-1.6.5'
patches: debian/patches/01_ant_home_path.patch debian/patches/01_gjdoc_task.patch debian/patches/01_javadoc_maxmemory.patch debian/patches/02_ant_add_xerces.patch debian/patches/03_SplashTaskPatch_a.patch debian/patches/03_SplashTaskPatch_b.patch debian/patches/03_SplashTaskPatch_c.patch debian/patches/04_UUMailerReflection.patch debian/patches/05_TaskAvailabilityFix_ANT_PR38260.patch
Not reversing not applied patches.
if [ "reverse-patches" = "debian/stamp-patched" ] ; then touch debian/stamp-patched ; \
	elif [ "reverse-patches" = "reverse-patches" ] ; then rm -f debian/stamp-patch* ; \
	fi
if [ "reverse-patches" != "reverse-patches" ] ; then \
		/usr/bin/make -f debian/rules update-config ; \
	fi
for dir in debian/patches ; do \
	    rm -f $dir/*.log ; \
	done
rm -f gjdoc_rawcomment.cache
rm -rf bin bootstrap build lib/*.jar
 dpkg-source -b ant-1.6.5
dpkg-source: building ant using existing ant_1.6.5.orig.tar.gz
dpkg-source: building ant in ant_1.6.5-5.diff.gz
dpkg-source: warning: ignoring deletion of file lib/xercesImpl.jar
dpkg-source: warning: ignoring deletion of file lib/xml-apis.jar
dpkg-source: warning: ignoring deletion of file src/main/org/apache/tools/ant/RuntimeConfigurable.java.orig
dpkg-source: building ant in ant_1.6.5-5.dsc
 dpkg-genchanges -S
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: source only, diff-only upload (original source NOT included)
 -> Running in no-targz mode
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id: pbuilder-buildpackage-funcs,v 1.31 2006/05/30 23:45:45 dancer Exp $
$Id: pbuilder-buildpackage,v 1.126 2006/06/10 15:09:52 dancer Exp $

Current time: Tue Jun 27 15:46:08 BST 2006
pbuilder-time-stamp: 1151419568
 -> copying local configuration
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
-> Mounting /var/cache/pbuilder/ccache
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
Installing the build-deps
Update apt
Get:1 http://localhost unstable Release.gpg [189B]
Get:2 http://debian.blueyonder.co.uk sid Release.gpg [189B]
Hit http://localhost unstable Release
Err http://localhost unstable Release
  
Get:3 http://debian.blueyonder.co.uk sid Release [38.3kB]
Get:4 http://localhost unstable Release [3686B]
Ign http://localhost unstable Release
Ign http://localhost unstable/main Packages/DiffIndex
Hit http://localhost unstable/main Packages
Ign http://debian.blueyonder.co.uk sid Release
Get:5 http://debian.blueyonder.co.uk sid/main Packages/DiffIndex [12.6kB]
Get:6 2006-06-26-1346.13.pdiff [24.6kB]
Get:7 2006-06-26-1346.13.pdiff [24.6kB]
Get:8 2006-06-26-1346.13.pdiff [24.6kB]
Fetched 79.6kB in 3s (23.9kB/s)
Reading package lists...
W: GPG error: http://localhost unstable Release: Could not execute '/usr/bin/gpgv' to verify signature (is gnupg installed?)
W: GPG error: http://debian.blueyonder.co.uk sid Release: Could not execute '/usr/bin/gpgv' to verify signature (is gnupg installed?)
W: You may want to run apt-get update to correct these problems
 -> user script /var/cache/pbuilder/build/cow.14950/tmp/hooks/D11apt finished
 -> Attempting to parse the build-deps : pbuilder-satisfydepends,v 1.28 2006/05/30 23:45:45 dancer Exp $
 -> Considering  cdbs (>= 0.4.8)
   -> Trying cdbs
 -> Considering  debhelper (>= 4.2.0)
   -> Trying debhelper
 -> Considering  kaffe (>= 2:1.1.6.91-1)
   -> Trying kaffe
 -> Considering  libxerces2-java
   -> Trying libxerces2-java
 -> Considering  libbsf-java (>= 2.3.0rc1-1)
   -> Trying libbsf-java
 -> Considering  liboro-java
   -> Trying liboro-java
 -> Considering  libxalan2-java (>= 2.4.0-1)
   -> Trying libxalan2-java
 -> Considering  junit
   -> Trying junit
 -> Considering  antlr
   -> Trying antlr
 -> Considering  liblog4j1.2-java
   -> Trying liblog4j1.2-java
 -> Considering  libregexp-java
   -> Trying libregexp-java
 -> Considering  libbcel-java (>= 5.0)
   -> Trying libbcel-java
 -> Considering  libcommons-logging-java
   -> Trying libcommons-logging-java
 -> Considering  libjdepend-java
   -> Trying libjdepend-java
 -> Considering  libgnumail-java
   -> Trying libgnumail-java
 -> Considering  libxml-commons-resolver1.1-java
   -> Trying libxml-commons-resolver1.1-java
 -> Considering  libcommons-net-java
   -> Trying libcommons-net-java
 -> Considering  libjsch-java
   -> Trying libjsch-java
 -> Installing  cdbs debhelper kaffe libxerces2-java libbsf-java liboro-java libxalan2-java junit antlr liblog4j1.2-java libregexp-java libbcel-java libcommons-logging-java libjdepend-java libgnumail-java libxml-commons-resolver1.1-java libcommons-net-java libjsch-java
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  defoma ecj-bootstrap esound-common fastjar file fontconfig fontconfig-config
  gcj-4.1-base gettext gij-4.1 gjdoc html2text intltool-debian java-common
  kaffe-common kaffe-pthreads libasound2 libatk1.0-0 libaudiofile0 libcairo2
  libesd0 libexpat1 libfontconfig1 libfreetype6 libgcj-common libgcj7
  libgcj7-jar libglib2.0-0 libgmp3c2 libgnucrypto-java libgnuinet-java
  libgnujaf-java libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice6
  libjack0.100.0-0 libjaxp1.2-java libjessie-java libjpeg62 libmagic1
  libpango1.0-0 libpango1.0-common libpng12-0 libsm6 libtiff4 libx11-6
  libx11-data libxau6 libxcursor1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6
  libxinerama1 libxrandr2 libxrender1 libxtst6 po-debconf ttf-dejavu ucf
  x11-common
Suggested packages:
  devscripts doc-base dh-make defoma-doc psfontmgr x-ttcidfont-conf dfontmgr
  ant cvs gettext-doc gcj-4.1 libgcj7-awt equivs junit-doc libasound2-plugins
  libbcel-java-doc libservlet2.3-java jython rhino bsh liblogkit-java
  libavalon-framework-java esound libfreetype6-dev lib32gcj7-dbg
  ttf-kochi-gothic ttf-kochi-mincho ttf-thryomanes ttf-baekmuk
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp
  ttf-arphic-bkai00mp libxalan2-java-doc libxsltc-java libxerces2-java-doc
  libxml-commons-resolver1.1-java-doc
Recommended packages:
  autotools-dev libft-perl ecj-bootstrap-gcj curl libatk1.0-data
  esound-clients libglib2.0-data hicolor-icon-theme jackd
  libmail-sendmail-perl libcompress-zlib-perl debconf-utils
The following NEW packages will be installed:
  antlr cdbs debhelper defoma ecj-bootstrap esound-common fastjar file
  fontconfig fontconfig-config gcj-4.1-base gettext gij-4.1 gjdoc html2text
  intltool-debian java-common junit kaffe kaffe-common kaffe-pthreads
  libasound2 libatk1.0-0 libaudiofile0 libbcel-java libbsf-java libcairo2
  libcommons-logging-java libcommons-net-java libesd0 libexpat1 libfontconfig1
  libfreetype6 libgcj-common libgcj7 libgcj7-jar libglib2.0-0 libgmp3c2
  libgnucrypto-java libgnuinet-java libgnujaf-java libgnumail-java libgtk2.0-0
  libgtk2.0-bin libgtk2.0-common libice6 libjack0.100.0-0 libjaxp1.2-java
  libjdepend-java libjessie-java libjpeg62 libjsch-java liblog4j1.2-java
  libmagic1 liboro-java libpango1.0-0 libpango1.0-common libpng12-0
  libregexp-java libsm6 libtiff4 libx11-6 libx11-data libxalan2-java libxau6
  libxcursor1 libxdmcp6 libxerces2-java libxext6 libxfixes3 libxft2 libxi6
  libxinerama1 libxml-commons-resolver1.1-java libxrandr2 libxrender1 libxtst6
  po-debconf ttf-dejavu ucf x11-common
0 upgraded, 81 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/50.0MB of archives.
After unpacking 120MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  java-common kaffe-common libasound2 libglib2.0-0 libatk1.0-0 libexpat1
  libfreetype6 ucf libmagic1 file defoma ttf-dejavu fontconfig-config
  libfontconfig1 libpng12-0 x11-common libxau6 libxdmcp6 libx11-data libx11-6
  libxrender1 libcairo2 libaudiofile0 esound-common libesd0 libgmp3c2
  libgtk2.0-common fontconfig libxft2 libpango1.0-common libpango1.0-0
  libxfixes3 libxcursor1 libxext6 libxi6 libxinerama1 libxrandr2 libgtk2.0-bin
  libjpeg62 libtiff4 libgtk2.0-0 libice6 libjack0.100.0-0 libsm6 libxtst6
  gcj-4.1-base libgcj-common libgcj7 gij-4.1 libgcj7-jar ecj-bootstrap
  html2text gettext intltool-debian po-debconf debhelper kaffe antlr gjdoc
  fastjar kaffe-pthreads cdbs junit libregexp-java libbcel-java libbsf-java
  libcommons-logging-java liboro-java libcommons-net-java libgnucrypto-java
  libjessie-java libgnuinet-java libgnujaf-java libgnumail-java
  libjaxp1.2-java libjdepend-java libjsch-java liblog4j1.2-java
  libxerces2-java libxalan2-java libxml-commons-resolver1.1-java

Extracting templates from packages: 37%
Extracting templates from packages: 74%
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously deselected package java-common.
(Reading database ... 12936 files and directories currently installed.)
Unpacking java-common (from .../java-common_0.25_all.deb) ...
Selecting previously deselected package kaffe-common.
Unpacking kaffe-common (from .../kaffe-common_2%3a1.1.7-3_all.deb) ...
Selecting previously deselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.11-7_i386.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.10.3-2_i386.deb) ...
Selecting previously deselected package libatk1.0-0.
Unpacking libatk1.0-0 (from .../libatk1.0-0_1.11.4-2_i386.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_1.95.8-3.2_i386.deb) ...
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.2.1-2_i386.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../archives/ucf_2.0012_all.deb) ...
Moving old data out of the way
Selecting previously deselected package libmagic1.
Unpacking libmagic1 (from .../libmagic1_4.17-2_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.17-2_i386.deb) ...
Selecting previously deselected package defoma.
Unpacking defoma (from .../archives/defoma_0.11.9_all.deb) ...
Selecting previously deselected package ttf-dejavu.
Unpacking ttf-dejavu (from .../ttf-dejavu_2.7-2_all.deb) ...
Selecting previously deselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.3.2-7_all.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.3.2-7_i386.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.8rel-5.1_i386.deb) ...
Selecting previously deselected package x11-common.
Unpacking x11-common (from .../x11-common_1%3a7.0.22_i386.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.0-3_i386.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.0-4_i386.deb) ...
Setting up x11-common (7.0.22) ...
 Adding system startup for /etc/init.d/x11-common ...
   /etc/rcS.d/S70x11-common -> ../init.d/x11-common
Setting up X server socket directory /tmp/.X11-unix....
Setting up ICE socket directory /tmp/.ICE-unix....
Setting up X server socket directory /tmp/.X11-unix....
Setting up ICE socket directory /tmp/.ICE-unix....
Setting up X server socket directory /tmp/.X11-unix....
Setting up ICE socket directory /tmp/.ICE-unix....

Selecting previously deselected package libx11-data.
(Reading database ... 13388 files and directories currently installed.)
Unpacking libx11-data (from .../libx11-data_2%3a1.0.0-6_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.0.0-6_i386.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.0.2-4_i386.deb) ...
Selecting previously deselected package libcairo2.
Unpacking libcairo2 (from .../libcairo2_1.0.4-2_i386.deb) ...
Selecting previously deselected package libaudiofile0.
Unpacking libaudiofile0 (from .../libaudiofile0_0.2.6-6_i386.deb) ...
Selecting previously deselected package esound-common.
Unpacking esound-common (from .../esound-common_0.2.36-3_all.deb) ...
Selecting previously deselected package libesd0.
Unpacking libesd0 (from .../libesd0_0.2.36-3_i386.deb) ...
Selecting previously deselected package libgmp3c2.
Unpacking libgmp3c2 (from .../libgmp3c2_4.2.dfsg-1_i386.deb) ...
Selecting previously deselected package libgtk2.0-common.
Unpacking libgtk2.0-common (from .../libgtk2.0-common_2.8.18-1_all.deb) ...
Selecting previously deselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.3.2-7_i386.deb) ...
Selecting previously deselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.1.8.2-8_i386.deb) ...
Selecting previously deselected package libpango1.0-common.
Unpacking libpango1.0-common (from .../libpango1.0-common_1.12.3-1_i386.deb) ...
Selecting previously deselected package libpango1.0-0.
Unpacking libpango1.0-0 (from .../libpango1.0-0_1.12.3-1_i386.deb) ...
Selecting previously deselected package libxfixes3.
Unpacking libxfixes3 (from .../libxfixes3_1%3a3.0.1.2-4_i386.deb) ...
Selecting previously deselected package libxcursor1.
Unpacking libxcursor1 (from .../libxcursor1_1.1.5.2-5_i386.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_1%3a1.0.0-4_i386.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_1%3a1.0.0-5_i386.deb) ...
Selecting previously deselected package libxinerama1.
Unpacking libxinerama1 (from .../libxinerama1_1%3a1.0.1-4_i386.deb) ...
Selecting previously deselected package libxrandr2.
Unpacking libxrandr2 (from .../libxrandr2_2%3a1.1.0.2-4_i386.deb) ...
Selecting previously deselected package libgtk2.0-bin.
Unpacking libgtk2.0-bin (from .../libgtk2.0-bin_2.8.18-1_i386.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b-13_i386.deb) ...
Selecting previously deselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.8.2-5_i386.deb) ...
Selecting previously deselected package libgtk2.0-0.
Unpacking libgtk2.0-0 (from .../libgtk2.0-0_2.8.18-1_i386.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_1%3a1.0.0-3_i386.deb) ...
Selecting previously deselected package libjack0.100.0-0.
Unpacking libjack0.100.0-0 (from .../libjack0.100.0-0_0.101.1-1_i386.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_1%3a1.0.0-4_i386.deb) ...
Selecting previously deselected package libxtst6.
Unpacking libxtst6 (from .../libxtst6_1%3a1.0.1-3_i386.deb) ...
Selecting previously deselected package gcj-4.1-base.
Unpacking gcj-4.1-base (from .../gcj-4.1-base_4.1.1-5_i386.deb) ...
Selecting previously deselected package libgcj-common.
Unpacking libgcj-common (from .../libgcj-common_1%3a4.1.1-5_all.deb) ...
Selecting previously deselected package libgcj7.
Unpacking libgcj7 (from .../libgcj7_4.1.1-5_i386.deb) ...
Selecting previously deselected package gij-4.1.
Unpacking gij-4.1 (from .../gij-4.1_4.1.1-5_i386.deb) ...
Selecting previously deselected package libgcj7-jar.
Unpacking libgcj7-jar (from .../libgcj7-jar_4.1.1-5_all.deb) ...
Selecting previously deselected package ecj-bootstrap.
Unpacking ecj-bootstrap (from .../ecj-bootstrap_3.1.2-6_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.14.6-1_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.34.2+20060621_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.3_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.37.2_all.deb) ...
Selecting previously deselected package kaffe.
Unpacking kaffe (from .../kaffe_2%3a1.1.7-3_all.deb) ...
Selecting previously deselected package antlr.
Unpacking antlr (from .../archives/antlr_2.7.6-6_all.deb) ...
Selecting previously deselected package gjdoc.
Unpacking gjdoc (from .../gjdoc_0.7.7-2_i386.deb) ...
Selecting previously deselected package fastjar.
Unpacking fastjar (from .../fastjar_1%3a4.1.1-5_i386.deb) ...
Setting up java-common (0.25) ...

Setting up kaffe-common (1.1.7-3) ...
Selecting previously deselected package kaffe-pthreads.
(Reading database ... 15620 files and directories currently installed.)
Unpacking kaffe-pthreads (from .../kaffe-pthreads_2%3a1.1.7-3_i386.deb) ...
Selecting previously deselected package cdbs.
Unpacking cdbs (from .../archives/cdbs_0.4.43_all.deb) ...
Selecting previously deselected package junit.
Unpacking junit (from .../junit_3.8.1.1-6_all.deb) ...
Selecting previously deselected package libregexp-java.
Unpacking libregexp-java (from .../libregexp-java_1.4-3_all.deb) ...
Selecting previously deselected package libbcel-java.
Unpacking libbcel-java (from .../libbcel-java_5.1-6_all.deb) ...
Selecting previously deselected package libbsf-java.
Unpacking libbsf-java (from .../libbsf-java_1%3a2.3.0+cvs20050308-6_all.deb) ...
Selecting previously deselected package libcommons-logging-java.
Unpacking libcommons-logging-java (from .../libcommons-logging-java_1.0.4-5_all.deb) ...
Selecting previously deselected package liboro-java.
Unpacking liboro-java (from .../liboro-java_2.0.8a-1_all.deb) ...
Selecting previously deselected package libcommons-net-java.
Unpacking libcommons-net-java (from .../libcommons-net-java_1.3.0-1_all.deb) ...
Selecting previously deselected package libgnucrypto-java.
Unpacking libgnucrypto-java (from .../libgnucrypto-java_2.0.1-6_all.deb) ...
Selecting previously deselected package libjessie-java.
Unpacking libjessie-java (from .../libjessie-java_1.0.1-2_all.deb) ...
Selecting previously deselected package libgnuinet-java.
Unpacking libgnuinet-java (from .../libgnuinet-java_1.1.1-1_all.deb) ...
Selecting previously deselected package libgnujaf-java.
Unpacking libgnujaf-java (from .../libgnujaf-java_1.1-1_all.deb) ...
Selecting previously deselected package libgnumail-java.
Unpacking libgnumail-java (from .../libgnumail-java_1.1.1-2_all.deb) ...
Selecting previously deselected package libjaxp1.2-java.
Unpacking libjaxp1.2-java (from .../libjaxp1.2-java_1.2.01-1_all.deb) ...
Selecting previously deselected package libjdepend-java.
Unpacking libjdepend-java (from .../libjdepend-java_2.9-3_all.deb) ...
Selecting previously deselected package libjsch-java.
Unpacking libjsch-java (from .../libjsch-java_0.1.19-3_all.deb) ...
Selecting previously deselected package liblog4j1.2-java.
Unpacking liblog4j1.2-java (from .../liblog4j1.2-java_1.2.13-1_all.deb) ...
Selecting previously deselected package libxerces2-java.
Unpacking libxerces2-java (from .../libxerces2-java_2.6.2-4_all.deb) ...
Selecting previously deselected package libxalan2-java.
Unpacking libxalan2-java (from .../libxalan2-java_2.6.0-6_all.deb) ...
Selecting previously deselected package libxml-commons-resolver1.1-java.
Unpacking libxml-commons-resolver1.1-java (from .../libxml-commons-resolver1.1-java_1.1-6_all.deb) ...
Setting up libasound2 (1.0.11-7) ...

Setting up libglib2.0-0 (2.10.3-2) ...

Setting up libatk1.0-0 (1.11.4-2) ...

Setting up libexpat1 (1.95.8-3.2) ...

Setting up libfreetype6 (2.2.1-2) ...

Setting up ucf (2.0012) ...

Setting up libmagic1 (4.17-2) ...

Setting up file (4.17-2) ...
Setting up defoma (0.11.9) ...

Setting up ttf-dejavu (2.7-2) ...

Setting up fontconfig-config (2.3.2-7) ...

Setting up libfontconfig1 (2.3.2-7) ...

Setting up libpng12-0 (1.2.8rel-5.1) ...

Setting up libxau6 (1.0.0-3) ...

Setting up libxdmcp6 (1.0.0-4) ...

Setting up libx11-data (1.0.0-6) ...
Setting up libx11-6 (1.0.0-6) ...

Setting up libxrender1 (0.9.0.2-4) ...

Setting up libcairo2 (1.0.4-2) ...

Setting up libaudiofile0 (0.2.6-6) ...

Setting up esound-common (0.2.36-3) ...
Setting up libesd0 (0.2.36-3) ...

Setting up libgmp3c2 (4.2.dfsg-1) ...

Setting up fontconfig (2.3.2-7) ...
Updating font configuration of fontconfig...
Cleaning up category cid..
Cleaning up category truetype..
Cleaning up category type1..
Updating category type1..
Updating category truetype..
Updating category cid..
Regenerating fonts cache... done.

Setting up libxft2 (2.1.8.2-8) ...

Setting up libxfixes3 (3.0.1.2-4) ...

Setting up libxcursor1 (1.1.5.2-5) ...

Setting up libxext6 (1.0.0-4) ...

Setting up libxi6 (1.0.0-5) ...

Setting up libxinerama1 (1.0.1-4) ...

Setting up libxrandr2 (1.1.0.2-4) ...

Setting up libjpeg62 (6b-13) ...

Setting up libtiff4 (3.8.2-5) ...

Setting up libice6 (1.0.0-3) ...

Setting up libjack0.100.0-0 (0.101.1-1) ...

Setting up libsm6 (1.0.0-4) ...

Setting up libxtst6 (1.0.1-3) ...

Setting up gcj-4.1-base (4.1.1-5) ...
Setting up libgcj-common (4.1.1-5) ...

Setting up libgcj7 (4.1.1-5) ...

Setting up gij-4.1 (4.1.1-5) ...

Setting up libgcj7-jar (4.1.1-5) ...
Setting up ecj-bootstrap (3.1.2-6) ...

Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.14.6-1) ...

Setting up intltool-debian (0.34.2+20060621) ...
Setting up po-debconf (1.0.3) ...
Setting up debhelper (5.0.37.2) ...
Setting up antlr (2.7.6-6) ...
Setting up gjdoc (0.7.7-2) ...

Setting up fastjar (4.1.1-5) ...

Setting up cdbs (0.4.43) ...

Setting up junit (3.8.1.1-6) ...
Setting up libregexp-java (1.4-3) ...

Setting up libbcel-java (5.1-6) ...
Setting up libbsf-java (2.3.0+cvs20050308-6) ...

Setting up libcommons-logging-java (1.0.4-5) ...

Setting up liboro-java (2.0.8a-1) ...
Setting up libcommons-net-java (1.3.0-1) ...
Setting up libgnucrypto-java (2.0.1-6) ...
Setting up libjessie-java (1.0.1-2) ...
Setting up libgnuinet-java (1.1.1-1) ...

Setting up libgnujaf-java (1.1-1) ...
Setting up libgnumail-java (1.1.1-2) ...

Setting up libjaxp1.2-java (1.2.01-1) ...
Setting up libjdepend-java (2.9-3) ...
Setting up libjsch-java (0.1.19-3) ...
Setting up liblog4j1.2-java (1.2.13-1) ...
Setting up libxerces2-java (2.6.2-4) ...
Setting up libxalan2-java (2.6.0-6) ...
Setting up libxml-commons-resolver1.1-java (1.1-6) ...
Setting up libgtk2.0-common (2.8.18-1) ...
Setting up libpango1.0-common (1.12.3-1) ...
Updating the modules list for Pango-1.5.0...done.
Creating /etc/pango directory...done.
Cleaning up font configuration of pango...
Updating font configuration of pango...
Cleaning up category xfont..
Updating category xfont..
*** You don't have any defomized font packages.
*** So we are trying to force to generate pangox.aliases...

Setting up libpango1.0-0 (1.12.3-1) ...

Setting up libgtk2.0-bin (2.8.18-1) ...
Updating the IM modules list for GTK+-2.4.0...done.
Updating the gdk-pixbuf loaders list for GTK+-2.4.0...done.

Setting up libgtk2.0-0 (2.8.18-1) ...

Setting up kaffe-pthreads (1.1.7-3) ...

Setting up kaffe (1.1.7-3) ...

 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
ccache is already the newest version.
The following NEW packages will be installed:
  fakeroot
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/95.2kB of archives.
After unpacking 307kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  fakeroot
Selecting previously deselected package fakeroot.
(Reading database ... 17005 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.5.8_i386.deb) ...
Setting up fakeroot (1.5.8) ...

Copying back the cached apt archive contents
Copying source file
    -> copying [/home/jw2328/Install/temp/ant_1.6.5-5.dsc]
    -> copying [/home/jw2328/Install/temp/ant_1.6.5.orig.tar.gz]
    -> copying [/home/jw2328/Install/temp/ant_1.6.5-5.diff.gz]
Extracting source
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-source: warning: extracting unsigned source package (./ant_1.6.5-5.dsc)
dpkg-source: extracting ant in ant-1.6.5
dpkg-source: unpacking ant_1.6.5.orig.tar.gz
dpkg-source: applying ./ant_1.6.5-5.diff.gz
 -> Building the package
W: no hooks of type A found -- ignoring
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source package is ant
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: source version is 1.6.5-5
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 1.6.5-5
dpkg-checkbuilddeps: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
 fakeroot debian/rules clean
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
test -x debian/rules
test "`id -u`" = 0
dh_clean 
/usr/bin/make -f debian/rules reverse-config
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
make[1]: Entering directory `/tmp/buildd/ant-1.6.5'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/buildd/ant-1.6.5'
patches: debian/patches/01_ant_home_path.patch debian/patches/01_gjdoc_task.patch debian/patches/01_javadoc_maxmemory.patch debian/patches/02_ant_add_xerces.patch debian/patches/03_SplashTaskPatch_a.patch debian/patches/03_SplashTaskPatch_b.patch debian/patches/03_SplashTaskPatch_c.patch debian/patches/04_UUMailerReflection.patch debian/patches/05_TaskAvailabilityFix_ANT_PR38260.patch
Not reversing not applied patches.
if [ "reverse-patches" = "debian/stamp-patched" ] ; then touch debian/stamp-patched ; \
	elif [ "reverse-patches" = "reverse-patches" ] ; then rm -f debian/stamp-patch* ; \
	fi
if [ "reverse-patches" != "reverse-patches" ] ; then \
		/usr/bin/make -f debian/rules update-config ; \
	fi
for dir in debian/patches ; do \
	    rm -f $dir/*.log ; \
	done
rm -f gjdoc_rawcomment.cache
rm -rf bin bootstrap build lib/*.jar
 dpkg-source -b ant-1.6.5
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-source: building ant using existing ant_1.6.5.orig.tar.gz
dpkg-source: building ant in ant_1.6.5-5.diff.gz
dpkg-source: warning: ignoring deletion of file lib/xercesImpl.jar
dpkg-source: warning: ignoring deletion of file lib/xml-apis.jar
dpkg-source: warning: ignoring deletion of file src/main/org/apache/tools/ant/RuntimeConfigurable.java.orig
dpkg-source: building ant in ant_1.6.5-5.dsc
 debian/rules build
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
test -x debian/rules
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
make[1]: Entering directory `/tmp/buildd/ant-1.6.5'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/buildd/ant-1.6.5'
patches: debian/patches/01_ant_home_path.patch debian/patches/01_gjdoc_task.patch debian/patches/01_javadoc_maxmemory.patch debian/patches/02_ant_add_xerces.patch debian/patches/03_SplashTaskPatch_a.patch debian/patches/03_SplashTaskPatch_b.patch debian/patches/03_SplashTaskPatch_c.patch debian/patches/04_UUMailerReflection.patch debian/patches/05_TaskAvailabilityFix_ANT_PR38260.patch
Trying patch debian/patches/01_ant_home_path.patch at level 1...0...success.
Trying patch debian/patches/01_gjdoc_task.patch at level 1...0...success.
Trying patch debian/patches/01_javadoc_maxmemory.patch at level 1...0...success.
Trying patch debian/patches/02_ant_add_xerces.patch at level 1...0...success.
Trying patch debian/patches/03_SplashTaskPatch_a.patch at level 1...success.
Trying patch debian/patches/03_SplashTaskPatch_b.patch at level 1...0...success.
Trying patch debian/patches/03_SplashTaskPatch_c.patch at level 1...0...success.
Trying patch debian/patches/04_UUMailerReflection.patch at level 1...0...success.
Trying patch debian/patches/05_TaskAvailabilityFix_ANT_PR38260.patch at level 1...0...success.
if [ "debian/stamp-patched" = "debian/stamp-patched" ] ; then touch debian/stamp-patched ; \
	elif [ "debian/stamp-patched" = "reverse-patches" ] ; then rm -f debian/stamp-patch* ; \
	fi
if [ "debian/stamp-patched" != "reverse-patches" ] ; then \
		/usr/bin/make -f debian/rules update-config ; \
	fi
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of process (1234)
make[1]: Entering directory `/tmp/buildd/ant-1.6.5'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/tmp/buildd/ant-1.6.5'
# doing bootstrapping
ln -sf /usr/share/java/jaxp-1.2.jar lib/xml-apis.jar
ln -sf /usr/share/java/xercesImpl.jar lib/xercesImpl.jar
/bin/sh bootstrap.sh
... Bootstrapping Ant Distribution
... Compiling Ant Classes
... Copying Required Files
... Building Ant Distribution
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
   at gnu.classpath.SystemProperties.getProperty (SystemProperties.java:123)
   at java.lang.VMClassLoader.<clinit> (VMClassLoader.java:84)
   at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:155)
   at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:797)
   at gnu.classpath.VMSystemProperties.postInit (VMSystemProperties.java:native)
   at gnu.classpath.SystemProperties.<clinit> (SystemProperties.java:114)
   at java.lang.Runtime.<init> (Runtime.java:100)
   at java.lang.Runtime.<clinit> (Runtime.java:88)
   at java.lang.System.loadLibrary (System.java:560)
   at gnu.java.nio.channels.FileChannelImpl.<clinit> (FileChannelImpl.java:86)
   at java.io.FileDescriptor.<clinit> (FileDescriptor.java:64)
   at java.lang.VMSystem.makeStandardInputStream (VMSystem.java:191)
   at java.lang.System.<clinit> (System.java:74)
   at java.lang.Object.hashCode (Object.java:174)
   at java.util.Hashtable.hash (Hashtable.java:816)
   at java.util.Hashtable.put (Hashtable.java:426)
   at java.security.Permissions.add (Permissions.java:112)
bootstrap.sh: line 153: 19143 Aborted                 "${JAVACMD}" -classpath "${CLASSPATH}" -Dant.home=. $ANT_OPTS org.apache.tools.ant.Main -emacs "$@" bootstrap
... Failed Building Ant Distribution !
make: *** [build] Error 134
pbuilder: Failed autobuilding of package
You have the shell, use it wisely
type CTRL-D to exit
 -> user script /var/cache/pbuilder/build/cow.14950/tmp/hooks/C10_launch_shell finished
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> unmounting /var/cache/pbuilder/ccache filesystem
 -> Copying COW directory
 -> Invoking pbuilder
 -> Cleaning COW directory


More information about the pkg-java-maintainers mailing list