Bug#429474: liboro-java: FTBFS: Unable to find a javac compiler

Martin Pitt mpitt at debian.org
Mon Jun 18 10:00:47 UTC 2007


Package: liboro-java
Version: 2.0.8a-2
Severity: serious

Hi!

This package does not build on current sid:

---- snip ---
prepare:
    [mkdir] Created dir: /tmp/buildd/liboro-java-2.0.8a/classes
    [mkdir] Created dir: /tmp/buildd/liboro-java-2.0.8a/classes/META-INF
     [copy] Copying 1 file to /tmp/buildd/liboro-java-2.0.8a/classes/META-INF
    [mkdir] Created dir: /tmp/buildd/liboro-java-2.0.8a/classes/tests

lib:
    [javac] Compiling 61 source files to /tmp/buildd/liboro-java-2.0.8a/classes

BUILD FAILED
/tmp/buildd/liboro-java-2.0.8a/build.xml:84: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
---- snip ---

I attach the full build log FYI.

Thanks,

Martin
-- 
Martin Pitt              http://www.piware.de
Ubuntu Developer   http://www.ubuntulinux.org
Debian Developer        http://www.debian.org
-------------- next part --------------
Selecting previously deselected package libmagic1.
(Reading database ... 12441 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.21-1_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.21-1_i386.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.16.1-1_i386.deb) ...
Selecting previously deselected package java-common.
Unpacking java-common (from .../java-common_0.25_all.deb) ...
Selecting previously deselected package gcj-4.1-base.
Unpacking gcj-4.1-base (from .../gcj-4.1-base_4.1.2-12_i386.deb) ...
Selecting previously deselected package libgcj-common.
Unpacking libgcj-common (from .../libgcj-common_1%3a4.2-20070303-2_i386.deb) ...
Selecting previously deselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.14a-1_i386.deb) ...
Selecting previously deselected package libgcj7-1.
Unpacking libgcj7-1 (from .../libgcj7-1_4.1.2-12_i386.deb) ...
Selecting previously deselected package gij-4.1.
Unpacking gij-4.1 (from .../gij-4.1_4.1.2-12_i386.deb) ...
Selecting previously deselected package fastjar.
Unpacking fastjar (from .../fastjar_2%3a0.95-1_i386.deb) ...
Selecting previously deselected package libgcj-bc.
Unpacking libgcj-bc (from .../libgcj-bc_4.1.2-2_i386.deb) ...
Selecting previously deselected package libgcj7-jar.
Unpacking libgcj7-jar (from .../libgcj7-jar_4.1.2-12_all.deb) ...
Selecting previously deselected package liblog4j1.2-java.
Unpacking liblog4j1.2-java (from .../liblog4j1.2-java_1.2.13-3_all.deb) ...
Selecting previously deselected package libregexp-java.
Unpacking libregexp-java (from .../libregexp-java_1.4-4_all.deb) ...
Selecting previously deselected package libbcel-java.
Unpacking libbcel-java (from .../libbcel-java_5.2-2_all.deb) ...
Selecting previously deselected package libmx4j-java.
Unpacking libmx4j-java (from .../libmx4j-java_3.0.1-3_all.deb) ...
Selecting previously deselected package java-gcj-compat.
Unpacking java-gcj-compat (from .../java-gcj-compat_1.0.76-2_i386.deb) ...
Selecting previously deselected package libjaxp1.3-java.
Unpacking libjaxp1.3-java (from .../libjaxp1.3-java_1.3.03-5_all.deb) ...
Selecting previously deselected package libxerces2-java.
Unpacking libxerces2-java (from .../libxerces2-java_2.8.1-2_all.deb) ...
Selecting previously deselected package ant.
Unpacking ant (from .../archives/ant_1.6.5-6_all.deb) ...
Selecting previously deselected package cdbs.
Unpacking cdbs (from .../archives/cdbs_0.4.49_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.16.1-1_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.9_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.50_all.deb) ...
Setting up libmagic1 (4.21-1) ...

Setting up file (4.21-1) ...
Setting up gettext-base (0.16.1-1) ...

Setting up java-common (0.25) ...

Setting up gcj-4.1-base (4.1.2-12) ...
Setting up libgcj-common (1:4.2-20070303-2) ...

Setting up libasound2 (1.0.14a-1) ...

Setting up libgcj7-1 (4.1.2-12) ...

Setting up gij-4.1 (4.1.2-12) ...

Setting up fastjar (2:0.95-1) ...

Setting up libgcj-bc (4.1.2-2) ...
Setting up libgcj7-jar (4.1.2-12) ...
Setting up libregexp-java (1.4-4) ...

Setting up libbcel-java (5.2-2) ...
Setting up liblog4j1.2-java (1.2.13-3) ...
Setting up libjaxp1.3-java (1.3.03-5) ...
Setting up libxerces2-java (2.8.1-2) ...
Setting up ant (1.6.5-6) ...
Setting up cdbs (0.4.49) ...

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

Setting up gettext (0.16.1-1) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.9) ...
Setting up debhelper (5.0.50) ...
Setting up libmx4j-java (3.0.1-3) ...
Setting up java-gcj-compat (1.0.76-2) ...

 -> Finished parsing the build-deps

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 64%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

Reading state information... 4%

Reading state information... Done

The following NEW packages will be installed:
  fakeroot
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/108kB of archives.
After unpacking 434kB of additional disk space will be used.


debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package fakeroot.
(Reading database ... 13493 files and directories currently installed.)
Unpacking fakeroot (from .../fakeroot_1.7.1_i386.deb) ...
Setting up fakeroot (1.7.1) ...

Copying back the cached apt archive contents
 -> new cache content gij-4.1_4.1.2-12_i386.deb added
 -> new cache content libgcj7-1_4.1.2-12_i386.deb added
 -> new cache content gcj-4.1-base_4.1.2-12_i386.deb added
 -> new cache content libgcj-bc_4.1.2-2_i386.deb added
 -> new cache content libxerces2-java_2.8.1-2_all.deb added
 -> new cache content liblog4j1.2-java_1.2.13-3_all.deb added
 -> new cache content java-gcj-compat_1.0.76-2_i386.deb added
 -> new cache content libbcel-java_5.2-2_all.deb added
 -> new cache content libasound2_1.0.14a-1_i386.deb added
 -> new cache content fastjar_2%3a0.95-1_i386.deb added
 -> new cache content java-common_0.25_all.deb added
 -> new cache content libgcj7-jar_4.1.2-12_all.deb added
 -> new cache content libgcj-common_1%3a4.2-20070303-2_i386.deb added
 -> new cache content libmx4j-java_3.0.1-3_all.deb added
 -> new cache content po-debconf_1.0.9_all.deb added
 -> new cache content libjaxp1.3-java_1.3.03-5_all.deb added
 -> new cache content libregexp-java_1.4-4_all.deb added
 -> new cache content ant_1.6.5-6_all.deb added
Copying source file
    -> copying [liboro-java_2.0.8a-2.dsc]
    -> copying [./liboro-java_2.0.8a.orig.tar.gz]
    -> copying [./liboro-java_2.0.8a-2.diff.gz]
Extracting source
su: Authentication service cannot retrieve authentication info.
(Ignored)
gpg: can't open `/gnupg/options.skel': No such file or directory
gpg: Signature made Sun Jun 17 18:55:15 2007 GMT using DSA key ID 2763483B
gpg: Can't check signature: public key not found
dpkg-source: extracting liboro-java in liboro-java-2.0.8a
dpkg-source: unpacking liboro-java_2.0.8a.orig.tar.gz
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using uid of process (1000)
dpkg-source: applying ./liboro-java_2.0.8a-2.diff.gz
 -> Building the package
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-buildpackage: source package is liboro-java
dpkg-buildpackage: source version is 2.0.8a-2
dpkg-buildpackage: source changed by Michael Koch <konqueror at gmx.de>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 2.0.8a-2
 fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/tmp/buildd/liboro-java-2.0.8a'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/buildd/liboro-java-2.0.8a'
if [ "reverse-patches" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/01-build-xml-dont-replace-non-existing-file.patch
Patch debian/patches/01-build-xml-dont-replace-non-existing-file.patch is not applied.
if [ "reverse-patches" != "reverse-patches" ]; then touch debian/stamp-patched; 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
dh_clean 
cd . && /usr/lib/jvm/java-gcj/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true     clean
Buildfile: build.xml

clean:
   [delete] Deleting directory /tmp/buildd/liboro-java-2.0.8a/docs/api

BUILD SUCCESSFUL
Total time: 1 second
rm -f debian/stamp-ant-build
 dpkg-source -b liboro-java-2.0.8a
dpkg-source: building liboro-java using existing liboro-java_2.0.8a.orig.tar.gz
dpkg-source: building liboro-java in liboro-java_2.0.8a-2.diff.gz
dpkg-source: warning: ignoring deletion of directory docs/api
dpkg-source: building liboro-java in liboro-java_2.0.8a-2.dsc
 debian/rules build
test -x debian/rules
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/tmp/buildd/liboro-java-2.0.8a'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/tmp/buildd/liboro-java-2.0.8a'
if [ "debian/stamp-patched" = "reverse-patches" ]; then rm -f debian/stamp-patched; fi
patches: debian/patches/01-build-xml-dont-replace-non-existing-file.patch
Trying patch debian/patches/01-build-xml-dont-replace-non-existing-file.patch at level 1 ... 0 ... success.
if [ "debian/stamp-patched" != "reverse-patches" ]; then touch debian/stamp-patched; fi
if [ "debian/stamp-patched" != "reverse-patches" ] ; then \
		/usr/bin/make -f debian/rules update-config ; \
	fi
make[1]: Entering directory `/tmp/buildd/liboro-java-2.0.8a'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/tmp/buildd/liboro-java-2.0.8a'
cd . && /usr/lib/jvm/java-gcj/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true     jar javadocs
Buildfile: build.xml

prepare:
    [mkdir] Created dir: /tmp/buildd/liboro-java-2.0.8a/classes
    [mkdir] Created dir: /tmp/buildd/liboro-java-2.0.8a/classes/META-INF
     [copy] Copying 1 file to /tmp/buildd/liboro-java-2.0.8a/classes/META-INF
    [mkdir] Created dir: /tmp/buildd/liboro-java-2.0.8a/classes/tests

lib:
    [javac] Compiling 61 source files to /tmp/buildd/liboro-java-2.0.8a/classes

BUILD FAILED
/tmp/buildd/liboro-java-2.0.8a/build.xml:84: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Total time: 1 second
make: *** [debian/stamp-ant-build] Error 1
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env 
    -> removing directory /var/cache/pbuilder/build//4296 and its subdirectories
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20070618/d8654494/attachment.pgp 


More information about the pkg-java-maintainers mailing list