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 1543803
Summary: | kabi-dw: Does not use Fedora build flags | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
Component: | kabi-dw | Assignee: | Zamir SUN <sztsian> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | fweimer, skozina, sztsian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kabi-dw-0-0.7.20180308gitb8863d0.fc28 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-30 12:51:09 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: | 1539083 |
Description
Florian Weimer
2018-02-09 11:07:14 UTC
Patch sent upstream. https://github.com/skozina/kabi-dw/pull/5 Upstream accepted the changes. Hi Florian, > https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/ > buildflags.md From the document, I understand I should use %set_build_flags to set CFLAGS and LDFLAGS. However, it won't build on my environment. It shows the following error $ rpmbuild -ba kabi-dw.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gXVRyD + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd /home/zsun/rpmbuild/BUILD + rm -rf kabi-dw-05c38df0dfc2e0e3eeb605a34234a1bf77c7ea7b + /usr/bin/gzip -dc /home/zsun/rpmbuild/SOURCES/kabi-dw-05c38df.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kabi-dw-05c38df0dfc2e0e3eeb605a34234a1bf77c7ea7b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aOdvlA + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd kabi-dw-05c38df0dfc2e0e3eeb605a34234a1bf77c7ea7b + %set_build_flags /var/tmp/rpm-tmp.aOdvlA: line 31: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.aOdvlA (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aOdvlA (%build) My spec file is https://zsun.fedorapeople.org/pub/bugs/1543803/kabi-dw.spec And the log mentioned in the error message is https://zsun.fedorapeople.org/pub/bugs/1543803/rpm-tmp.aOdvlA $ rpm -q rpm-build rpm-build-4.14.1-1.fc27.x86_64 $ rpm -q redhat-rpm-config redhat-rpm-config-70-1.fc27.noarch So can you point me how can I solve this? You need a newer rawhide compose, or build in Koji. (It's been a while since the last successful rawhide compose.) This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. Now blocking by some building issue. https://github.com/skozina/kabi-dw/issues/6 The build issue should be fixed now by https://github.com/skozina/kabi-dw/pull/7 Can we just close this bug then? (In reply to Stanislav Kozina from comment #8) > Can we just close this bug then? Hi Stanislav, Not actually. Can you review the PR in comment 7? After the PR in comment 1 merged, I found some more problem, so I send the PR in comment 7 to fix it. This will be fully fixed by the new PR. Once you merged it I will build and close this bug. Thanks! Ah, thanks for reminder. The changes in PR7 look good, I've merged them. Thanks! kabi-dw-0-0.6.20180308gitb8863d0.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-69920a3bbe kabi-dw-0-0.6.20180308gitb8863d0.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-69920a3bbe kabi-dw-0-0.7.20180308gitb8863d0.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-69920a3bbe kabi-dw-0-0.7.20180308gitb8863d0.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-69920a3bbe kabi-dw-0-0.7.20180308gitb8863d0.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |