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 bugzilla.redhat.com.
Bug 1865294
Summary: | python-javabridge: FTBFS in Fedora rawhide/f33 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||
Component: | python-javabridge | Assignee: | Raphael Groner <projects.rg> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 33 | CC: | cstratak, projects.rg | ||||
Target Milestone: | --- | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-javabridge-1.0.19-1.fc34, python-javabridge-1.0.19-1.fc33 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-09-08 20:22:44 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: | 1803234, 1785415 | ||||||
Attachments: |
|
Description
Fedora Release Engineering
2020-08-03 20:50:24 UTC
Created attachment 1709058 [details]
build.log
Relevant snippet from build.log: In file included from /usr/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822, from /usr/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4, from _javabridge.c:610: /usr/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ _javabridge.c:615:10: fatal error: jni.h: No such file or directory 615 | #include "jni.h" | ^~~~~~~ Is JNI not available with Java 11 as in Fedora 33? An easy fix could be to explicitly set JAVA_HOME environment variable to let skip the hackery code for trying to find the java binary with version in path. https://github.com/LeeKamentsky/python-javabridge/blob/master/javabridge/locate.py#L71 https://github.com/LeeKamentsky/python-javabridge/blob/master/setup.py#L85 export JAVA_HOME=%{_prefix}/lib/jvm/java This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. (In reply to Raphael Groner from comment #4) > export JAVA_HOME=%{_prefix}/lib/jvm/java PR: https://src.fedoraproject.org/rpms/python-javabridge/pull-request/1 Thanks. Are there any other rebuilds for branches or bodhi updates needed? (In reply to Raphael Groner from comment #7) > Thanks. Are there any other rebuilds for branches or bodhi updates needed? F33 as well as it failed to build there also. FEDORA-2020-cb0a399bf1 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |