Bug 2261576 - python-jnius: FTBFS in Fedora rawhide/f40
Summary: python-jnius: FTBFS in Fedora rawhide/f40
Keywords:
Status: CLOSED DUPLICATE of bug 2254033
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: 1996356 2254033
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-01-29 21:47 UTC by Fedora Release Engineering
Modified: 2024-02-26 15:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-02-26 15:24:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (20.16 KB, text/plain)
2024-01-29 21:47 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2024-01-29 21:47 UTC, Fedora Release Engineering
no flags Details
state.log (1.66 KB, text/plain)
2024-01-29 21:47 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2024-01-29 21:47:07 UTC
python-jnius failed to build from source in Fedora rawhide/f40

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_40_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 41,
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 2024-01-29 21:47:12 UTC
Created attachment 2013216 [details]
build.log

Comment 2 Fedora Release Engineering 2024-01-29 21:47:17 UTC
Created attachment 2013217 [details]
root.log

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

Comment 3 Fedora Release Engineering 2024-01-29 21:47:21 UTC
Created attachment 2013218 [details]
state.log

Comment 4 Raphael Groner 2024-01-30 10:40:19 UTC
Bug with JNI, obviously. BTW There's new upstream release 1.6.x available with compatibility for new Cython 3.

gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I/usr/lib/jvm/java-17-openjdk-17.0.10.0.7-1.fc40.x86_64/include -I/usr/lib/jvm/java-17-openjdk-17.0.10.0.7-1.fc40.x86_64/include/linux -I/usr/include/python3.12 -c jnius/jnius.c -o build/temp.linux-x86_64-cpython-312/jnius/jnius.o
jnius/jnius.c: In function ‘__pyx_f_5jnius_get_jnienv’:
jnius/jnius.c:5658:76: error: passing argument 2 of ‘(*__pyx_v_5jnius_jvm)->AttachCurrentThread’ from incompatible pointer type [-Wincompatible-pointer-types]
 5658 |   (void)((__pyx_v_5jnius_jvm[0])->AttachCurrentThread(__pyx_v_5jnius_jvm, (&__pyx_v_env), NULL));
      |                                                                           ~^~~~~~~~~~~~~
      |                                                                            |
      |                                                                            const struct JNINativeInterface_ ***
jnius/jnius.c:5658:76: note: expected ‘void **’ but argument is of type ‘const struct JNINativeInterface_ ***’

Comment 5 Raphael Groner 2024-02-26 15:24:59 UTC

*** This bug has been marked as a duplicate of bug 2254033 ***


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