Bug 989046 - nokogiri prints LibXML warning
Summary: nokogiri prints LibXML warning
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-nokogiri
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-27 05:32 UTC by Ken Dreyer
Modified: 2014-02-07 04:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-07 04:44:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ken Dreyer 2013-07-27 05:32:23 UTC
On Fedora 19, with the following packages:

libxml2-2.9.1-1.fc19.i686
rubygem-nokogiri-1.5.9-1.fc19.i686

Any scripts using nokogiri print a warning that nokogiri was built against a different libxml version. A simple reproduction case:

$ ruby -rnokogiri -e ''
WARNING: Nokogiri was built against LibXML version 2.9.0, but has dynamically loaded 2.9.1

Koji confirms that nokogiri was indeed originally built against libxml2-2.9.0-4.fc19: http://kojipkgs.fedoraproject.org//packages/rubygem-nokogiri/1.5.9/1.fc19/data/logs/i686/root.log

My guess is that a simple rebuild for F19 would fix this.

Comment 1 Ken Dreyer 2014-02-07 04:44:48 UTC
Looks like this is no longer an issue on Fedora 20 (rubygem-nokogiri-1.6.1-1.fc20.1)

$ ruby -rnokogiri -e ''

is silent.


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