Bug 191611 - subversion fails to build in mock
Summary: subversion fails to build in mock
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: subversion
Version: rawhide
Hardware: All
OS: Linux
urgent
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: BuildReqBlocker
TreeView+ depends on / blocked
 
Reported: 2006-05-13 20:31 UTC by Garrick Staples
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 1.3.2-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-13 11:46:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
failed mock build log (1.12 MB, text/plain)
2006-05-13 20:31 UTC, Garrick Staples
no flags Details
macro the ruby sitelibdir (397 bytes, text/plain)
2006-05-14 02:30 UTC, Garrick Staples
no flags Details

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.


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