Trying to update gretl, it fails in rawhide to build from source on the s390x hardware. https://koji.fedoraproject.org/koji/taskinfo?taskID=138870883 Reproducible: Always
Created attachment 2114229 [details] build.log
Created attachment 2114230 [details] root.log
Created attachment 2114231 [details] dnf5.log
That looks like a package bug to me. lib/src/foreign_db.c has #if G_BYTE_ORDER == G_BIG_ENDIAN reverse_double(x); #endif in it (so on big endian it tries to use reverse_double, on other arches it doesn't, that is why it compiles fine on all other arches (those are little endian). reverse_double is a macro defined in lib/src/swap_bytes.h: #define reverse_double(x) swap_bytes_double(x, x) In the same directory both gretl_xml.c and matrix_extra.c use reverse_double too, but both include the correct header for it: #include "swap_bytes.h" while foreign_db.c does not. Just add that include there and it should build.
Thanks a lot Jakub, I was expecting a s390x build issue, so sorry for the noise.
FEDORA-2025-46d98c922f (gretl-2025c-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-46d98c922f
FEDORA-2025-ec856d3700 (gretl-2025c-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-ec856d3700
FEDORA-2025-ec856d3700 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-ec856d3700` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-ec856d3700 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-46d98c922f has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-46d98c922f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-46d98c922f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-46d98c922f (gretl-2025c-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-2025-ec856d3700 (gretl-2025c-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.