Bug 894022

Summary: Move ruby from libdb4 to libdb
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: rubyAssignee: Vít Ondruch <vondruch>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bkabrda, gliverman, jeremy, mmorsi, mtasaka, tagoh, vanmeeuwen+fedora, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-21 00:03:31 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:

Description Petr Pisar 2013-01-10 14:39:59 UTC
Current ruby.spec declares:

  BuildRequires: db4-devel

Berkeley DB 4 is deprecated in favour of version 5. Please change build- and run-time dependency from db4 to libdb.

(This is good to prevent crashes when dlopening shared objects compiled against libdb.so.)

Comment 1 Vít Ondruch 2013-01-18 11:42:01 UTC
Thank you for heads ups.

Fixing it just in Ruby 2.0 branch, which will go into Rawhide soon. No need for change in older releases IMO.

Comment 2 Mamoru TASAKA 2013-01-21 00:03:31 UTC
Fixed in ruby-1.9.3.362-26.fc19 (ruby 2.0 will also use libdb(5))

Comment 3 gliverman 2013-11-10 04:32:53 UTC
In trying to use ruby-2.0.0.247-15 from rawhide to build an rpm for el6 I ran into 'libdb-devel' not being available... am I missing something or should I just build it against db4-devel on el6?

Comment 4 Vít Ondruch 2013-11-11 08:56:57 UTC
db4-devel should be the right choice for el6.