[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: db5.1 build fails with configure: error: The Java compiler javac failed (see config.log, check the CLASSPATH?)



On Thu, Apr 21, 2011 at 23:38, Aurelien Jarno <aurelien@aurel32.net> wrote:
> On Thu, Apr 21, 2011 at 02:44:12PM +0200, Ondřej Surý wrote:
>> Hi,
>>
>> I need a help with java build on mips, the db5.1 build fails with:
>>
>> checking SOSUFFIX from libtool... .so
>> checking MODSUFFIX from libtool... .so
>> checking JMODSUFFIX from libtool... .so
>> checking for javac... javac
>> configure: error: The Java compiler javac failed (see config.log,
>> check the CLASSPATH?)
>> dh_auto_configure: ../dist/configure --build=mips-linux-gnu
>> --prefix=/usr --includedir=${prefix}/include
>> --mandir=${prefix}/share/man --infodir=${prefix}/share/info
>> --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/db
>> --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr
>> --mandir=${prefix}/share/man --localstatedir=/var --sysconfdir=/etc
>> --libexecdir=/usr/lib --enable-cxx --enable-compat185 --enable-sql
>> --enable-stl --enable-tcl --enable-java --with-tcl=/usr/lib
>> --enable-test returned exit code 1
>> make[1]: *** [override_dh_auto_configure] Error 2
>> checking if javac works... make[1]: Leaving directory
>> `/build/buildd2-db_5.1.25-7-mips-HWTzBc/db-5.1.25'
>> make: *** [build] Error 2
>>
>> It works on all other (buildd supported) platforms, so I quite don't
>> have a clue what might be causing this.
>>
>> You can find full build log at:
>> https://buildd.debian.org/status/fetch.php?pkg=db&arch=mips&ver=5.1.25-7&stamp=1303372395
>>
>> I would rather solve this than disable Java building on mips (which
>> would be quickest solution).
>>
>
> The bug seems to be a bug in the packaging of gcj-4.4, which happens
> when gcc-4.4 is at version 4.4.5* and gcj-4.4 is at 4.4.6*. I have
> upgraded the chroot on corelli.d.o, so that it should now work again.
> Please reenable java support on mips.

Thanks. Re-enabled, but ca-certificates-java is broken (#623672), so
I'll fix that when doko fixes the ca-certificates-java.

O.
-- 
Ondřej Surý <ondrej@sury.org>


Reply to: