#1152546 avro-java: FTBFS: [ERROR] Failed to execute goal on project avro-maven-plugin: Could not resolve dependencies for project org.apache.avro:avro-maven-plugin:maven-plugin:1.8.2

#1152546#5
Date:
2026-10-30 11:22:21 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:avro-java, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.670 s
[INFO] Finished at: 2026-10-29T21:34:03Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project avro-maven-plugin: Could not resolve dependencies for project org.apache.avro:avro-maven-plugin:maven-plugin:1.8.2
[ERROR] dependency: org.apache.maven.plugin-testing:maven-plugin-testing-tools:jar:debian (test)
[ERROR] 	Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugin-testing:maven-plugin-testing-tools:jar:debian has not been downloaded from it before.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :avro-maven-plugin
dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1152546#10
Date:
2026-10-30 15:20:59 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
avro-java, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1152546@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebourg@apache.org> (supplier of updated avro-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 30 Oct 2026 15:38:13 +0100
Source: avro-java
Architecture: source
Version: 1.12.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebourg@apache.org>
Closes: 1152546
Changes:
 avro-java (1.12.2-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1152546)
     - Refreshed the patches
     - Updated the Maven rules
     - Updated the build dependencies
     - Replaced the hand-written dependencies of the binary packages with
       ${maven:Depends}
     - Removed the unused dependency on paranamer
     - Removed the avro-guava module (removed upstream)
     - Installed the new avro-idl module in libavro-compiler-java
     - Updated debian/copyright
   * Converted debian/watch to the version 5 format
   * Standards-Version updated to 4.7.4
   * Removed the Priority field
   * Removed the Rules-Requires-Root field
   * Switch to debhelper level 13
   * Excluded the Maven extensions from the upstream tarball
Checksums-Sha1:
 042215f190260c2bd790e9362a76ab540779e32b 2740 avro-java_1.12.2-1.dsc
 587d381d22dbc03cf3e45c429d7aa77b4f4ab7d0 2091792 avro-java_1.12.2.orig.tar.xz
 c0120ee844c9af652920069258f677b80c77fbf2 5692 avro-java_1.12.2-1.debian.tar.xz
 48e1d7a9750e7915fbf249fed236d7481c6208f0 16383 avro-java_1.12.2-1_source.buildinfo
Checksums-Sha256:
 90f97e79246d4b55e29b88425e178c6d3ad56c223111844dfefd38dd18604de2 2740 avro-java_1.12.2-1.dsc
 b636588627d0839cb7800a7a791ae9ae9257eaa7a5d594151c387ff65ba02a0f 2091792 avro-java_1.12.2.orig.tar.xz
 3c9b229f2c7458aa77d338929d6e0e8a46f443e585a2ef18b2ec210d1c9b6f9c 5692 avro-java_1.12.2-1.debian.tar.xz
 5d241148d2ca7bd4fde5f553b54d929ccbac6b35a8da3812240b7de247a882af 16383 avro-java_1.12.2-1_source.buildinfo
Files:
 0e0d6c31baa34a9cb97620f1a470fc30 2740 java optional avro-java_1.12.2-1.dsc
 996f98adfd7e2c0dca10c2498fc5e78a 2091792 java optional avro-java_1.12.2.orig.tar.xz
 2f8af27e195d4c0c2272ad6af4258ba1 5692 java optional avro-java_1.12.2-1.debian.tar.xz
 51be2bf8ada558806b96c418f2cdeab3 16383 java optional avro-java_1.12.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEuM5N4hCA3PkD4WxA9RPEGeS50KwFAmrksu0SHGVib3VyZ0Bh
cGFjaGUub3JnAAoJEPUTxBnkudCsWPsP/2BqoFY4L0+MctYnZ/ZaXBkGPRiy1aDC
YmOYYltlRKgyJ0/OPkdYzM9hwimB2AtnFDLgT0zdY/c273jVMO/D/QFGhOaqzuxQ
B4yjMA4cNsCrLulnFLy/UjmLdZK+WRwEt09+vWIEvudXeg5SVtkpKe8Ku+nQe7CG
0wHuX52TXY1ms1sNtBUIYLwDrAiXU5XGnabX0XC5Uw0w1hrQJva7Owho23kDcCnY
CesLAeNegPfhNiK2cewQVFNQv7e/p93TAWdYQ2UifBK/8NGd+t6OdbK5jyUGh4LQ
M9d/VxIBwV3iWZLm+Qy1hM+AWuInP8BiXh9onYt2HOf0axXRALJGErxRCPMqhTq/
5U30m0cSYdJ+4nXCNz0be9PHOCIy50ZYWHV7sdqIrZMDCJU2PJZk6NtWj2iC94F1
oR6YfQFxhakOCvhIas3niaEEB1F7pp1A1JVdN3EGrls/hVdgd0G2SGf3pp1S34K7
4H7XHekiS3NdUqg8uSKQV3HY9kPu+QdPvVNDzpJ+keDFwk3upnucbVHSB0fLDV8b
M7ke+liXl7zUMpvUy2+8Ij2lXLGhTdmKJqQIRgk2ywq0Rp+3tgtRu9essg99CT5e
TMO9tyxOAy9UD3tO26DjsBs89KRo8wYhOlZ6MeUI+q+qZgdvbH/9S9gKtWJ49OwY
4ehtH86nDAD3
=R6qI
-----END PGP SIGNATURE-----