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 1897070
Summary: | javapackages-tools fails to build with Python 3.10: uses a python?.? glob in %files | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | javapackages-tools | Assignee: | Mikolaj Izdebski <mizdebsk> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | java-sig-commits, mat.booth, mhroncok, mizdebsk, msrb, sochotni, thrnciar |
Target Milestone: | --- | Keywords: | Reopened, Triaged, Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | javapackages-tools-6.0.0~alpha-1.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-13 16:39:38 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: | |||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2020-11-12 08:50:53 UTC
A rebuild should be enough to make this go away. A rebuild fixes this, but a new error is: File not found: /builddir/build/BUILDROOT/javapackages-tools-5.3.0-13.fc34.x86_64/usr/lib/python?.?/site-packages/javapackages File not found: /builddir/build/BUILDROOT/javapackages-tools-5.3.0-13.fc34.x86_64/usr/lib/python?.?/site-packages/javapackages-*.egg-info We have mass fixed all such globs in the Fedora spec files, but this glob is **not** in the spec file, it is in the "upstream" tarball: $ cat javapackages-5.3.0/install ... exec >files-python (cd ./python && "${pyinterpreter}" setup.py install -O1 --skip-build --prefix "${prefix}" --root "${DEST}") >&2 echo "${prefix}/lib/python?.?/site-packages/javapackages" echo "${prefix}/lib/python?.?/site-packages/javapackages-*.egg-info" Forwarded upstream: https://github.com/fedora-java/javapackages/issues/85 The issue described in this bug report does not affect Fedora (as Python 3.10 is not even in Fedora yet) and it has been addressed upstream, so I'm closing the bug with resolution UPSTREAM as no change is required to Fedora javapackages-tools package at this point. Upstream change will be eventually included in Fedora package by updating to a future upstream release, or by backporting upstream patch. We are already running test builds with Python 3.10 as a preparation for the actual change in Fedora. This is explained in the already approved https://fedoraproject.org/wiki/Changes/Python3.10 Fedora 35 change. However, there is not much Python packages requiring this (possibly none), so I guess it is not very urgent. We use bugzilla to see what problems are reported and what problems are not, please don't close this bug until it is fixed in Fedora. We need this fixed in dist git (no build is needed). Thanks. Just a heads up that we plan to update Python in Rawhide in ~1 month. Thu May 13 18:38:13 2021 javapackages-tools-6.0.0~alpha-1.fc35 tagged into f35 by bodhi [still active] Thanks! |