Bug#618615: xmltooling: FTBFS when not building doc package

Aaron M. Ucko ucko at debian.org
Wed Mar 16 22:25:41 UTC 2011

Package: xmltooling
Version: 1.4.1-1
Severity: serious
Justification: fails to build from source

Builds of xmltooling (as on the autobuilders) that only cover its
architecture-dependent packages are failing because debian/rules
expects to be able to remove a copy of jquery.js that won't exist in
that case:

   debian/rules override_dh_installdocs
make[1]: Entering directory `/build/buildd-xmltooling_1.4.1-1-amd64-6TIjR5/xmltooling-1.4.1'
dh_installdocs -A doc/NOTICE.txt
rm debian/libxmltooling-doc/usr/share/doc/libxmltooling-doc/html/jquery.js
rm: cannot remove `debian/libxmltooling-doc/usr/share/doc/libxmltooling-doc/html/jquery.js': No such file or directory
make[1]: *** [override_dh_installdocs] Error 1

To remedy that, you can replace rm by either rm -f (which will
silently ignore absent targets) or -rm (which will direct make to
disregard errors from rm).  You could also conditionalize rm's
invocation, but that's probably more trouble than it's worth in this

At any rate, could you please take care of the error?


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

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

More information about the Pkg-shibboleth-devel mailing list