[Debian-med-packaging] Bug#600997: Disruptive interaction between quilt and Ant.
Charles Plessy
plessy at debian.org
Wed Oct 27 05:58:36 UTC 2010
Le Wed, Oct 27, 2010 at 02:23:40PM +0900, Charles Plessy a écrit :
> Dear Java packagers,
>
> I am trying to apply the attached patch to the imagej package (Squeeze
> version), but strangely the build fails in presence of the .pc directory
> created by quilt.
Apologises for forgetting the most important:
Buildfile: /tmp/imagej-1.44c/build.xml
compile:
[mkdir] Created dir: /tmp/imagej-1.44c/build
[javac] /tmp/imagej-1.44c/build.xml:9: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 286 source files to /tmp/imagej-1.44c/build
[javac] /tmp/imagej-1.44c/ij/ImagePlus.java:19: warning: unmappable character for encoding UTF8
[javac] It also includes metadata (spatial calibration and possibly the directory/file where �
[javac] ^
[javac] /tmp/imagej-1.44c/ij/process/ImageProcessor.java:16: warning: unmappable character for encoding UTF8
[javac] An ImageProcessor contains the pixel data of a 2D image and �
[javac] ^
[javac] /tmp/imagej-1.44c/ij/gui/YesNoCancelDialog.java:8: duplicate class: ij.gui.YesNoCancelDialog
[javac] public class YesNoCancelDialog extends Dialog implements ActionListener, KeyListener {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 2 warnings
BUILD FAILED
/tmp/imagej-1.44c/build.xml:9: Compile failed; see the compiler error output for details.
> Proabably the ant build system includes considers the backup
> files in the .pc directory as part of the source, but I am not skilled enough
> in Java building to correct the problem by myself. Could somebody suggest me a
> solution ?
>
> Many thanks for your help,
>
> --
> Charles Plessy
> Debian Med packaging team,
> http://www.debian.org/devel/debian-med
> Tsurumi, Kanagawa, Japan
> Description: Allows to close ImageJ after modifying an image.
> Author: Frederic Mothe <mothe at nancy.inra.fr>
> Bug: http://bugs.debian.org/600997
> Forwarded: yes
> diff --git a/ij/gui/YesNoCancelDialog.java b/ij/gui/YesNoCancelDialog.java
> index 3a44f7c..fdb7c79 100644
> --- a/ij/gui/YesNoCancelDialog.java
> +++ b/ij/gui/YesNoCancelDialog.java
> @@ -72,7 +72,7 @@ public class YesNoCancelDialog extends Dialog implements ActionListener, KeyList
> }
>
> void closeDialog() {
> - setVisible(false);
> + // useless, and raises a bug with openjdk 6: setVisible(false);
> dispose();
> }
>
More information about the Debian-med-packaging
mailing list