Bug 2185007

Summary: rubygem-xmlparser: broken because it calls undefined ENC_TO_ENCINDEX function
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: rubygem-xmlparserAssignee: Ulrich Schwickerath <ulrich.schwickerath>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: ulrich.schwickerath
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2137512    

Description Florian Weimer 2023-04-06 13:41:57 UTC
rubygem-xmlparser-0.7.2.1-37.fc38.x86_64 does not load because the C sources call the ENC_TO_ENCINDEX function, which is not defined:

$ ruby -e 'require "xmlparser"'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:159:in `require': /usr/lib64/gems/ruby/xmlparser-0.7.2.1/xmlparser.so: undefined symbol: ENC_TO_ENCINDEX - /usr/lib64/gems/ruby/xmlparser-0.7.2.1/xmlparser.so (LoadError)
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:159:in `rescue in require'
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:39:in `require'
	from -e:1:in `<main>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- xmlparser (LoadError)
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from -e:1:in `<main>'

Comment 1 Ulrich Schwickerath 2023-04-20 11:49:04 UTC
Looking at the upstream there does not seem to be an update (yet?). 
The missing symbol is defined in https://github.com/ruby/ruby/blob/master/encoding.c it seems.

Comment 2 Fedora Release Engineering 2023-08-16 07:13:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.