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 1967204
Summary: | pygrib fails to build in Fedora 35+: Broken RPATH will fail rpmbuild | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | pygrib | Assignee: | Jos de Kloe <josdekloe> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | josdekloe, mhroncok, thrnciar |
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: | 2021-06-17 15:33:42 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: | |
Embargoed: | |||
Bug Depends On: | 1968870 | ||
Bug Blocks: | 1890881, 1927309, 1927313 |
Description
Tomáš Hrnčiar
2021-06-02 15:39:42 UTC
Seems to me this is something added by cython. There is no hint whatsoever in the pygrib source code that would explain that rpath is explicitly added. Are there other cython build packages with the same issue? setup.py has: ext_modules = [ setuptools.Extension( "pygrib._pygrib", ["pygrib/_pygrib.pyx"], include_dirs=incdirs, library_dirs=libdirs, runtime_library_dirs=libdirs, libraries=["eccodes"], ) ] I think "runtime_library_dirs" is rpath. ok thanks, I'll patch the setup.py file to see if that fixes it. Problem has been patched now, see commit 44c3cb497c9c0f5e09e957505a5166d1b4d473be. It builds now in a local mock copr build for fedora-rawhide-python310 and also builds correctly in regular rawhide. 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. Thanks. See also https://fedoraproject.org/wiki/Changes/Python3.10 If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/ The f35-python side tag has been merged to Rawhide. From now on, build as you would normally build. *** Bug 1968866 has been marked as a duplicate of this bug. *** |