Bug#980371: libjsonp-java 1.1.2-1 breaks antlr4-maven-plugin

Timo Röhling timo at gaussglocke.de
Mon Jan 18 11:21:12 GMT 2021


Package: src:libjsonp-java
Version: 1.1.2-1
Severity: serious
X-Debbugs-Cc: timo at gaussglocke.de

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear maintainer, 

With the new libjsonp-java upload, the antlr4-maven-plugin has become
unusable, which makes build-dependent Java packages FTBFS.

I encountered the problem while working on a new package that suddenly
broke in an unexpected way, and I verified it independently with an
attempted rebuild of eprosima-idl-parser.

Relevant build log excerpt:

8< --------------------------------------------------------

I: Running cd /build/eprosima-idl-parser-1.0.2+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc 
dpkg-buildpackage: info: source package eprosima-idl-parser
dpkg-buildpackage: info: source version 1.0.2+dfsg-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Timo Röhling <timo at gaussglocke.de>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --buildsystem=maven
   dh_auto_clean -O--buildsystem=maven
	bash -c "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
	mh_unpatchpoms -plibeprosima-idl-parser-java
   dh_autoreconf_clean -O--buildsystem=maven
   dh_clean -O--buildsystem=maven
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building eprosima-idl-parser using existing ./eprosima-idl-parser_1.0.2+dfsg.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building eprosima-idl-parser in eprosima-idl-parser_1.0.2+dfsg-2.debian.tar.xz
dpkg-source: info: building eprosima-idl-parser in eprosima-idl-parser_1.0.2+dfsg-2.dsc
 debian/rules binary
dh binary --buildsystem=maven
   dh_update_autotools_config -O--buildsystem=maven
   dh_autoreconf -O--buildsystem=maven
   dh_auto_configure -O--buildsystem=maven
	mh_patchpoms -plibeprosima-idl-parser-java --debian-build --keep-pom-version --maven-repo=/build/eprosima-idl-parser-1.0.2\+dfsg/debian/maven-repo
   dh_auto_build -O--buildsystem=maven
	/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=/build/eprosima-idl-parser-1.0.2\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/eprosima-idl-parser-1.0.2\+dfsg/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/eprosima-idl-parser-1.0.2\+dfsg/debian -Dmaven.repo.local=/build/eprosima-idl-parser-1.0.2\+dfsg/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------< com.eprosima.idl:com.eprosima.idl >------------------
[INFO] Building com.eprosima.idl 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.136 s
[INFO] Finished at: 2021-01-18T11:08:51Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project com.eprosima.idl: Could not resolve dependencies for project com.eprosima.idl:com.eprosima.idl:jar:1.0.0: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact javax.json:javax.json-api:bundle:debian has not been downloaded from it before. -> [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
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=/build/eprosima-idl-parser-1.0.2\+dfsg -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/eprosima-idl-parser-1.0.2\+dfsg/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/eprosima-idl-parser-1.0.2\+dfsg/debian -Dmaven.repo.local=/build/eprosima-idl-parser-1.0.2\+dfsg/debian/maven-repo 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 returned exit status 2

- -------------------------------------------------------- >8

Cheers
Timo


-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmAFbyQACgkQ+C8H+466
LVnW2wwA57mYk5SPSglU2Ne6csS9kSlyAC/bglAa4JUlumi8cDnevjSBVO3197OO
cvzrSWEesVi8De+SLjtNILPRi4uMRz+Ay246NEifTIPMzZxr6u1RWmzgYRV9Nz1F
NgOASuOIHE7DyjyK6wFV+JpeJnKqEU7EpBNde3CuBlR74MxfzSM1R6uW0LNjmRkC
BrnA9wXmVHY9+ng4KAjab/p8rBGqK0iIEO/3cVbBDcNUQwQ7Wg7dGD8qHhyGe9xk
OH9QhU4sTwJ6kuoWx5VD403hU34e0nOmAm5iMQY4ieQ6xj/DYJHNrvwcJBR+36Bo
9NfeFssBQ4O9bXWWXdY6Y8npP0brPsfoeUFs2IKahGQ0qn1BpQbVXxThoHnMiicY
GgtzsbCd0VW1XB7UjnlCeGlOdPiSUVFtAX3aTbbSTNnMEj/agie+2Xb9ax38Duad
3Ma7gZO0C54g5TH262PhJ7Vf42OyvB7y99JgzF9upfFV0bUhcjxW+FNI+vu+b++u
MHiMymof
=KkhC
-----END PGP SIGNATURE-----


More information about the pkg-java-maintainers mailing list