Hello, Regina Rexx is broken in the current Fedora 41 package and it has been broken since Fedora 40 from what I could determine. It seems that something during the build process breaks the parser or token generator in the program. I reference a Sourceforge discussion to show that the problem is not new and affects other users. Please see "Steps to Reproduce" for more details. Thanks in advance Reproducible: Always Steps to Reproduce: 1. Install Regina Rexx: dnf install -y regina-rexx 2. Run a test with stream: echo "say 1 stream('/etc/os-release', 'c', 'query exists')" | regina Actual Results: 1 +++ say 1 stream('/etc/os-release', 'c', 'query exists') Error 93 running "<stdin>", line 1: [Incorrect call to routine] Error 93.1: [STREAM command QUERY must be followed by one of "DATETIME TIMESTAMP CREATETIME MODIFYTIME ACCESSTIME EXISTS HANDLE SIZE STREAMTYPE SEEK POSITION"; found "EXISST"] Expected Results: 1 /usr/lib/os-release Please note the double "S" in "EXISST" on the "Actual Results". The expected result is the output of running the test in Fedora 39. I've also noticed that when compiling the official sources for Regina-Rexx-3.6, downloaded from Sourceforge, the problem appears on a check that runs during make. Compilation succeeds on Fedora 39 but fails on 41 and 40. This was tested using the official docker images.
Hi, I've figured out that the problem comes from the gcc optimizer set to -O3 by the configure script. With -O2 optimization the binary works well and the result is as expected. ./configure make CFLAGS="-m64 -O -g -O2 -Wall -fomit-frame-pointer -fno-strict-aliasing -Wno-char-subscripts" The only change is -O2 instead of -O3 the rest of the flags are the ones set by the configure script. I've used the latest sources from upstream not the version in the package but this should apply. Thanks, Alex
Thanks for the report. I put up https://src.fedoraproject.org/rpms/regina-rexx/pull-request/1 to update it to the latest version. On my local system it looks like it's using -O2, but I want to double check the results in the CI build as well.
Yeah looking at https://kojipkgs.fedoraproject.org//work/tasks/5757/127245757/build.log this is still using -O2 as expected. I'll get it merged and built later today, please test the update and provide feedback on it if you get a chance.
FEDORA-2024-3b2b34b4d4 (regina-rexx-3.9.6-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-3b2b34b4d4
FEDORA-2024-e68898dfcc (regina-rexx-3.9.6-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-e68898dfcc
FEDORA-2024-3b2b34b4d4 (regina-rexx-3.9.6-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-e68898dfcc has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e68898dfcc` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e68898dfcc See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-e68898dfcc (regina-rexx-3.9.6-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.