Bug 2226219 - python-jnius: FTBFS in Fedora rawhide/f39
Summary: python-jnius: FTBFS in Fedora rawhide/f39
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jnius
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-07-25 19:23 UTC by Fedora Release Engineering
Modified: 2023-07-29 21:51 UTC (History)
2 users (show)

Fixed In Version: python-jnius-1.3.0-16.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-29 21:51:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (18.65 KB, text/plain)
2023-07-25 19:23 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2023-07-25 19:23 UTC, Fedora Release Engineering
no flags Details
state.log (1.03 KB, text/plain)
2023-07-25 19:23 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2023-07-25 19:23:46 UTC
python-jnius failed to build from source in Fedora rawhide/f39

https://koji.fedoraproject.org/koji/taskinfo?taskID=103685023


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Please fix python-jnius at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
python-jnius will be orphaned. Before branching of Fedora 40,
python-jnius will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2023-07-25 19:23:50 UTC
Created attachment 1979047 [details]
build.log

Comment 2 Fedora Release Engineering 2023-07-25 19:23:54 UTC
Created attachment 1979048 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2023-07-25 19:23:56 UTC
Created attachment 1979049 [details]
state.log

Comment 4 Raphael Groner 2023-07-29 10:20:52 UTC
/usr/lib64/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /builddir/build/BUILD/pyjnius-1.3.0/jnius/jnius.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: jnius/config.pxi:1:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: jnius/config.pxi:5:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: jnius/jnius.pyx:102:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: jnius/config.pxi:1:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: jnius/config.pxi:5:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: jnius/jnius_jvm_dlopen.pxi:89:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
warning: jnius/jnius.pyx:113:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
Error compiling Cython file:
------------------------------------------------------------
...
    cdef char *buff
    py_bytes = py_uni.encode('utf-16')
    # skip byte-order mark
    buff = (<char *>py_bytes) + sizeof(jchar)
    j_strlen = len(py_bytes) / sizeof(jchar) - 1
                                             ^
------------------------------------------------------------
jnius/jnius_conversion.pxi:521:45: Cannot assign type 'double' to 'jsize'
Compiling jnius/jnius.pyx because it changed.
[1/1] Cythonizing jnius/jnius.pyx
Traceback (most recent call last):
…
  File "/usr/lib64/python3.12/site-packages/Cython/Distutils/build_ext.py", line 122, in build_extension
    new_ext = cythonize(
              ^^^^^^^^^^
  File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
    cythonize_one(*args)
  File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: jnius/jnius.pyx


Note You need to log in before you can comment on or make changes to this bug.