Bug 2104093
Summary: | native python-javabridge depends on to be removed i686 java-openjdk packages | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> |
Component: | python-javabridge | Assignee: | Raphael Groner <projects.rg> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 37 | CC: | java-maint-sig, jhuttana, jvanek, mhroncok, pmikova, projects.rg, sgehwolf, zzambers |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-10-04 13:45:11 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2117176, 2016048, 2024265, 2045102, 2045109, 2083750 |
Description
jiri vanek
2022-07-05 14:49:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37. *** Bug 2051204 has been marked as a duplicate of this bug. *** Hello, This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs). 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. Is it realistic to have this fixed in time for Fedora 37 GA, or can I retire the package to avoid blocked upgrades to Fedora 37? It can be unretired and shipped via an update after the GA. The Fedora Engineering Steering Committee has approved [1] to retire the remaining non-installable packages still depending on Python 3.10 from Fedora 37 and Rawhide 1-2 days before the final freeze. We plan to retire this package this Sunday: 2022-10-02. If you wish to fix this package for time for Fedora 37 GA, please request a freeze exception [2]. [1] https://pagure.io/fesco/issue/2876 [2] https://qa.fedoraproject.org/blockerbugs/propose_bug Two issues here: 1) The package already has: # https://github.com/LeeKamentsky/python-javabridge/issues/170 ExclusiveArch: i686 x86_64 So simply adding: ExclusiveArch: %{java_arches} Is not possible. This can be either fixed by: # https://github.com/LeeKamentsky/python-javabridge/issues/170 ExclusiveArch: x86_64 Which is quite simple yet lacks the beauty of using %{java_arches} and can never be backported to Fedora 35/36 or EL. For a back portable solution, either an %if can be used: # https://github.com/LeeKamentsky/python-javabridge/issues/170 %if 0%{?fedora} < 37 && 0%{?rhel} < 10 ExclusiveArch: i686 x86_64 %else ExclusiveArch: i686 %endif Or some magic (I'd be happy to have a nicer way of expressing intersection, but I found none): # https://github.com/LeeKamentsky/python-javabridge/issues/170 %global upstream_arches i686 x86_64 # the complex comm/tr/echo/sort expression means: intersection ExclusiveArch: %(comm -12 <(echo %{java_arches} | tr ' ' '\n' | sort) <(echo %{upstream_arches} | tr ' ' '\n' | sort) | tr '\n' ' ') 2) The package does not build even on x86_64: Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: no java2cpython in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2429) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818) at java.base/java.lang.System.loadLibrary(System.java:1989) at org.cellprofiler.javabridge.CPython.<clinit>(CPython.java:117) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) EEEE..................................Exception in thread "Thread-0" java.lang.NoSuchMethodError: Ljava/lang/String;.copyValueOf([C)Ljava/lang/String; ....................................Exception in thread "Thread-0" java.lang.NoSuchFieldError: NoSuchField .Exception in thread "Thread-0" java.lang.NoClassDefFoundError: no/such/class Caused by: java.lang.ClassNotFoundException: no.such.class at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ..Exception in thread "Thread-0" java.lang.NoSuchFieldError: NoSuchField .Exception in thread "Thread-0" java.lang.NoClassDefFoundError: no/such/class Caused by: java.lang.ClassNotFoundException: no.such.class at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ................................Exception in thread "Thread-0" java.util.concurrent.CancellationException at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:121) at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) .........................Exception in thread "Thread-0" java.lang.NoSuchFieldError: java.lang.Object.NoSuchField I ..Exception in thread "Thread-0" java.lang.NoSuchFieldError: java.lang.Object.NoSuchField I ......Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:467) E.............Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at org.cellprofiler.javabridge.CPythonInvocationHandler.<init>(CPythonInvocationHandler.java:25) Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at org.cellprofiler.javabridge.CPythonInvocationHandler.<init>(CPythonInvocationHandler.java:25) Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at org.cellprofiler.javabridge.CPythonInvocationHandler.<init>(CPythonInvocationHandler.java:25) Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at org.cellprofiler.javabridge.CPythonInvocationHandler.<init>(CPythonInvocationHandler.java:25) Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class org.cellprofiler.javabridge.CPython at org.cellprofiler.javabridge.CPythonInvocationHandler.<init>(CPythonInvocationHandler.java:25) EEEEE...... ====================================================================== ERROR: test_01_01_exec (javabridge.tests.test_cpython.TestCPython.test_01_01_exec) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_cpython.py", line 16, in setUp self.cpython = javabridge.JClassWrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 231, in __init__ self.klass = J.get_class_wrapper(J.class_for_name(class_name), True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1745, in class_for_name return static_call('java/lang/Class', 'forName', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 943, in static_call result = fn(*nice_args) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 923, in fn raise JavaException(jexception) javabridge.jutil.JavaException: no java2cpython in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib -------------------- >> begin captured logging << -------------------- javabridge.jutil: DEBUG: Creating JVM object javabridge.jutil: DEBUG: Signalling caller --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_01_02_locals (javabridge.tests.test_cpython.TestCPython.test_01_02_locals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_cpython.py", line 16, in setUp self.cpython = javabridge.JClassWrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 231, in __init__ self.klass = J.get_class_wrapper(J.class_for_name(class_name), True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1745, in class_for_name return static_call('java/lang/Class', 'forName', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 943, in static_call result = fn(*nice_args) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 923, in fn raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_01_03_globals (javabridge.tests.test_cpython.TestCPython.test_01_03_globals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_cpython.py", line 16, in setUp self.cpython = javabridge.JClassWrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 231, in __init__ self.klass = J.get_class_wrapper(J.class_for_name(class_name), True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1745, in class_for_name return static_call('java/lang/Class', 'forName', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 943, in static_call result = fn(*nice_args) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 923, in fn raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_01_04_globals_equals_locals (javabridge.tests.test_cpython.TestCPython.test_01_04_globals_equals_locals) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_cpython.py", line 16, in setUp self.cpython = javabridge.JClassWrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 231, in __init__ self.klass = J.get_class_wrapper(J.class_for_name(class_name), True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1745, in class_for_name return static_call('java/lang/Class', 'forName', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 943, in static_call result = fn(*nice_args) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 923, in fn raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_12_03_jref_create_and_lock (javabridge.tests.test_jutil.TestJutil.test_12_03_jref_create_and_lock) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_jutil.py", line 644, in test_12_03_jref_create_and_lock cpython = javabridge.JClassWrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 231, in __init__ self.klass = J.get_class_wrapper(J.class_for_name(class_name), True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1745, in class_for_name return static_call('java/lang/Class', 'forName', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 943, in static_call result = fn(*nice_args) ^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 923, in fn raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_01_01_init (javabridge.tests.test_wrappers.TestJProxy.test_01_01_init) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_wrappers.py", line 129, in test_01_01_init J.JProxy('java.lang.Runnable', dict(run=whatever)) File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 407, in __init__ handler = J.make_instance( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1733, in make_instance raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_01_02_runnable (javabridge.tests.test_wrappers.TestJProxy.test_01_02_runnable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_wrappers.py", line 135, in test_01_02_runnable runnable = J.JProxy('java.lang.Runnable', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 407, in __init__ handler = J.make_instance( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1733, in make_instance raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_01_03_runnable_class (javabridge.tests.test_wrappers.TestJProxy.test_01_03_runnable_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_wrappers.py", line 149, in test_01_03_runnable_class proxy = MyProxy() ^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_wrappers.py", line 143, in __init__ J.JProxy.__init__(self, 'java.lang.Runnable') File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 407, in __init__ handler = J.make_instance( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1733, in make_instance raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_01_04_args (javabridge.tests.test_wrappers.TestJProxy.test_01_04_args) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_wrappers.py", line 158, in test_01_04_args proxy = J.JProxy('java.util.Observer', dict(update=update)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 407, in __init__ handler = J.make_instance( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1733, in make_instance raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ====================================================================== ERROR: test_01_05_return_value (javabridge.tests.test_wrappers.TestJProxy.test_01_05_return_value) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/tests/test_wrappers.py", line 164, in test_01_05_return_value proxy = J.JProxy('java.util.concurrent.Callable', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/wrappers.py", line 407, in __init__ handler = J.make_instance( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-javabridge-61942d217dd2edbd0733a99710493e4a993a9e63/javabridge/jutil.py", line 1733, in make_instance raise JavaException(jexception) javabridge.jutil.JavaException: Could not initialize class org.cellprofiler.javabridge.CPython ---------------------------------------------------------------------- Ran 168 tests in 0.849s You're right. x86_64 seems the one and only architecture we can officially support currently, see upstream issue #170 reported 2019-11-15 (so several years ago). Though upstream is aware with some recent fixes e.g. issue #197 for Python 3.11 worth to try another build with latest snapshot. Maybe it's now too short before GA. Please feel free to retire temporarily as suggested. Sorry for me not being involved that deep any more in packaging, maybe I'd orphan this package though upstream is active, latest commit done 2022-06-10. Retired in dist-git. Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). All subpackages of a package against which this bug was filled are now installable or removed from Fedora 38. Thanks for taking care of it! Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok). All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37. Thanks for taking care of it! |