Path: csiph.com!eternal-september.org!reader02.eternal-september.org!weretis.net!feeder8.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod From: tony mancill Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java Subject: Bug#1007923: maven-*-helper JAR placement seems to contradict Java policy Date: Tue, 29 Mar 2022 06:10:01 +0200 Message-ID: References: X-Original-To: Andrius Merkys , 1007923@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Mar 29 04:09:12 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -6.71 Reply-To: tony mancill , 1007923@bugs.debian.org Original-Sender: tony mancill Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Java Maintainers X-Debian-Pr-Message: followup 1007923 X-Debian-Pr-Package: maven-debian-helper X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: maven-debian-helper X-Gm-Message-State: AOAM5308LyBjeaSqTS7Wpune1SzhDoXpa2bMWcrPke176auvZJdc+vnK VdhbkosCOfJ+oFY8gEvqPw4= X-Google-SMTP-Source: ABdhPJxve9uKmTH6QNcp0WU9NuOVzZnIB72y25ivVWBXosrOyJyPtAAQrcZqoMgj5EzBp7mxpX85Qw== X-Received: by 2002:a17:902:dccc:b0:153:a902:e542 with SMTP id t12-20020a170902dccc00b00153a902e542mr29495477pll.16.1648526774743; Mon, 28 Mar 2022 21:06:14 -0700 (PDT) Sender: robomod@news.nic.it MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5zxqdsbz4xixsvzq" Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: archive/latest/1711255 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 76 Organization: linux.* mail to news gateway X-Original-Cc: debian-java@lists.debian.org X-Original-Date: Mon, 28 Mar 2022 21:06:01 -0700 X-Original-Message-ID: <20220329040601.beko7c3jetijlcpz@lark> X-Original-References: <68a120c1-7779-8e79-3501-43ee135dd8c0@debian.org> <8e43321d-75e7-7731-ec27-b01c4c147a8c@apache.org> <9093aa34-ddce-6f06-dbe5-b474f6eeda9b@apache.org> <252e7cbe-7818-e667-d18-b92e5a298fd@tarent.de> <164761768210.195751.1147398609714147448.reportbug@localhost> <6e6ca4f7-d35f-a063-969d-8f9f144783fb@debian.org> <164761768210.195751.1147398609714147448.reportbug@localhost> <6e6ca4f7-d35f-a063-969d-8f9f144783fb@debian.org> X-Original-Sender: tony mancill Xref: csiph.com linux.debian.bugs.dist:1098460 linux.debian.maint.java:12366 --5zxqdsbz4xixsvzq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 28, 2022 at 07:17:46PM +0300, Andrius Merkys wrote: > Hi Alexandre, >=20 > On 2022-03-23 16:33, Alexandre Rossi wrote: > > Seems to work: > >=20 > > $ ls -la /usr/share/java/htmlcleaner* > > lrwxrwxrwx 1 root root 15 18 mars 18:20 /usr/share/java/htmlclea= ner-2.26.jar -> htmlcleaner.jar > > -rw-r--r-- 1 root root 176219 18 mars 18:20 /usr/share/java/htmlclea= ner.jar > > $ sudo dpkg -i oss/debian/davmail/libhtmlcleaner-java_2.26-1+fix+bad+= jar+name+1_all.deb > > [...] > > $ ls -la /usr/share/java/htmlcleaner* > > -rw-r--r-- 1 root root 176219 23 mars 15:27 /usr/share/java/htmlclea= ner-2.26.jar > > lrwxrwxrwx 1 root root 20 23 mars 15:27 /usr/share/java/htmlclea= ner.jar -> htmlcleaner-2.26.jar >=20 > Many thanks for the proposed patch. It seems we need a decision now on > which one is actually buggy: maven-debian-helper or java-policy. I would > vote for upholding the java-policy if only the symlink placement switch > does not break anything (neither reverse dependencies not the update > mechanism). Having versionless symlinks parallels nicely lib*-dev shlib > scheme and there might be situations where this is beneficial for Java > too. Unluckily enough, there are >700 source packages now directly > affected by this [1]. >=20 > [1] https://lintian.debian.org/tags/bad-jar-name Hello Andrius, hi Alexandre, I can't speak to every reverse dependency, but I don't expect breakage to occur with this change, assuming of course that the update mechanism works consistently. I also agree with you that a versionless symlink to a versioned jar file seems preferable. As you mention, if nothing else, it is consistent with other languages in Debian. So my vote is to accept the change. That fact that so many packages are affected does mean there will be a lot of uploads, but ideally we will upload at least once per release cycle (anyway), so the timing of this patch and proposal is reasonable. I am interested to hear other opinions from the Debian Java Team. Cheers, tony --5zxqdsbz4xixsvzq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmJChakACgkQIdIFiZdL Ppbvdw//W0DV6XQcHG3CZahQyA7nw0NQINn2qNQ3elPrn3vMYFGy12X1FSPIaVCQ mcWc1uGax0K+ApnFEijZk5A0iteuEb5VDbHlCeSiG9M8WiAuEf78nDnqS8MdOv3s 6qRQK2j1iMqzQ1idBkoG8W1ait1z0v0KDJBvjcLQ0fj2przU3w/7cMGtNLo0LPnn FHhCNcbcxFTLAg497H9qwCFHJtd5tvCro1KwvizXiywd+lmyq8oHvOhRuxAnMV2t qD41hIQzefM9IrqxkJMhidq/47ysfrLLNPTDoV4ug5YcRJekGArWk7Z4dpED3mj1 BEa71LcRsvqUx0KGmdSvTusbeYTlSMQtVVNn6Ir3ZBMV7F9r8ZUeYruObMGjkmqV affJKzB2ngmiW9vzgqrNdqDTeIZaMZZGfIb7teKYokd6MVlFsNKUUH414kYoGjTj 8kPmwWuV1F7KvppZcemabjU4bi1kcUN3Q3VUEWKz9/8iZNdgGcbrHHsONkHyR4zF z8G2nn4uyYxTAa7cqOaEx4gqKy08B9Zx90A00GIueSmaOzeuhIDFEoBc1ykkRuyV mmxu4aA2gLQp48jjaaTBhR2DHeKSCWeghMBcTppFrFMG8b1bFAmtE4NzCAveU/jP F98QdEzsBAEpOxUdM/0p1y4AZECxP0FpIQ/fM9acQTonzB/2DX4= =Focn -----END PGP SIGNATURE----- --5zxqdsbz4xixsvzq--