Bug#1028024: libcommons-parent-java: regression between 43-1 and 55-1: Failed to read artifact descriptor for org.apache.commons:commons-compress:jar:debian
On Fri, 6 Jan 2023 10:22:27 -0500 =?UTF-8?B?SsOpcsO0bWUgQ2hhcmFvdWk=?= wrote: Looking at the pom.xml diff, it seems that version 55-1 introduced a dependency on org.junit/junit-bom, which is not packaged in Debian. org.junit/junit-bom is packaged in Debian, as part of the junit5 package: junit5: /usr/share/maven-repo/org/junit/junit-bom/debian/junit-bom-debian.pom It's probably not a good idea to include it as a dependency for libcommons-parent-java though... -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ po...@debian.org / veronneau.org ⠈⠳⣄ OpenPGP_0xE1E5457C8BAD4113.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature
Bug#1028024: libcommons-parent-java: regression between 43-1 and 55-1: Failed to read artifact descriptor for org.apache.commons:commons-compress:jar:debian
On Thu, 5 Jan 2023 19:43:38 -0500 =?UTF-8?Q?Louis-Philippe_V=c3=a9ronneau?= wrote:> For example, when trying to build `trapperkeeper-metrics-clojure`, the `lein jar` step fails with: Failed to read artifact descriptor for org.apache.commons:commons-compress:jar:debian Failed to read artifact descriptor for commons-codec:commons-codec:jar:debian Failed to read artifact descriptor for commons-io:commons-io:jar:debian Failed to read artifact descriptor for commons-logging:commons-logging:jar:debian I've hit this problem on my latest attempt to build puppetdb. Looking at the pom.xml diff, it seems that version 55-1 introduced a dependency on org.junit/junit-bom, which is not packaged in Debian. Add it to debian/maven.ignoreRules fixes the issue. Please find a debdiff attached for your convenience. Thanks!diff -Nru commons-parent-55/debian/changelog commons-parent-55/debian/changelog --- commons-parent-55/debian/changelog 2023-01-02 08:29:01.0 -0500 +++ commons-parent-55/debian/changelog 2023-01-06 10:09:56.0 -0500 @@ -1,3 +1,10 @@ +commons-parent (55-2) unstable; urgency=medium + + * Team upload. + * add org.junit/junit-bom to ignoreRules + + -- Jérôme Charaoui Fri, 06 Jan 2023 10:09:56 -0500 + commons-parent (55-1) unstable; urgency=medium * New upstream release diff -Nru commons-parent-55/debian/maven.ignoreRules commons-parent-55/debian/maven.ignoreRules --- commons-parent-55/debian/maven.ignoreRules 2023-01-02 08:29:01.0 -0500 +++ commons-parent-55/debian/maven.ignoreRules 2023-01-06 10:08:40.0 -0500 @@ -42,3 +42,4 @@ org.jacoco jacoco-maven-plugin org.spdx spdx-maven-plugin org.apache.maven.wagon wagon-ssh +org.junit junit-bom
Bug#1028024: libcommons-parent-java: regression between 43-1 and 55-1: Failed to read artifact descriptor for org.apache.commons:commons-compress:jar:debian
Package: libcommons-parent-java Version: 55-1 Severity: important Hi, It seems the libcommons-parent-java update between 43-1 and 55-1 broke several Clojure packages that build with `leiningen`. For example, when trying to build `trapperkeeper-metrics-clojure`, the `lein jar` step fails with: Failed to read artifact descriptor for org.apache.commons:commons-compress:jar:debian Failed to read artifact descriptor for commons-codec:commons-codec:jar:debian Failed to read artifact descriptor for commons-io:commons-io:jar:debian Failed to read artifact descriptor for commons-logging:commons-logging:jar:debian Same goes for package `raynes-fs-clojure`: Failed to read artifact descriptor for org.apache.commons:commons-compress:jar:debian Rolling back libcommons-parent-java to version 43-1 does seem to fix the issue. I've tried diffing /usr/share/maven-repo/org/apache/commons/commons-parent/debian/commons-parent-debian.pom between the two versions, but I can't find anything obvious. I've attached said diff to this bug report, maybe it'll be of help? I've marked this 'important', as raynes-fs-clojure is a dependency that's widely used in the Clojure ecosystem in Debian. Cheers, -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ po...@debian.org / veronneau.org ⠈⠳⣄ diff -W 300 -y -r 43-1/usr/share/maven-repo/org/apache/commons/commons-parent/debian/commons-parent-debian.pom 55-1/usr/share/maven-repo/org/apache/commons/commons-parent/debian/commons-parent-debian.pom | --> http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.orghttp://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org 4.0.0 4.0.0 org.apache.commons org.apache.commons commons-parent commons-parent debian debian pom pom org.apache org.apache apache apache debian debian Apache Commons Parent Apache Commons Parent The Apache Commons Parent POM provides common settings for all Apache Commons components. The Apache Commons Parent POM provides common settings for all Apache Commons components. Version 43: < - maven-compiler-plugin 3.6.1 -> 3.6.2 < - maven-compiler-plugin 3.6.2 -> 3.7.0 < - jacoco-maven-plugin 0.7.7.201606060606 -> 0.7.9 < - maven-javadoc-plugin 2.10.4 -> 3.0.0 (Java 9 compatibility) < - Update japicmp 0.9.3 -> 0.10.0