Source: byte-buddy
Version: 1.12.23-1
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21

Dear Maintainers,

The package byte-buddy ftbfs with default Java 21.
The relevant part of the build log:
---------------
[INFO] Processing class files located in in: 
/<<PKGBUILDDIR>>/byte-buddy-dep/target/classes
[WARNING] Failed to transform class net.bytebuddy.utility.FileSystem using 
net.bytebuddy.build.CachedReturnPlugin@7e53b92e
java.lang.IllegalArgumentException: Java 21 (65) is not supported by the 
current version of Byte Buddy which officially supports Java 20 (64) - update 
Byte Buddy or set net.bytebuddy.experimental as a VM property
    at net.bytebuddy.utility.OpenedClassReader.of (OpenedClassReader.java:96)
    at net.bytebuddy.pool.TypePool$Default.parse (TypePool.java:855)
    at net.bytebuddy.pool.TypePool$Default.doDescribe (TypePool.java:841)
    at net.bytebuddy.pool.TypePool$AbstractBase.describe (TypePool.java:574)
    at net.bytebuddy.pool.TypePool$AbstractBase$Hierarchical.describe 
(TypePool.java:657)
    at 
net.bytebuddy.pool.TypePool$Default$LazyTypeDescription$TokenizedGenericType.toErasure
 (TypePool.java:6875)
    at 
net.bytebuddy.pool.TypePool$Default$LazyTypeDescription$GenericTypeToken$Resolution$Raw$RawAnnotatedType.of
 (TypePool.java:3757)
    at 
net.bytebuddy.pool.TypePool$Default$LazyTypeDescription$GenericTypeToken$Resolution$Raw.resolveReturnType
 (TypePool.java:3665)
    at 
net.bytebuddy.pool.TypePool$Default$LazyTypeDescription$LazyMethodDescription.getReturnType
 (TypePool.java:7437)
    at net.bytebuddy.asm.Advice$Dispatcher$Resolved$AbstractBase.<init> 
(Advice.java:7975)
    at net.bytebuddy.asm.Advice$Dispatcher$Inlining$Resolved.<init> 
(Advice.java:8261)
    at 
net.bytebuddy.asm.Advice$Dispatcher$Inlining$Resolved$ForMethodEnter.<init> 
(Advice.java:8659)
    at 
net.bytebuddy.asm.Advice$Dispatcher$Inlining$Resolved$ForMethodEnter$WithRetainedEnterType.<init>
 (Advice.java:8861)
    at net.bytebuddy.asm.Advice$Dispatcher$Inlining$Resolved$ForMethodEnter.of 
(Advice.java:8701)
    at net.bytebuddy.asm.Advice$Dispatcher$Inlining.asMethodEnter 
(Advice.java:8206)
    at net.bytebuddy.asm.Advice.to (Advice.java:360)
    at net.bytebuddy.asm.Advice$WithCustomMapping.to (Advice.java:14427)
    at net.bytebuddy.build.CachedReturnPlugin.apply 
(CachedReturnPlugin.java:166)
    at net.bytebuddy.build.Plugin$Engine$Default$Preprocessor$Resolved.call 
(Plugin.java:4877)
    at net.bytebuddy.build.Plugin$Engine$Default$Preprocessor$Resolved.call 
(Plugin.java:4850)
    at 
net.bytebuddy.build.Plugin$Engine$Dispatcher$ForSerialTransformation.accept 
(Plugin.java:3902)
    at net.bytebuddy.build.Plugin$Engine$Default.apply (Plugin.java:4697)
    at net.bytebuddy.build.maven.ByteBuddyMojo.apply (ByteBuddyMojo.java:451)
    at net.bytebuddy.build.maven.ByteBuddyMojo.execute (ByteBuddyMojo.java:323)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 
(MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
(MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:185)
    at org.debian.maven.Wrapper.main (Wrapper.java:89)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke 
(DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard 
(Launcher.java:322)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:235)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:348)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Byte Buddy (parent) 1.12.23:
[INFO]
[INFO] Byte Buddy (parent) ................................ SUCCESS [  0.002 s]
[INFO] Byte Buddy (with dependencies) ..................... FAILURE [  8.144 s]
[INFO] Byte Buddy (without dependencies) .................. SKIPPED
[INFO] Byte Buddy agent ................................... SKIPPED
[INFO] Byte Buddy for Android (test application) .......... SKIPPED
[INFO] Byte Buddy Maven plugin ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.281 s
[INFO] Finished at: 2023-09-29T09:36:22Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
net.bytebuddy:byte-buddy-previous-maven-plugin:previous:transform (default) on 
project byte-buddy-dep: Failed to transform class files in 
/<<PKGBUILDDIR>>/byte-buddy-dep/target/classes: Failed to transform class 
net.bytebuddy.utility.FileSystem using 
net.bytebuddy.build.CachedReturnPlugin@7e53b92e: Java 21 (65) is not supported 
by the current version of Byte Buddy which officially supports Java 20 (64) - 
update Byte Buddy or set net.bytebuddy.experimental as a VM property -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :byte-buddy-dep
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 returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-09-29T09:36:22Z

---------------


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic-updates
  APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to