Bug#280904: commons-pool: FTBFS: NullPointerException, OutOfMemoryError
Kurt Roeckx
Kurt Roeckx <Q@ping.be>, 280904@bugs.debian.org
Fri Nov 12 06:48:20 2004
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: commons-pool
Version: 1.2-2
Severity: serious
The package is failing to build. I've attached the build log.
kurt
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="commons-pool_1.2-2_20041112-0714"
Automatic build of commons-pool_1.2-2 on debian by sbuild/i386 1.1.1.1
Build started at 20041112-0714
******************************************************************************
Checking available source versions...
Fetching source files...
Reading Package Lists...
Building Dependency Tree...
Need to get 273kB of source archives.
Get:1 ftp://ftp.belnet.be sarge/main commons-pool 1.2-2 (dsc) [797B]
Get:2 ftp://ftp.belnet.be sarge/main commons-pool 1.2-2 (tar) [270kB]
Get:3 ftp://ftp.belnet.be sarge/main commons-pool 1.2-2 (diff) [2994B]
Fetched 273kB in 1s (254kB/s)
Download complete and in download only mode
** Using build dependencies supplied by package:
Build-Depends-Indep: debhelper (>> 4.0.0), cdbs, kaffe (>= 1.1.3), libant1.5-java, libcommons-collections-java, junit, dpatch, jikes
Checking for already installed source dependencies...
debhelper: missing
cdbs: missing
kaffe: missing
libant1.5-java: missing
libcommons-collections-java: missing
junit: missing
dpatch: missing
jikes: missing
Checking for source dependency conflicts...
/usr/bin/sudo /usr/bin/apt-get --purge -q -y install debhelper cdbs kaffe libant1.5-java libcommons-collections-java junit dpatch jikes
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
debconf-utils fontconfig gettext gettext-base html2text intltool-debian
java-common kaffe-common kaffe-pthreads kjc libart-2.0-2 libatk1.0-0
libexpat1 libffi2 libfontconfig1 libfreetype6 libgtk2.0-0 libgtk2.0-bin
libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common libtiff4
libxcursor1 libxft2 libxi6 libxrandr2 libxrender1 po-debconf
ttf-bitstream-vera
Suggested packages:
dh-make cvs gettext-doc equivs libxerces-java libxerces2-java libbcel-java
libcommons-collections-java-doc libfreetype6-dev ttf-kochi-gothic
ttf-kochi-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp
ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp
Recommended packages:
autotools-dev patchutils jikes-gij jikes-kaffe jikes-sun jikes-classpath
jikes-sablevm libatk1.0-data x-ttcidfont-conf
The following NEW packages will be installed:
cdbs debconf-utils debhelper dpatch fontconfig gettext gettext-base html2text
intltool-debian java-common jikes junit kaffe kaffe-common kaffe-pthreads kjc
libant1.5-java libart-2.0-2 libatk1.0-0 libcommons-collections-java libexpat1
libffi2 libfontconfig1 libfreetype6 libgtk2.0-0 libgtk2.0-bin
libgtk2.0-common libjpeg62 libpango1.0-0 libpango1.0-common libtiff4
libxcursor1 libxft2 libxi6 libxrandr2 libxrender1 po-debconf
ttf-bitstream-vera
0 upgraded, 38 newly installed, 0 to remove and 1 not upgraded.
Need to get 684kB/18.5MB of archives.
After unpacking 40.3MB of additional disk space will be used.
Get:1 ftp://ftp.belnet.be sarge/main junit 3.8.1.1-2 [71.5kB]
Get:2 ftp://ftp.belnet.be sarge/main libant1.5-java 1.5.4-4 [613kB]
Fetched 684kB in 1s (376kB/s)
Selecting previously deselected package gettext-base.
(Reading database ... 21908 files and directories currently installed.)
Unpacking gettext-base (from .../gettext-base_0.14.1-6_i386.deb) ...
Selecting previously deselected package cdbs.
Unpacking cdbs (from .../archives/cdbs_0.4.25-1_all.deb) ...
Selecting previously deselected package debconf-utils.
Unpacking debconf-utils (from .../debconf-utils_1.4.30.10_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-1_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.14.1-6_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.30+20040213_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_0.8.14_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_4.2.23_all.deb) ...
Selecting previously deselected package dpatch.
Unpacking dpatch (from .../archives/dpatch_2.0.10_all.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_1.95.8-1_i386.deb) ...
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.1.7-2.2_i386.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.2.3-3_i386.deb) ...
Selecting previously deselected package ttf-bitstream-vera.
Unpacking ttf-bitstream-vera (from .../ttf-bitstream-vera_1.10-3_all.deb) ...
Selecting previously deselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.2.3-3_i386.deb) ...
Selecting previously deselected package java-common.
Unpacking java-common (from .../java-common_0.22_all.deb) ...
Selecting previously deselected package jikes.
Unpacking jikes (from .../jikes_1%3a1.22-1_i386.deb) ...
Selecting previously deselected package libart-2.0-2.
Unpacking libart-2.0-2 (from .../libart-2.0-2_2.3.16-6_i386.deb) ...
Selecting previously deselected package libatk1.0-0.
Unpacking libatk1.0-0 (from .../libatk1.0-0_1.6.1-5_i386.deb) ...
Selecting previously deselected package libffi2.
Unpacking libffi2 (from .../libffi2_1%3a3.3.4-13_i386.deb) ...
Selecting previously deselected package libgtk2.0-common.
Unpacking libgtk2.0-common (from .../libgtk2.0-common_2.4.13-1_all.deb) ...
Selecting previously deselected package libpango1.0-common.
Unpacking libpango1.0-common (from .../libpango1.0-common_1.4.1-4_i386.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_0.8.3-7_i386.deb) ...
Selecting previously deselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.1.2-6_i386.deb) ...
Selecting previously deselected package libpango1.0-0.
Unpacking libpango1.0-0 (from .../libpango1.0-0_1.4.1-4_i386.deb) ...
Selecting previously deselected package libxcursor1.
Unpacking libxcursor1 (from .../libxcursor1_1.1.3-1_i386.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_4.3.0.dfsg.1-8_i386.deb) ...
Selecting previously deselected package libxrandr2.
Unpacking libxrandr2 (from .../libxrandr2_4.3.0.dfsg.1-8_i386.deb) ...
Selecting previously deselected package libgtk2.0-bin.
Unpacking libgtk2.0-bin (from .../libgtk2.0-bin_2.4.13-1_i386.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b-9_i386.deb) ...
Selecting previously deselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.6.1-3_i386.deb) ...
Selecting previously deselected package libgtk2.0-0.
Unpacking libgtk2.0-0 (from .../libgtk2.0-0_2.4.13-1_i386.deb) ...
Selecting previously deselected package kjc.
Unpacking kjc (from .../kjc_2%3a1.1.4.PRECVS3-20041030_all.deb) ...
Selecting previously deselected package kaffe-common.
Unpacking kaffe-common (from .../kaffe-common_2%3a1.1.4.PRECVS3-20041030_all.deb) ...
Selecting previously deselected package kaffe-pthreads.
Unpacking kaffe-pthreads (from .../kaffe-pthreads_2%3a1.1.4.PRECVS3-20041030_i386.deb) ...
Selecting previously deselected package kaffe.
Unpacking kaffe (from .../kaffe_2%3a1.1.4.PRECVS3-20041030_all.deb) ...
Selecting previously deselected package junit.
Unpacking junit (from .../junit_3.8.1.1-2_all.deb) ...
Selecting previously deselected package libant1.5-java.
Unpacking libant1.5-java (from .../libant1.5-java_1.5.4-4_all.deb) ...
Selecting previously deselected package libcommons-collections-java.
Unpacking libcommons-collections-java (from .../libcommons-collections-java_2.1.1-3_all.deb) ...
Setting up gettext-base (0.14.1-6) ...
Setting up cdbs (0.4.25-1) ...
Setting up debconf-utils (1.4.30.10) ...
Setting up html2text (1.3.2a-1) ...
Setting up gettext (0.14.1-6) ...
Setting up intltool-debian (0.30+20040213) ...
Setting up po-debconf (0.8.14) ...
Setting up debhelper (4.2.23) ...
Setting up dpatch (2.0.10) ...
Setting up libexpat1 (1.95.8-1) ...
Setting up libfreetype6 (2.1.7-2.2) ...
Setting up ttf-bitstream-vera (1.10-3) ...
Regenerating fonts cache... done.
Setting up java-common (0.22) ...
Setting up jikes (1.22-1) ...
Setting up libart-2.0-2 (2.3.16-6) ...
Setting up libatk1.0-0 (1.6.1-5) ...
Setting up libffi2 (3.3.4-13) ...
Setting up libxrender1 (0.8.3-7) ...
Setting up libxcursor1 (1.1.3-1) ...
Setting up libxi6 (4.3.0.dfsg.1-8) ...
Setting up libxrandr2 (4.3.0.dfsg.1-8) ...
Setting up libjpeg62 (6b-9) ...
Setting up libtiff4 (3.6.1-3) ...
Setting up kjc (1.1.4.PRECVS3-20041030) ...
Setting up kaffe-common (1.1.4.PRECVS3-20041030) ...
Setting up fontconfig (2.2.3-3) ...
Creating config file /etc/fonts/local.conf with new version
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 libfontconfig1 (2.2.3-3) ...
Setting up libxft2 (2.1.2-6) ...
Setting up libpango1.0-0 (1.4.1-4) ...
Setting up libgtk2.0-bin (2.4.13-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-common (2.4.13-1) ...
Setting up libpango1.0-common (1.4.1-4) ...
Updating the modules list for Pango-1.4.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 libgtk2.0-0 (2.4.13-1) ...
Setting up kaffe-pthreads (1.1.4.PRECVS3-20041030) ...
Setting up kaffe (1.1.4.PRECVS3-20041030) ...
Setting up junit (3.8.1.1-2) ...
Setting up libant1.5-java (1.5.4-4) ...
Setting up libcommons-collections-java (2.1.1-3) ...
Checking correctness of source dependencies...
------------------------------------------------------------------------------
dpkg-source: extracting commons-pool in commons-pool-1.2
dpkg-buildpackage: source package is commons-pool
dpkg-buildpackage: source version is 1.2-2
dpkg-buildpackage: host architecture is i386
/usr/bin/fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
if test -n "" && test "" != "."; then rmdir ""; fi
if test "." != "."; then rmdir .; fi
dh_clean
cd . && /usr/lib/kaffe/bin/java -classpath /usr/share/ant1.5/lib/ant.jar:/usr/share/java/commons-collections.jar:/usr/share/java/junit.jar: -Dant.home=/usr/share/ant1.5 org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true -Dbuild.compiler=jikes clean || true
Buildfile: build.xml
init:
clean:
BUILD SUCCESSFUL
Total time: 0 seconds
rm -f debian/stamp-ant-build
rm debian/libcommons-pool-java.links
rm: cannot remove `debian/libcommons-pool-java.links': No such file or directory
make: [clean] Error 1 (ignored)
debian/rules build
test -x debian/rules
if [ -n "" ]; then \
mkdir -p ""; \
fi
if [ ! -d "." ]; then \
mkdir -p "."; \
fi
if [ -z "" ]; then \
if ! test -f debian/compat; then echo 4 > debian/compat; fi; \
fi
cd . && /usr/lib/kaffe/bin/java -classpath /usr/share/ant1.5/lib/ant.jar:/usr/share/java/commons-collections.jar:/usr/share/java/junit.jar: -Dant.home=/usr/share/ant1.5 org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true -Dbuild.compiler=jikes dist
Buildfile: build.xml
init:
clean:
compile:
[mkdir] Created dir: /root/build/commons-pool-1.2/build/classes
[javac] Compiling 19 source files to /root/build/commons-pool-1.2/build/classes
[javac] Issued 3 lexical warnings in "/root/build/commons-pool-1.2/src/java/org/apache/commons/pool/impl/StackObjectPool.java":
[javac] 199. Enumeration enum = _pool.elements();
[javac] ^--^
[javac] *** Lexical Warning: The use of "enum" as an identifier is deprecated, as it will be a keyword once -source 1.5 is implemented.
[javac] 200. while(enum.hasMoreElements()) {
[javac] ^--^
[javac] *** Lexical Warning: The use of "enum" as an identifier is deprecated, as it will be a keyword once -source 1.5 is implemented.
[javac] 202. _factory.destroyObject(enum.nextElement());
[javac] ^--^
[javac] *** Lexical Warning: The use of "enum" as an identifier is deprecated, as it will be a keyword once -source 1.5 is implemented.
[javac] Issued 3 lexical warnings in "/root/build/commons-pool-1.2/src/java/org/apache/commons/pool/impl/StackKeyedObjectPool.java":
[javac] 238. Enumeration enum = stack.elements();
[javac] ^--^
[javac] *** Lexical Warning: The use of "enum" as an identifier is deprecated, as it will be a keyword once -source 1.5 is implemented.
[javac] 239. while(enum.hasMoreElements()) {
[javac] ^--^
[javac] *** Lexical Warning: The use of "enum" as an identifier is deprecated, as it will be a keyword once -source 1.5 is implemented.
[javac] 241. _factory.destroyObject(key,enum.nextElement());
[javac] ^--^
[javac] *** Lexical Warning: The use of "enum" as an identifier is deprecated, as it will be a keyword once -source 1.5 is implemented.
build-jar:
[mkdir] Created dir: /root/build/commons-pool-1.2/dist
[jar] Building jar: /root/build/commons-pool-1.2/dist/commons-pool.jar
BUILD FAILED
java.lang.NullPointerException
at org.apache.tools.zip.ZipOutputStream.writeCentralFileHeader (ZipOutputStream.java:588)
at org.apache.tools.zip.ZipOutputStream.finish (ZipOutputStream.java:260)
at java.util.zip.DeflaterOutputStream.close (DeflaterOutputStream.java:44)
at org.apache.tools.ant.taskdefs.Zip.execute (Zip.java:453)
at org.apache.tools.ant.Task.perform (Task.java:341)
at org.apache.tools.ant.Target.execute (Target.java:309)
at org.apache.tools.ant.Target.performTasks (Target.java:336)
at org.apache.tools.ant.Project.executeTarget (Project.java:1339)
at org.apache.tools.ant.Project.executeTargets (Project.java:1255)
at org.apache.tools.ant.Main.runBuild (Main.java:609)
at org.apache.tools.ant.Main.start (Main.java:196)
at org.apache.tools.ant.Main.main (Main.java:235)
Total time: 0 seconds
java.lang.OutOfMemoryError
at java.lang.StringBuffer.ensureCapacity_unsynchronized (StringBuffer.java:902)
at java.lang.StringBuffer.append (StringBuffer.java:313)
at java.lang.StackTraceElement.toString (StackTraceElement.java:193)
at java.lang.Throwable.stackTraceStringBuffer (Throwable.java:481)
at java.lang.Throwable.stackTraceString (Throwable.java:422)
at java.lang.Throwable.printStackTrace (Throwable.java:361)
at java.lang.Throwable.printStackTrace (Throwable.java:350)
at org.apache.tools.ant.Main.start (Main.java:204)
at org.apache.tools.ant.Main.main (Main.java:235)
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
make: *** [debian/stamp-ant-build] Error 134
******************************************************************************
Build finished at 20041112-0714
FAILED [dpkg-buildpackage died]
Purging commons-pool-1.2
------------------------------------------------------------------------------
/usr/bin/sudo dpkg --purge libant1.5-java gettext libpango1.0-common dpatch fontconfig debconf-utils po-debconf ttf-bitstream-vera libcommons-collections-java libxi6 libfreetype6 kaffe-common libjpeg62 jikes libatk1.0-0 kaffe libxcursor1 libgtk2.0-0 intltool-debian libxrender1 libgtk2.0-bin junit libpango1.0-0 cdbs html2text libgtk2.0-common gettext-base libxrandr2 debhelper libfontconfig1 kaffe-pthreads libffi2 libxft2 libart-2.0-2 libtiff4 libexpat1 java-common kjc
(Reading database ... 23215 files and directories currently installed.)
Removing libant1.5-java ...
Removing dpatch ...
Purging configuration files for dpatch ...
Removing libcommons-collections-java ...
Removing jikes ...
Removing kaffe ...
Removing junit ...
Removing cdbs ...
Removing debhelper ...
Removing kaffe-pthreads ...
Removing libffi2 ...
Purging configuration files for libffi2 ...
Removing libart-2.0-2 ...
Purging configuration files for libart-2.0-2 ...
Removing debconf-utils ...
Removing po-debconf ...
Removing kaffe-common ...
Removing intltool-debian ...
Removing html2text ...
Purging configuration files for html2text ...
Removing kjc ...
Removing gettext ...
Removing gettext-base ...
Removing java-common ...
Removing libgtk2.0-bin ...
Purging configuration files for libgtk2.0-bin ...
Removing libpango1.0-common ...
Purging font configuration of pango...
Purging category xfont..
Purging configuration files for libpango1.0-common ...
Removing fontconfig ...
Purging font configuration of fontconfig...
Purging category cid..
Purging category truetype..
Purging category type1..
Purging configuration files for fontconfig ...
Removing ttf-bitstream-vera ...
Purging configuration files for ttf-bitstream-vera ...
Removing libgtk2.0-0 ...
Purging configuration files for libgtk2.0-0 ...
Removing libpango1.0-0 ...
Purging configuration files for libpango1.0-0 ...
Removing libgtk2.0-common ...
Removing libxrandr2 ...
Purging configuration files for libxrandr2 ...
Removing libxft2 ...
Purging configuration files for libxft2 ...
Removing libtiff4 ...
Removing libxi6 ...
Purging configuration files for libxi6 ...
Removing libjpeg62 ...
Removing libatk1.0-0 ...
Purging configuration files for libatk1.0-0 ...
Removing libxcursor1 ...
Purging configuration files for libxcursor1 ...
Removing libxrender1 ...
Purging configuration files for libxrender1 ...
Removing libfontconfig1 ...
Purging configuration files for libfontconfig1 ...
Removing libexpat1 ...
Purging configuration files for libexpat1 ...
Removing libfreetype6 ...
Purging configuration files for libfreetype6 ...
******************************************************************************
Finished at 20041112-0714
Build needed 00:00:02, 1016k disk space
--IJpNTDwzlM2Ie8A6--