dev-java/protobuf-java: add 4.33.1
Please check all the boxes that apply:
- [x] I can submit this contribution in agreement with the Copyright Policy.
- [x] I have certified the above via adding a
Signed-off-byline to every commit in the pull request. - [x] This contribution has not been created with the assistance of Natural Language Processing artificial intelligence tools, in accordance with the AI policy.
- [x] I have run
pkgcheck scan --commits --netto check for issues with my commits.
Please note that all boxes must be checked for the pull request to be merged.
Pull Request assignment
Submitter: @vaukai Areas affected: ebuilds, profiles Packages affected: dev-java/protobuf-java
dev-java/protobuf-java: @gentoo/java
Linked bugs
No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.
If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.
In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.
Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide
Pull request CI report
Report generated at: 2025-11-13 01:17 UTC Newest commit scanned: 2633d09eaca82d2a4ffeae5019fb70ed7a7c29ae Status: :white_check_mark: good
There are existing issues already. Please look into the report to make sure none of them affect the packages in question: https://qa-reports.gentoo.org/output/gentoo-ci/aeb8173/output.html
Pull request CI report
Report generated at: 2025-11-29 19:14 UTC Newest commit scanned: 8f299bed5318b90df31ecbdac788d2c8c0c3bfb7 Status: :white_check_mark: good
There are existing issues already. Please look into the report to make sure none of them affect the packages in question: https://qa-reports.gentoo.org/output/gentoo-ci/d52baf6/output.html
Pull request CI report
Report generated at: 2025-12-06 09:34 UTC Newest commit scanned: c925be2903f89185d0e96757989f4b2b2ada344f Status: :white_check_mark: good
There are existing issues already. Please look into the report to make sure none of them affect the packages in question: https://qa-reports.gentoo.org/output/gentoo-ci/d1c1654/output.html
i got an error here:
>>> Test phase: dev-java/protobuf-java-4.33.2
* Running protoc on first part of generate-test-sources-build.xml
java/core/src/test/proto/com/google/protobuf/test_check_utf8.proto:13:1: warning: Feature pb.JavaFeatures.utf8_validation has been deprecated in edition 2024: The Java-specific utf8 validation feature is deprecated and is scheduled to be removed in edition 2025. Utf8 validation behavior should use the global cross-language utf8_validation feature.
* Running protoc on second part of generate-test-sources-build.xml
* Running tests
javac -source 1.8 -target 1.8 -d target/test-classes -encoding UTF-8 -classpath target/test-classes:protobuf.jar:/usr/share/testparameterinjector/lib/testparameterinjector.jar:/usr/share/truth/lib/truth.jar:/usr/share/guava/lib/guava.jar:/usr/share/guava/lib/failureaccess.jar:/usr/share/junit-4/lib/junit.jar:/usr/share/mockito-4/lib/mockito.jar:/usr/share/snakeyaml/lib/snakeyaml.jar:/usr/share/hamcrest-core-1.3/lib/hamcrest-core.jar:/usr/share/asm-9/lib/asm.jar:/usr/share/asm-9/lib/asm-analysis.jar:/usr/share/asm-9/lib/asm-commons.jar:/usr/share/asm-9/lib/asm-tree.jar:/usr/share/asm-9/lib/asm-util.jar:/usr/share/byte-buddy/lib/byte-buddy-agent.jar:/usr/share/byte-buddy/lib/byte-buddy.jar:/usr/share/objenesis/lib/objenesis.jar:/usr/share/error-prone-annotations/lib/error-prone-annotations.jar:/usr/share/j2objc-annotations/lib/j2objc-annotations.jar:/usr/share/jspecify/lib/jspecify.jar @test_sources.lst
warning: [options] bootstrap class path not set in conjunction with -source 8
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
java/core/src/test/java/com/google/protobuf/LegacyUnredactedTextFormatTest.java:235: warning: non-varargs call of varargs method with inexact argument type for last parameter;
new String[] {
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
java/core/src/test/java/com/google/protobuf/UnredactedDebugFormatForTestTest.java:232: warning: non-varargs call of varargs method with inexact argument type for last parameter;
new String[] {
^
cast to Object for a varargs call
cast to Object[] for a non-varargs call and to suppress this warning
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 warnings
JUnit version 4.13.3-SNAPSHOT
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:536)
at java.base/java.lang.Class.forName(Class.java:515)
at org.junit.internal.Classes.getClass(Classes.java:40)
at org.junit.internal.Classes.getClass(Classes.java:26)
at org.junit.runner.JUnitCommandLineParseResult.parseParameters(JUnitCommandLineParseResult.java:98)
at org.junit.runner.JUnitCommandLineParseResult.parseArgs(JUnitCommandLineParseResult.java:50)
at org.junit.runner.JUnitCommandLineParseResult.parse(JUnitCommandLineParseResult.java:44)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:76)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:40)
at org.junit.runner.JUnitCore.main(JUnitCore.java:36)
Caused by: java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
at org.mockito.internal.configuration.plugins.PluginLoader$1.invoke(PluginLoader.java:84)
at jdk.proxy2/jdk.proxy2.$Proxy26.isTypeMockable(Unknown Source)
at org.mockito.internal.util.MockUtil.typeMockabilityOf(MockUtil.java:78)
at org.mockito.internal.util.MockCreationValidator.validateType(MockCreationValidator.java:22)
at org.mockito.internal.creation.MockSettingsImpl.validatedSettings(MockSettingsImpl.java:267)
at org.mockito.internal.creation.MockSettingsImpl.build(MockSettingsImpl.java:234)
at org.mockito.internal.MockitoCore.mock(MockitoCore.java:86)
at org.mockito.Mockito.mock(Mockito.java:2037)
at org.mockito.Mockito.mock(Mockito.java:1952)
at com.google.protobuf.ServiceTest.<clinit>(ServiceTest.java:42)
... 11 more
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:97)
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.getDefaultPlugin(DefaultMockitoPlugins.java:71)
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:75)
at org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:50)
at org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:27)
at org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:22)
at org.mockito.internal.MockitoCore.<clinit>(MockitoCore.java:73)
at org.mockito.Mockito.<clinit>(Mockito.java:1669)
... 12 more
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.mockito.internal.configuration.plugins.DefaultMockitoPlugins.create(DefaultMockitoPlugins.java:95)
... 19 more
Caused by: java.lang.NoSuchMethodError: 'void org.objectweb.asm.commons.SimpleRemapper.<init>(int, java.lang.String, java.lang.String)'
at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining$WithFullProcessing.writeTo(TypeWriter.java:4243)
at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining.create(TypeWriter.java:4034)
at net.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:2246)
at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase$UsingTypeWriter.make(DynamicType.java:4085)
at net.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:3769)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction.run(ClassInjector.java:2041)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe$Dispatcher$CreationAction.run(ClassInjector.java:1996)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe.doPrivileged(ClassInjector.java:1869)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingUnsafe.<clinit>(ClassInjector.java:1790)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$CreationAction.run(ClassInjector.java:592)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$CreationAction.run(ClassInjector.java:578)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.doPrivileged(ClassInjector.java:291)
at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.<clinit>(ClassInjector.java:201)
at org.mockito.internal.creation.bytebuddy.SubclassInjectionLoader.<init>(SubclassInjectionLoader.java:35)
at org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.<init>(SubclassByteBuddyMockMaker.java:33)
at org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.<init>(ByteBuddyMockMaker.java:29)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
... 22 more
got an error here:
I am sorry, but cannot reproduce such error with any openjdk version.
Did this happen before or after merging byte-buddy-1.18.2?
i have byte-buddy-1.18.2 now. it seems to call a method from asm-9.9.1:0 but the method does not exist.
Caused by: java.lang.NoSuchMethodError: 'void org.objectweb.asm.commons.SimpleRemapper.<init>(int, java.lang.String, java.lang.String)'
as you can't reproduce this issue and it is a byte-buddy issue, i merged this pr.