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

Bug#532292: java-gcj-compat-dev setup breaks pdebuild for libidn.jar



Package: java-gcj-compat-dev
Version: 1.0.80-5

The libidn package in Debian build-depends on gcj:

Build-Depends: debhelper (>= 6), gcj [!arm !hppa !hurd-i386], fastjar

Recently building it running pdebuild on sid fails with this error
message:

...
Setting up libantlr-java (2.7.7-11) ...
Setting up antlr (2.7.7-11) ...
Setting up gjdoc (0.7.9-4) ...
update-alternatives: using /usr/bin/gjdoc to provide /usr/bin/javadoc (javadoc) in auto mode.
Setting up gappletviewer-4.3 (4.3.3-8) ...
Setting up gcj-jre-headless (4:4.3.3-8) ...
Setting up gij (4:4.3.3-8) ...
Setting up java-gcj-compat-headless (1.0.80-5) ...
Setting up java-gcj-compat (1.0.80-5) ...
Setting up gcj-jre (4:4.3.3-8) ...
Setting up gcj (4:4.3.3-8) ...
Setting up java-gcj-compat-dev (1.0.80-5) ...
update-alternatives: error: alternative path /usr/lib/jvm/java-gcj/bin/jarsigner doesn't exist.
dpkg: error processing java-gcj-compat-dev (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Setting up gcj-jdk (4:4.3.3-8) ...
Errors were encountered while processing:
 java-gcj-compat-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up java-gcj-compat-dev (1.0.80-5) ...
update-alternatives: error: alternative path /usr/lib/jvm/java-gcj/bin/jarsigner doesn't exist.
dpkg: error processing java-gcj-compat-dev (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 java-gcj-compat-dev

Building against testing works fine.

Is this a problem with the java-gcj-compat-dev package?  It appears as
if it tries to run update-alternatives with some bad paths.

Maybe this problem should have higher severity, because others might see
similar problems too.  It could be a problem in how the libidn package
depends on gcj, though, and suggestions on that is welcome.

/Simon



Reply to: