Bug 709538 - fails to build without downstream patches
Summary: fails to build without downstream patches
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-31 23:24 UTC by Kamil Dudka
Modified: 2011-08-10 15:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-10 12:35:08 UTC
Target Upstream Version:


Attachments (Terms of Use)
proposed fix (710 bytes, patch)
2011-05-31 23:25 UTC, Kamil Dudka
no flags Details | Diff

Description Kamil Dudka 2011-05-31 23:24:55 UTC
Version-Release number of selected component (if applicable):
libguestfs-1.7.17-17.el6


Steps to Reproduce:
1. rpmbuild --define '__patch /bin/true' --rebuild libguestfs-1.7.17-17.el6.src.rpm

  
Actual results:
+ chmod +x regressions/test-guestfish-tilde.sh
chmod: cannot access `regressions/test-guestfish-tilde.sh': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.fDpYWh (%prep)


Additional info:
The proposed change is required for Coverity to scan defects in downstream
patches separately.

Comment 1 Kamil Dudka 2011-05-31 23:25:51 UTC
Created attachment 502134 [details]
proposed fix

Comment 3 Richard W.M. Jones 2011-06-10 10:04:43 UTC
dev-ack for 6.2.

Comment 4 Richard W.M. Jones 2011-08-10 12:20:43 UTC
I'm changing my mind on this after trying to make a spec
file which conditionally builds without patches.

This change would make the spec file more complex
and fragile, and I just don't understand the gain from
doing this.  We already run Coverity upstream on libguestfs
and we already include fixes upstream for bugs that Coverity
finds.

Furthermore, libguestfs in RHEL 6 is very close to upstream.
There are only about 5 patches specific to RHEL.  If Coverity
finds a bug in the RHEL 6 package (with all the patches)
then it is highly likely that it's also a bug for upstream,
and either way we want to hear about it.  Please report it
in BZ or to our upstream mailing list.

Comment 5 RHEL Program Management 2011-08-10 12:35:08 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Comment 8 Kamil Dudka 2011-08-10 15:21:18 UTC
(In reply to comment #7)
> The patch doesn't apply.

Indeed.  You did not tell the patch did not apply (and I did not realize you had completely changed the way you apply patches in a minor RHEL update).  Then the reject makes sense, of course.


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