Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1965978

Summary: py4j: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: py4jAssignee: Raphael Groner <projects.rg>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, mizdebsk, projects.rg
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: py4j-0.10.9-7.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-16 16:21:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1890881, 1927309, 1927313    

Description Tomáš Hrnčiar 2021-05-31 09:57:05 UTC
Description of problem:
Package py4j fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
koji build --scratch f35 py4j-0.10.9-6.fc34.src.rpm

Additional info:
This package is tracked by Koschei. See:

Comment 1 Miro Hrončok 2021-06-04 20:15:23 UTC
This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla.

The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide.

You can either build the package in the side tag, with:

    $ fedpkg build --target=f35-python

Or you can the build and we will eventually build it for you.

Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away.


See also

If you have general questions about the rebuild, please use this mailing list thread:

Comment 2 Miro Hrončok 2021-06-07 22:59:50 UTC
The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build.

Comment 3 Miro Hrončok 2021-06-08 11:19:41 UTC
*** Bug 1968864 has been marked as a duplicate of this bug. ***

Comment 4 Miro Hrončok 2021-06-15 20:28:46 UTC

This is the first reminder (step 3 from

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 5 Raphael Groner 2021-06-16 15:25:38 UTC
There's a test failure with hamcrest or openjdk. Nothing obviously related with Python 3.10 so far.

According to koschei: 
hamcrest 2.2-3.fc35 → 2.2-4.fc35
java-11-openjdk-headless 1: → 1:

Relevant snippet from build.log follows.

    [junit] Testsuite: py4j.BufferGatewayTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.005 sec
    [junit] Testcase: initializationError(py4j.BufferGatewayTest):	Caused an ERROR
    [junit] org/hamcrest/SelfDescribing
    [junit] java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
    [junit] 	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
    [junit] 	at java.base/java.lang.ClassLoader.defineClass(
    [junit] 	at java.base/
    [junit] 	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(
    [junit] 	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(
    [junit] 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(
    [junit] 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
    [junit] 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
    [junit] 	at java.base/java.lang.ClassLoader.loadClass(
    [junit] 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [junit] 	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
    [junit] 	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(
    [junit] 	at java.base/java.lang.reflect.Constructor.newInstance(
    [junit] Caused by: java.lang.ClassNotFoundException: org.hamcrest.SelfDescribing
    [junit] 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(
    [junit] 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(
    [junit] 	at java.base/java.lang.ClassLoader.loadClass(

Comment 6 Mikolaj Izdebski 2021-06-16 16:01:56 UTC
Pull request: