Bug 2342281
| Summary: | quilt setup doesn't work on Fedora 41 and newer | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andreas Schneider <asn> |
| Component: | quilt | Assignee: | Josh Boyer <jwboyer> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | asn, besser82, hobbes1069, jwboyer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | quilt-0.68-3.fc42 quilt-0.68-3.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-03-18 00:16:16 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: | |||
The rpm %mkbuilddir does: setting SOURCE_DATE_EPOCH=1737936000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.alwjxD + umask 022 + cd /var/tmp/quiltSPHKQp/build/rust-tree-sitter-0.24.7-build + test -d /var/tmp/quiltSPHKQp/build/rust-tree-sitter-0.24.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /var/tmp/quiltSPHKQp/build/rust-tree-sitter-0.24.7-build + /usr/bin/rm -rf /var/tmp/quiltSPHKQp/build/rust-tree-sitter-0.24.7-build + /usr/bin/mkdir -p /var/tmp/quiltSPHKQp/build/rust-tree-sitter-0.24.7-build + /usr/bin/mkdir -p /var/tmp/quiltSPHKQp/build/rust-tree-sitter-0.24.7-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Looks like it copies then rust-tree-sitter-0.24.7-build to the current directory. Adding a me too here... The RPM change is seriously messing up my packaging workflow. FEDORA-2025-6d4f48216d (quilt-0.68-3.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-6d4f48216d FEDORA-2025-57ab83d114 (quilt-0.68-3.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-57ab83d114 FEDORA-2025-57ab83d114 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-57ab83d114` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-57ab83d114 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-6d4f48216d has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-6d4f48216d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6d4f48216d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-6d4f48216d (quilt-0.68-3.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-57ab83d114 (quilt-0.68-3.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
quilt setup --fast -v *.spec doesn't work with Fedora 41. The reason is that rpm creates the package directory (e.g. tree-sitter-0.24.7) in a subdirectory (rust-tree-sitter-0.24.7-build). quilt is not aware of the additional subdirectory which is created and fails: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Dbl3fm (%prep) The %prep section of rust-tree-sitter.spec failed; results may be incomplete ln: failed to create symbolic link 'tree-sitter-0.24.7/patches': No such file or directory /usr/share/quilt/setup: line 532: cd: tree-sitter-0.24.7: No such file or directory /usr/share/quilt/setup: line 543: tree-sitter-0.24.7/series: No such file or directory /usr/share/quilt/setup: line 546: tree-sitter-0.24.7/series: No such file or directory ln: failed to create symbolic link 'tree-sitter-0.24.7/patches': No such file or directory /usr/share/quilt/setup: line 532: cd: tree-sitter-0.24.7: No such file or directory /usr/share/quilt/setup: line 543: tree-sitter-0.24.7/series: No such file or directory /usr/share/quilt/setup: line 546: tree-sitter-0.24.7/series: No such file or directory Reproducible: Always Steps to Reproduce: 1. Clone a fedora rpm package 2. Run: quilt setup --fast -v *.spec