Bug 191611

Summary: subversion fails to build in mock
Product: [Fedora] Fedora Reporter: Garrick Staples <garrick>
Component: subversionAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: urgent    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.2-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-13 11:46:39 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:
Bug Depends On:    
Bug Blocks: 191529    
Attachments:
Description Flags
failed mock build log
none
macro the ruby sitelibdir none

Description Garrick Staples 2006-05-13 20:31:06 UTC
Description of problem:
Fails to build in mock with FC-devel-i386 config.  Attaching buildlog.

Comment 1 Garrick Staples 2006-05-13 20:31:06 UTC
Created attachment 128982 [details]
failed mock build log

Comment 2 Garrick Staples 2006-05-14 02:30:35 UTC
Created attachment 128988 [details]
macro the ruby sitelibdir

I haven't been able to test this in mock because rawhide is currently broken,
but I think this patch fixes the issue.

Comment 3 Joe Orton 2006-05-15 07:13:56 UTC
I don't really see the problem, the paths look right, and this isn't failing in
our internal build system; does it fail if the SRPM is rebuilt using "rpm
--rebuild"?

Comment 4 Garrick Staples 2006-05-15 09:35:21 UTC
checking where to install Ruby scripts... /usr/lib/ruby/site_ruby/1.8
checking where to install Ruby extensions... /usr/lib/ruby/site_ruby/1.8/i386-linux

The subversion spec uses %{_libdir}/site_ruby which is the cause of the build
failure.

It builds fine with 'rpm --rebuild' under FC5.  But under mock with devel (FC6),
ruby is installing sitelibs into a different directory.  

The spec patch queries ruby (in the same way as the subversion configure script)
for the correct location ensuring that the correct path is always found.

Maybe this is actually a bug in FC6's ruby?  I don't know.  I don't know
anything about ruby.  But either way, this patch makes the subversion spec
"always correct" and more portable.

Comment 5 Joe Orton 2006-06-02 10:32:19 UTC
The build is still failing on x86_64 in the FC6 buildroot with this patch applied.

The build there says:
 
checking where to install Ruby scripts... /usr/lib/ruby/site_ruby/1.8
checking where to install Ruby extensions...
/usr/lib/ruby/site_ruby/usr/lib64/ruby/site_ruby/1.8/x86_64-linux




Comment 6 Jesse Keating 2006-07-10 19:51:35 UTC
Ping.  A mass rebuild is scheduled for tomorrow, July 11th.  Please try to have
your package fixed by then.

Comment 7 Joe Orton 2006-07-13 11:46:39 UTC
Finally fixed in Raw Hide, sorry for the delay.