uwsgi-plugin-ruby-2.0.21-5.fc38.x86_64 cannot be used because the ruby19 plugin cannot be loaded. Reproducible: Always Steps to Reproduce: 1. uwsgi --plugins ruby19 -s :3031 -M -p 4 -m --post-buffering 4096 --rack config.ru Actual Results: !!! UNABLE to load uWSGI plugin: /usr/lib64/uwsgi/ruby19_plugin.so: undefined symbol: rb_obj_taint !!! Expected Results: Something else, maybe an error message about the --rack argument?
I'm a bit puzzled as to how this ever built against any ruby 3.2.0 package in the first place. In any case, some reading of the ruby side seems to indicate that these functions haven't done anything since ruby 2.7, so I'll gate that out.
(In reply to Ralf Ertzinger from comment #1) > I'm a bit puzzled as to how this ever built against any ruby 3.2.0 package > in the first place. GCC allows calling undeclared functions. We are trying to change that for Fedora 39/40, which is why DJ discovered this issue. <https://fedoraproject.org/wiki/Changes/PortingToModernC> <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
FEDORA-2023-eeb6beec79 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-eeb6beec79
(In reply to Fedora Update System from comment #3) > FEDORA-2023-eeb6beec79 has been submitted as an update to Fedora 38. > https://bodhi.fedoraproject.org/updates/FEDORA-2023-eeb6beec79 Looks like this fixed the rack plugin, but not the ruby19 plugin? usr/lib64/ruby -I/usr/lib64/ruby/plugins/ruby19/../rack/rack_plugin.c: In function ‘rack_hack_dollar_zero’: plugins/ruby19/../rack/rack_plugin.c:462:9: warning: implicit declaration of function ‘rb_obj_taint’; did you mean ‘rb_obj_id’? [-Wimplicit-function-declaration] 462 | rb_obj_taint(ur.dollar_zero); | ^~~~~~~~~~~~ | rb_obj_id
Oh shoot. The way this is built is a bit strange, the ruby plugin doesn't have any actual code, just build instructions which reference the rack code, but the ruby side isn't setting the flags that would disable that call. I'll build a new version.
FEDORA-2023-8d041c38ea has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8d041c38ea
(In reply to Fedora Update System from comment #6) > FEDORA-2023-8d041c38ea has been submitted as an update to Fedora 38. > https://bodhi.fedoraproject.org/updates/FEDORA-2023-8d041c38ea With this version, there are no implicit function declarations left (as verified with an instrumented compiler). Thanks! Do you plan to upstream the patch?
FEDORA-2023-8d041c38ea has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-8d041c38ea` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8d041c38ea See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-8d041c38ea has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.