"Aaron M. Ucko" <u...@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 (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to