Bug 2124809
Summary: | "fedpkg local" does not show rpmbuild output and does not report an rpmbuild error | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
Component: | fedpkg | Assignee: | Ondřej Nosek <onosek> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cqi, jkeating, lsedlar, onosek, s |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | fedpkg-1.43-2.fc36 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-09-18 01:13:08 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: |
Description
Petr Pisar
2022-09-07 07:22:41 UTC
... when I downgrade fedpkg back to 1.42-5.fc37, it fails like this I have to look what is happening, but need to say that if you reverted to fedpkg 1.42-x, you also have to revert rpkg to 1.64-x. Fedpkg-1.43 should cooperate only with rpkg-1.65. Thanks. Indeed downgrading rpkg together with fedpkg restores the functionality. Just a clarification: You don't need to clone anonymously. "fedpkg local" does not work regardless what git remote URL is in the repository. It looks like after refactoring the nearby code I don't properly return back an exit code. You can still look at the result by checking the log file: ".build-xxxx". On my system, it says there are missing dependencies. Do you mean build-time dependencies for the package. That shouldn't be the cause. I've already installed them. I cleaned up the git tree and retried it to inspect the .build-* log. To my surprise the package was built. Now it seems that "fedpkg clone" works. It only does not echo the rpmbuild output. Would it be possible to return logging to stdout, or at least print that rpmbuild has been exected? I am already trying to get the "show output" functionality back while keeping the security (this was the original purpose - to avoid shell=True). But I am on the good way I would say. FEDORA-2022-8c1cd50d13 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c1cd50d13 FEDORA-2022-8c1cd50d13 has been pushed to the Fedora 36 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-8c1cd50d13` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c1cd50d13 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-8c1cd50d13 has been pushed to the Fedora 36 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-8c1cd50d13` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c1cd50d13 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-8c1cd50d13 has been pushed to the Fedora 36 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-8c1cd50d13` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8c1cd50d13 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-8c1cd50d13 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-9fb301a544 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9fb301a544 FEDORA-2023-9fb301a544 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |