Bug#257780: FTBFS: missing java classes

Goswin Brederlow Goswin Brederlow <brederlo@informatik.uni-tuebingen.de>, 257780@bugs.debian.org
Mon Jul 5 18:24:01 2004


This is a multi-part MIME message sent by reportbug.

--===============1711447772==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: commons-pool
Severity: important
Justification: fails to build from source

Hi,

commons-pool fails to build from source on amd64 due to missing java
classes. Could it be that the build-depends are incomplete or is a
broken kaffe?

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
Couldn't find or load essential class `java/lang/Object' java.lang.ClassNotFound Exception java/lang/Object
make: *** [debian/stamp-ant-build] Error 134

MfG
	Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=de_DE

--===============1711447772==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="build-20040705-2137.log"

Automatic build of commons-pool_1.2-1 on dual by sbuild/amd64 1.169
Build started at 20040705-2137
******************************************************************************
Checking available source versions...
Fetching source files...
Reading Package Lists...
Building Dependency Tree...
Need to get 273kB of source archives.
Get:1 copy: sid/main commons-pool 1.2-1 (dsc) [790B]
Get:2 copy: sid/main commons-pool 1.2-1 (tar) [270kB]
Get:3 copy: sid/main commons-pool 1.2-1 (diff) [2926B]
Fetched 273kB in 0s (1358kB/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
Checking for already installed source dependencies...
debhelper: already installed (in sufficient version 4.2.12 >> 4.0.0)
cdbs: missing
kaffe: missing
libant1.5-java: missing
libcommons-collections-java: missing
junit: missing
dpatch: missing
Checking for source dependency conflicts...
  /usr/bin/sudo /usr/bin/apt-get --purge  -q -y install cdbs kaffe libant1.5-java libcommons-collections-java junit dpatch
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  java-common kaffe-common kaffe-pthreads kjc libffi2 libgmp3 libice6 libjpeg62
  libpng12-0 libsm6 libungif4g libx11-6 libxext6 xfree86-common xlibs-data
Suggested packages:
  equivs jikes libxerces-java libxerces2-java libbcel-java
  libcommons-collections-java-doc x-window-system-core x-window-system
Recommended packages:
  autotools-dev patchutils
The following NEW packages will be installed:
  cdbs dpatch java-common junit kaffe kaffe-common kaffe-pthreads kjc
  libant1.5-java libcommons-collections-java libffi2 libgmp3 libice6 libjpeg62
  libpng12-0 libsm6 libungif4g libx11-6 libxext6 xfree86-common xlibs-data
debconf: Please do not capitalize the first letter of the debconf frontend.
Preconfiguring packages ...
0 upgraded, 21 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/6413kB of archives.
After unpacking 18.3MB of additional disk space will be used.
Selecting previously deselected package cdbs.
(Reading database ... 12863 files and directories currently installed.)
Unpacking cdbs (from .../cdbs_0.4.21-0.1_all.deb) ...
Selecting previously deselected package dpatch.
Unpacking dpatch (from .../archives/dpatch_2.0.8_all.deb) ...
Selecting previously deselected package java-common.
Unpacking java-common (from .../java-common_0.22_all.deb) ...
Selecting previously deselected package libffi2.
Unpacking libffi2 (from .../libffi2_1%3a3.3.4-2_amd64.deb) ...
Selecting previously deselected package libgmp3.
Unpacking libgmp3 (from .../libgmp3_4.1.3-1_amd64.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_4.3.0.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b-9_amd64.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.5.0-6_amd64.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_4.3.0.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libungif4g.
Unpacking libungif4g (from .../libungif4g_4.1.0b1-6_amd64.deb) ...
Selecting previously deselected package xfree86-common.
Unpacking xfree86-common (from .../xfree86-common_4.3.0.dfsg.1-5_all.deb) ...
Selecting previously deselected package xlibs-data.
Unpacking xlibs-data (from .../xlibs-data_4.3.0.dfsg.1-5_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_4.3.0.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_4.3.0.dfsg.1-5_amd64.deb) ...
Selecting previously deselected package kjc.
Unpacking kjc (from .../kjc_2%3a1.1.4.PRE1.1.5-6_all.deb) ...
Selecting previously deselected package kaffe-common.
Unpacking kaffe-common (from .../kaffe-common_2%3a1.1.4.PRE1.1.5-6_all.deb) ...
Selecting previously deselected package kaffe-pthreads.
Unpacking kaffe-pthreads (from .../kaffe-pthreads_2%3a1.1.4.PRE1.1.5-6_amd64.deb) ...
Selecting previously deselected package kaffe.
Unpacking kaffe (from .../kaffe_2%3a1.1.4.PRE1.1.5-6_all.deb) ...
Selecting previously deselected package junit.
Unpacking junit (from .../junit_3.8.1.1-1_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-2_all.deb) ...
Setting up cdbs (0.4.21-0.1) ...
Setting up dpatch (2.0.8) ...
Setting up java-common (0.22) ...

Setting up libffi2 (3.3.4-2) ...

Setting up libgmp3 (4.1.3-1) ...

Setting up libice6 (4.3.0.dfsg.1-5) ...

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

Setting up libpng12-0 (1.2.5.0-6) ...

Setting up libsm6 (4.3.0.dfsg.1-5) ...

Setting up libungif4g (4.1.0b1-6) ...

Setting up xfree86-common (4.3.0.dfsg.1-5) ...
 Adding system startup for /etc/init.d/xfree86-common ...
   /etc/rcS.d/S70xfree86-common -> ../init.d/xfree86-common
Setting up X server socket directory /tmp/.X11-unix...done.
Setting up ICE socket directory /tmp/.ICE-unix...done.

Setting up xlibs-data (4.3.0.dfsg.1-5) ...

Setting up libx11-6 (4.3.0.dfsg.1-5) ...

Setting up libxext6 (4.3.0.dfsg.1-5) ...

Setting up kjc (1.1.4.PRE1.1.5-6) ...
Setting up kaffe-common (1.1.4.PRE1.1.5-6) ...
Setting up kaffe-pthreads (1.1.4.PRE1.1.5-6) ...

Setting up kaffe (1.1.4.PRE1.1.5-6) ...

Setting up junit (3.8.1.1-1) ...

Setting up libant1.5-java (1.5.4-4) ...
Setting up libcommons-collections-java (2.1-2) ...
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-1
dpkg-buildpackage: host architecture is amd64
 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
Couldn't find or load essential class `java/lang/Object' java.lang.ClassNotFoundException java/lang/Object
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
Couldn't find or load essential class `java/lang/Object' java.lang.ClassNotFoundException java/lang/Object
make: *** [debian/stamp-ant-build] Error 134
******************************************************************************
Build finished at 20040705-2137
FAILED [dpkg-buildpackage died]
------------------------------------------------------------------------------
  /usr/bin/sudo dpkg  --purge libant1.5-java libgmp3 junit dpatch cdbs libungif4g libffi2 kaffe-pthreads xfree86-common libcommons-collections-java libsm6 xlibs-data libxext6 kaffe-common libjpeg62 libpng12-0 kaffe libx11-6 java-common libice6 kjc
(Reading database ... 13693 files and directories currently installed.)
Removing libant1.5-java ...
Removing junit ...
Removing dpatch ...
Purging configuration files for dpatch ...
Removing cdbs ...
Removing libcommons-collections-java ...
Removing kaffe ...
Removing kaffe-pthreads ...
Removing libsm6 ...
Purging configuration files for libsm6 ...
Removing libxext6 ...
Purging configuration files for libxext6 ...
Removing kaffe-common ...
Removing libjpeg62 ...
Removing libpng12-0 ...
Purging configuration files for libpng12-0 ...
Removing libx11-6 ...
Purging configuration files for libx11-6 ...
Removing libice6 ...
Purging configuration files for libice6 ...
Removing kjc ...
Removing libgmp3 ...
Purging configuration files for libgmp3 ...
Removing libungif4g ...
Purging configuration files for libungif4g ...
Removing libffi2 ...
Purging configuration files for libffi2 ...
Removing xfree86-common ...
Purging configuration files for xfree86-common ...
 Removing any system startup links for /etc/init.d/xfree86-common ...
   /etc/rcS.d/S70xfree86-common
Removing xlibs-data ...
Purging configuration files for xlibs-data ...
Removing java-common ...

--===============1711447772==--