Bug 1415547

Summary: Rebuilding tigervnc SRPM stops at applying Patch101
Product: Red Hat Enterprise Linux 7 Reporter: Tsukahara Ken <tsukahara.ken>
Component: tigervncAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.3CC: jkoten, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 20:50:05 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: 1393395    

Description Tsukahara Ken 2017-01-23 02:56:22 UTC
Description of problem:
Rebuilding tigervnc SRPM stops at applying Patch101(0001-rpath-hack.patch).

Version-Release number of selected component (if applicable):
tigervnc-1.3.1-9.el7.src.rpm
xorg-x11-server-source-1.17.2-22.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. rpm -ivh tigervnc-1.3.1-9.el7.src.rpm
2. rpmbuild -bp tigervnc.spec

Actual results:
# rpmbuild -bp tigervnc.spec
>> snip <<
+ echo 'Patch #101 (0001-rpath-hack.patch):'
Patch #101 (0001-rpath-hack.patch):
+ /usr/bin/cat /root/rpmbuild/SOURCES/0001-rpath-hack.patch
+ /usr/bin/patch -p1 -b --suffix .rpath --fuzz=0
patching file configure.ac
Reversed (or previously applied) patch detected!  Assume -R? [n]
>> stop <<

Expected results:
# rpmbuild -bp tigervnc.spec
>> snip <<
Patch #15002 (tigervnc-pullrequest-402.patch):
+ /usr/bin/cat /root/rpmbuild/SOURCES/tigervnc-pullrequest-402.patch
+ /usr/bin/patch -p1 -b --suffix .leakage --fuzz=0
patching file vncviewer/X11PixelBuffer.cxx
Hunk #1 succeeded at 195 (offset 8 lines).
Hunk #2 succeeded at 225 (offset 8 lines).
+ exit 0

Additional info:
Patch101 has already been applied to xorg-x11-server-source-1.17.2-22(maybe since 1.17.2-18). Patch101 should be dropped from tigervnc, and add BuildRequires: xorg-x11-server-source >= 1.17.2-18.

Comment 1 Jan Grulich 2017-01-23 06:49:29 UTC
Will be fixed with the next tigervnc update.

Comment 2 Tsukahara Ken 2017-01-23 09:00:25 UTC
OK, I see. Thanks!

Comment 7 errata-xmlrpc 2017-08-01 20:50:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:2000