Red Hat Bugzilla – Bug 828008
This package is completely unusable in Fedora 17
Last modified: 2012-06-06 22:54:36 EDT
Created attachment 588992 [details]
A fix for the problem
Description of problem:
The STR2CSTR() function has been removed in ruby-1.9.2, but xchat-ruby still depends on it.
Compiler warning on rebuild:
"xchat-ruby.c:395:3: warning: implicit declaration of function ‘STR2CSTR’ [-Wimplicit-function-declaration]"
Version-Release number of selected component (if applicable):
How reproducible: 100%
Steps to Reproduce:
1. just try to use the package
XChat drops an error in the main window:
"AutoLoad failed for: /usr/lib64/xchat/plugins/xchat-ruby.so
/usr/lib64/xchat/plugins/xchat-ruby.so: undefined symbol: STR2CSTR"
A simple fix attached; it's broke ruby-1.8 compatility at the same time.
Building with patch for rawhide:
Assuming that builds we'll pull to F-17, which looks to be the first version of Fedora with ruby-1.9.x.
It builds in my current Rawhide.
Can you send the error messages (aka "build.log")? - Maybe I can figure out what's wrong.
Here's the log:
Patch is just (slightly) bad; this line "+++ xchat-ruby-1.2-src/src/xchat-ruby.c.orig" shouldn't have ".orig".
That passed; here's F-17:
xchat-ruby-1.2-13.fc17 has been submitted as an update for Fedora 17.
Thanks for fixing the patch.
The new build works fine.
Cool, thanks for trying it out. I'll close this now as the update is on its way to F-17. Thanks.
xchat-ruby-1.2-13.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.