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 2122597 - python-pysam fails to build: mising sources, patch does not apply
Summary: python-pysam fails to build: mising sources, patch does not apply
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pysam
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: david08741
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F38FTBFS F37FTBFS 2107826
TreeView+ depends on / blocked
 
Reported: 2022-08-30 11:09 UTC by Miro Hrončok
Modified: 2022-09-12 17:43 UTC (History)
2 users (show)

Fixed In Version: python-pysam-0.19.1-3.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-12 17:43:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-08-30 11:09:52 UTC
The python-pysam package was updated from 0.19.0 to 0.19.1 in this unrelated commit https://src.fedoraproject.org/rpms/python-pysam/c/a9b44ddba555203965a2912db4a878491e74465e?branch=rawhide

The source tarball wass not uploaded with fepdkg new-sources.

Even when fetched from https://files.pythonhosted.org/packages/source/p/pysam/pysam-0.19.1.tar.gz the build fails with:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Sc9GHQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pysam-0.19.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pysam-0.19.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pysam-0.19.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/b2194969ba42cbec0ebc4960bf1a64c96b19acad.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej
error: Bad exit status from /var/tmp/rpm-tmp.Sc9GHQ (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Sc9GHQ (%prep)




=================

PYC magic number has changed in Python 3.11.0b4, and all packages with Python
bytecode need to be rebuilt. Most of them were rebuilt during the Fedora 37 mass rebuild, but since this package is FTBFS, we were hoping you could fix it and rebuild it manually, or it will cause subtle issues when used.

Tracking bugzilla for all affected packages:
https://bugzilla.redhat.com/show_bug.cgi?id=2107826

Please, fix this and rebuild the package on Fedora 37 and 38.

Comment 1 Fedora Update System 2022-08-30 20:56:37 UTC
FEDORA-2022-d1c0a0a6f9 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d1c0a0a6f9

Comment 3 Fedora Update System 2022-08-31 02:22:17 UTC
FEDORA-2022-d1c0a0a6f9 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-d1c0a0a6f9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d1c0a0a6f9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2022-09-12 17:43:27 UTC
FEDORA-2022-d1c0a0a6f9 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


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