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

Russ Allbery rra at debian.org
Thu Mar 17 06:47:06 UTC 2011


"Aaron M. Ucko" <ucko at debian.org> writes:

> 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
> case.

Whoops, sorry about that.  I didn't even think about it.  There's an ln -s
that would also fail, so I went ahead and added the condition.

I'm building and testing (including an arch-only build) the new package
now and will upload in a few if it works.

Thanks!

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the Pkg-shibboleth-devel mailing list