[xml/sgml-pkgs] Bug#1015823: trang: warning "Unable to locate saxonb in /usr/share/java"

Vincent Lefevre vincent at vinc17.net
Thu Jul 21 23:43:02 BST 2022


On 2022-07-21 23:53:13 +0200, Vincent Lefevre wrote:
> Hi Samuel,
> 
> On 2022-07-21 23:45:49 +0200, Samuel Thibault wrote:
> > Vincent Lefevre, le jeu. 21 juil. 2022 23:28:23 +0200, a ecrit:
> > > When I run trang, I get the following warning:
> > > 
> > > [warning] /usr/bin/trang: Unable to locate saxonb in /usr/share/java
> > 
> > Ah, yes. Could you check that when replacing saxonb with Saxon-HE in
> > /usr/bin/trang, the warning disappears and the tool still works?
> 
> Well, after uninstalling libsaxonb-java (which I installed to
> make the warning disappear), and replacing saxonb with Saxon-HE,
> the warning disappears. But as I'm not using saxon, I don't know
> whether there are any other consequences when saxon is involved.

Actually, this does *not* really solve the problem. I have noticed
that some of the packages (which I don't use directly) were manually
installed, and after marking them as automatically installed, aptitude
proposed to remove them, which I accepted, and in particular, this
concerns libsaxonhe-java (as jing and libjing-java have been removed),
which provides "/usr/share/java/Saxon-HE.jar".

So with the above replacement of saxonb with Saxon-HE, I now get:

[warning] ./trang: Unable to locate Saxon-HE in /usr/share/java

So, I suppose that the fix should add a dependency on libsaxonhe-java
(libjing-java depends on it, but libtrang-java doesn't).

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the debian-xml-sgml-pkgs mailing list