Calls to Rf_error and Rf_warning generated by swig fail under -Werror=format-security. See: https://bugzilla.redhat.com/show_bug.cgi?id=2277440 https://bugzilla.redhat.com/show_bug.cgi?id=2277442 Reproducible: Always
It was fixed in upstream by commit commit 3d5157514889c668bc14c245246c388eb23615ea (HEAD -> master, origin/master, origin/HEAD) Author: pekkarr <pekkarr> Date: Mon Apr 29 10:00:38 2024 +0300 Fix gcc's -Wformat-security warning in R Raise function (#2896) The `Rf_error` function takes a format string as its first argument. I'll update swig in Fedora.
Great, thanks!
FEDORA-2024-d9c7c18352 (swig-4.2.1-4.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-d9c7c18352
FEDORA-2024-d9c7c18352 (swig-4.2.1-4.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
Unfortunately, the problem persists. See this build log for libsbml: https://koji.fedoraproject.org/koji/taskinfo?taskID=117068042