Bug 676973
Summary: | fedpkg gives confusing error if rpm-build not installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> |
Component: | fedora-packager | Assignee: | David Cantrell <dcantrell> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dcantrell, dennis, gour, rhbugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | fedora-packager-0.5.6.0-1.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-03-07 20:57:10 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: |
Description
Jens Petersen
2011-02-12 07:07:51 UTC
Ah, we used to get rpm-build when fedpkg was a direct part of fedora-packager. Now that it's a subpackage, which doesn't require fedora-packager, we lost that dep. I've added it in upstream. fedora-packager-0.5.6.0-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/fedora-packager-0.5.6.0-1.fc14 fedora-packager-0.5.6.0-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/fedora-packager-0.5.6.0-1.fc13 fedora-packager-0.5.6.0-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/fedora-packager-0.5.6.0-1.el5 fedora-packager-0.5.6.0-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fedora-packager'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fedora-packager-0.5.6.0-1.el5 Package fedora-packager-0.5.6.0-1.fc15: * should fix your issue, * was pushed to the Fedora 15 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedora-packager-0.5.6.0-1.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/fedora-packager-0.5.6.0-1.fc15 then log in and leave karma (feedback). fedora-packager-0.5.6.0-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.6.0-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.6.0-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. fedora-packager-0.5.6.0-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. Hello, starting to learn about Fedora packaging and following the https://fedoraproject.org/wiki/How_to_create_an_RPM_package doc. Trying with: $ fedpkg --release f25 local sources file doesn't exist. Source files download skipped. rpm: /usr/bin/rpmspec: No such file or directory Could not execute local: Could not get n-v-r-e from '\n' so, on my up-to-date F25 system, the problem is still persising if rpm-build is not installed! After installing rpm-build I get: $ fedpkg --release f25 local sources file doesn't exist. Source files download skipped. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hgv7rX + umask 022 + cd /home/gour/prj/fedora/howdy + '[' /home/gour/rpmbuild/BUILDROOT/howdy-1-1.fc25.x86_64 '!=' / ']' + rm -rf /home/gour/rpmbuild/BUILDROOT/howdy-1-1.fc25.x86_64 ++ dirname /home/gour/rpmbuild/BUILDROOT/howdy-1-1.fc25.x86_64 + mkdir -p /home/gour/rpmbuild/BUILDROOT + mkdir /home/gour/rpmbuild/BUILDROOT/howdy-1-1.fc25.x86_64 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: howdy-1-1.fc25.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/gour/rpmbuild/BUILDROOT/howdy-1-1.fc25.x86_64 Wrote: /home/gour/prj/fedora/howdy/howdy-1-1.fc25.src.rpm Wrote: /home/gour/prj/fedora/howdy/x86_64/howdy-1-1.fc25.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ciGcCx + umask 022 + cd /home/gour/prj/fedora/howdy + /usr/bin/rm -rf /home/gour/rpmbuild/BUILDROOT/howdy-1-1.fc25.x86_64 + exit 0 so it would be nice to fix the toolchain to install rpm-build via some dependency. |