Your message dated Wed, 18 Sep 2013 21:20:00 +0000
with message-id <>
and subject line Bug#721366: fixed in java-wrappers 0.1.27
has caused the Debian Bug report #721366,
regarding xmlto: craps out if DESTDIR is specified
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: xmlto
Version: 0.0.25-2
Severity: normal

My use case is I am building and installing a particular package
(PLplot) using

make DESTDIR=<whatever> install

where the install target depends on the all target which builds part
of the package documentation using xmlto --with-fop.  The underlying
fop command could not find anything for this case.

To show this for yourself by hand, try

env DESTDIR=whatever xmlto --with-fop pdf <somedocbook>.xml
Making portrait pages on letter paper (215.9mmx279.4mm)
[warning] /usr/bin/fop: Unable to locate commons-io in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate avalon-framework in 
[warning] /usr/bin/fop: Unable to locate serializer in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate xalan2 in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate xml-apis in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate batik-all in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate commons-logging in 
[warning] /usr/bin/fop: Unable to locate servlet-api in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate xercesImpl in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate xmlgraphics-commons in 
[warning] /usr/bin/fop: Unable to locate xml-apis-ext in whatever/usr/share/java
[warning] /usr/bin/fop: Unable to locate fop in whatever/usr/share/java
Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException: org.apache.fop.cli.Main
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        Could not find the main class: org.apache.fop.cli.Main.
Program will exit.

The solution for this issue that I am going to use in the PLplot case
is to always invoke xmlto from the build system with

env DESTDIR="" xmlto

But that feels like a workaround to me since I don't believe
xmlto should be sensitive to the DESTDIR value.  So I looked further.

xmlto --with-fop invokes


which invokes


which invokes


which includes


which sets


which I believe is likely the cause of all the above "Unable to locate"
warnings when DESTDIR is set.

I have no clue whether this is a bug in java-wrappers (which contains
the file
/usr/lib/java-wrappers/ or a bug in fop (due to
misusing /usr/lib/java-wrappers/ by not setting
DESTDIR="" before including that file or else a bug in xmlto for not
setting DESTDIR="" before invoking fop.  So I leave the decision about
where this bug report should actually end up to you.

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xmlto depends on:
ii  debianutils    4.3.2
ii  docbook-xml    4.5-7.2
ii  docbook-xsl    1.76.1+dfsg-1
ii  libc6          2.13-38
ii  libxml2-utils  2.8.0+dfsg1-7+nmu1
ii  sgml-base      1.26+nmu4
ii  xsltproc       1.1.26-14.1

Versions of packages xmlto recommends:
ii  dblatex         0.3.4-2
ii  fop             1:1.0.dfsg2-6
ii  libpaper-utils  1.1.24+nmu2
ii  zip             3.0-6

Versions of packages xmlto suggests:
pn  w3m | lynx-cur | links  <none>
ii  xmltex                  1.9.debian.1-3

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: java-wrappers
Source-Version: 0.1.27

We believe that the bug you reported is fixed in the latest version of
java-wrappers, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Vincent Fourmond <> (supplier of updated java-wrappers 

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing

Hash: SHA1

Format: 1.8
Date: Wed, 18 Sep 2013 22:25:04 +0200
Source: java-wrappers
Binary: java-wrappers
Architecture: source all
Version: 0.1.27
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
Changed-By: Vincent Fourmond <>
 java-wrappers - wrappers for java executables
Closes: 646861 714748 721366
 java-wrappers (0.1.27) unstable; urgency=low
   * Prefer openJDK7 as the "java6" runtime (closes: #714748)
   * Drop the use of DESTDIR, remnants of a long gone past (closes: #721366)
   * Move arch-indep files to /usr/share/java-wrappers, but provide
     symlinks for existing wrappers (closes: #646861)
   * Conforms to standards 3.9.4
 8f993f46896f9326ac34371f8b6ece8dc0286951 1003 java-wrappers_0.1.27.dsc
 8f4532847f6c9bf62fb493713d41c61e71f3623f 9467 java-wrappers_0.1.27.tar.gz
 c2c7b68b598fab7eb9dd07220e91fedc24f0f0a1 10324 java-wrappers_0.1.27_all.deb
 a456fde0904dedfcf70aad77a5b1671795fe2fe5dc7ef7fce2b5038747166f8b 1003 
 2909146882f9a8ebfc29365268754d5fd62f1cf3095acb4ec0d7f3490055530f 9467 
 c93dd17e8cab8f689aca2aad78f4b5b127fd6e8a5d36c1066e21194ee9fc330a 10324 
 3969fe7afc90d8351ec624392ce623e5 1003 java optional java-wrappers_0.1.27.dsc
 91ee55704588787732a54e59e041955f 9467 java optional java-wrappers_0.1.27.tar.gz
 cb5e07a86afa0c20ebec39a73970a02d 10324 java optional 

Version: GnuPG v1.4.14 (GNU/Linux)


--- End Message ---
This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to