Package: src:xmlgraphics-commons
Version: 2.1-1
Severity: serious
Tags: patch

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:620: The following error occurred while executing 
this line:
/<<PKGBUILDDIR>>/build.xml:591: Execute failed: java.io.IOException: Cannot run 
program "gpg" (in directory "/<<PKGBUILDDIR>>"): error=2, No such file or 
directory
--------------------------------------------------------------------------------

The gnupg package is not essential. Therefore, whenever a package
requires it for building there should be a build-dependency on it.

Trivial (but untested) patch below.

Thanks.

--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9), javahelper
 Build-Depends-Indep: ant-optional,
                      default-jdk,
                      default-jdk-doc,
+                     gnupg,
                      junit4,
                      libcommons-io-java (>= 1.3.1),
                      libcommons-logging-java,

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to