Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: olivier sallou Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java Subject: Bug#988650: logol: broken symlink: /usr/share/logol/lib/xml-apis.jar -> ../../java/xml-apis.jar Date: Mon, 17 May 2021 14:30:02 +0200 Message-ID: References: X-Original-To: debian-bugs-dist@lists.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon May 17 12:27:09 2021 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -0.577 Reply-To: olivier sallou , 988650@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Med Packaging Team X-Debian-Pr-Message: followup 988650 X-Debian-Pr-Package: logol X-Debian-Pr-Source: logol X-Gm-Message-State: AOAM530JBBWjVbrRkfwciR+7lbiPJ4POQJVzlgbrGWEcE4vD8Y/xJ4gG M+ez1Fp0ymL0Bx+P9MmIJHH36uf85GZwO5G6WzfOakGNB6dmvA== X-Received: by 2002:a05:6402:26d1:: with SMTP id x17mt55790080edd.14.1621254157898; Mon, 17 May 2021 05:22:37 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002c7f0d05c285a6a8" X-Debian-Message: from BTS X-Mailing-List: archive/latest/1664468 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 189 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 988650@bugs.debian.org, Debian Java List X-Original-Date: Mon, 17 May 2021 14:22:26 +0200 X-Original-Message-ID: X-Original-References: <162125092119.23843.8828078144237681325.reportbug@zam504.zam.kfa-juelich.de> <20210517120535.GB380@an3as.eu> <162125092119.23843.8828078144237681325.reportbug@zam504.zam.kfa-juelich.de> <20210517120535.GB380@an3as.eu> Xref: csiph.com linux.debian.bugs.dist:1059193 linux.debian.maint.java:12192 --0000000000002c7f0d05c285a6a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It appears than xalan2 (requires)-> xerces2 (requires)-> libxml-commons-external-java explicitly removes versioned jar in its build (debian/libxml-commons-external-java.poms) debian/xml-apis.xml --java-lib --usj-name=3Dxml-apis --artifact=3Dxml-apis.= jar --no-usj-versionless Don't know why but it breaks logol. Fix would be to symlink to versioned jar, but will break on next libxml-commons-external-java update. Could certainly be scripted to get related version and link to this version file. Olivier Le lun. 17 mai 2021 =C3=A0 14:05, Andreas Tille a =C3=A9= crit : > Hi, > > I'd like to forward this to Debian Java list for comments. > > Kind regards > > Andreas. > > On Mon, May 17, 2021 at 01:50:01PM +0200, olivier sallou wrote: > > Issue seems to be related to xml-apis.jar not being symlinked itself > > > > /usr/share/java# ls *xml-api* > > xml-apis-1.4.01.jar xml-apis-ext-1.4.01.jar xml-apis-ext.jar > > > > Usually, java libs have a versioned file and an unversionned file which > is > > a symlink to versioned one (see above). > > xml-apis here is not available as unversioned (breaks previous versions= ) > > > > Logo requires xalan2 and xerces2, must be a sub-dependency, should -ex= t > be > > used? > > > > Le lun. 17 mai 2021 =C3=A0 13:33, Andreas Beckmann a = =C3=A9crit > : > > > > > Package: logol > > > Version: 1.7.9-2 > > > Severity: serious > > > User: debian-qa@lists.debian.org > > > Usertags: piuparts > > > > > > Hi, > > > > > > during a test with piuparts I noticed your package ships (or creates) > > > a broken symlink. > > > > > > From the attached log (scroll to the bottom...): > > > > > > 1m53.8s ERROR: FAIL: Broken symlinks: > > > /usr/share/logol/lib/xml-apis.jar -> ../../java/xml-apis.jar (logol= ) > > > > > > Is logol missing a dependency on libjaxp1.3-java ? > > > > > > > > > cheers, > > > > > > Andreas > > > > > > _______________________________________________ > > Debian-med-packaging mailing list > > Debian-med-packaging@alioth-lists.debian.net > > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packa= ging > > > -- > http://fam-tille.de > --=20 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint =3D 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 --0000000000002c7f0d05c285a6a8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It appears than xalan2 (requires)-> xerces2 (requires)-= > libxml-commons-external-java explicitly=C2=A0removes versioned jar in = its build (debian/libxml-commons-external-java.poms)

debian/xml-apis.xml --java-lib --usj-name=3Dxml-apis --artifact= =3Dxml-apis.jar --no-usj-versionless

=
Don't know why but it breaks logol.
<= code>Fix would be to symlink to versioned jar, but will break on next libxm= l-commons-external-java update. Could certainly be scripted to get related = version and link to this version file.

Olivier

Le=C2=A0lun. 17 mai 2021 =C3=A0=C2=A014:= 05, Andreas Tille <andreas@an3as.eu<= /a>> a =C3=A9crit=C2=A0:
Hi,

I'd like to forward this to Debian Java list for comments.

Kind regards

=C2=A0 =C2=A0 =C2=A0 Andreas.

On Mon, May 17, 2021 at 01:50:01PM +0200, olivier sallou wrote:
> Issue seems to be related to xml-apis.jar not being symlinked itself >
> /usr/share/java# ls *xml-api*
> xml-apis-1.4.01.jar=C2=A0 xml-apis-ext-1.4.01.jar=C2=A0 xml-apis-ext.j= ar
>
> Usually, java libs have a versioned file and an unversionned file whic= h is
> a symlink to versioned one (see above).
> xml-apis here is not available as unversioned (breaks previous version= s)
>
> Logo requires xalan2 and xerces2, must be a sub-dependency,=C2=A0 shou= ld -ext be
> used?
>
> Le lun. 17 mai 2021 =C3=A0 13:33, Andreas Beckmann <
anbe@debian.org> a =C3=A9crit = :
>
> > Package: logol
> > Version: 1.7.9-2
> > Severity: serious
> > User: debian-qa@lists.debian.org
> > Usertags: piuparts
> >
> > Hi,
> >
> > during a test with piuparts I noticed your package ships (or crea= tes)
> > a broken symlink.
> >
> > From the attached log (scroll to the bottom...):
> >
> > 1m53.8s ERROR: FAIL: Broken symlinks:
> >=C2=A0 =C2=A0/usr/share/logol/lib/xml-apis.jar -> ../../java/xm= l-apis.jar (logol)
> >
> > Is logol missing a dependency on libjaxp1.3-java ?
> >
> >
> > cheers,
> >
> > Andreas
> >

> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging@alioth-lists.debian.net
> https://alioth-lis= ts.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging


--
http:/= /fam-tille.de


--
gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint =3D 5FB4 6F83 D3B9 5204 6335  D26=
D 78DC 68DB 326D 8438
--0000000000002c7f0d05c285a6a8--