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): 1.2-12 How reproducible: 100% Steps to Reproduce: 1. just try to use the package 2. 3. Actual results: 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" Expected results: . Additional info: A simple fix attached; it's broke ruby-1.8 compatility at the same time.
Building with patch for rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=4127663 Assuming that builds we'll pull to F-17, which looks to be the first version of Fedora with ruby-1.9.x.
Resetting component.
Hi Conrad, 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: http://koji.fedoraproject.org/koji/getfile?taskID=4127665&name=build.log Patch is just (slightly) bad; this line "+++ xchat-ruby-1.2-src/src/xchat-ruby.c.orig" shouldn't have ".orig". New build: http://koji.fedoraproject.org/koji/taskinfo?taskID=4129608
That passed; here's F-17: http://koji.fedoraproject.org/koji/taskinfo?taskID=4129646
xchat-ruby-1.2-13.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/xchat-ruby-1.2-13.fc17
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.