libselinux fails to build with preparing Swig 4.3.0. I tested rebuild in Copr: https://copr.fedorainfracloud.org/coprs/jplesnik/swig-rebuild/build/8116850/ due to an incompatible change in Swig https://github.com/swig/swig/blob/master/CHANGES.current "[Python] #2907 Fix returning null from functions with output parameters. Ensures OUTPUT and INOUT typemaps are handled consistently wrt return type. New declaration of SWIG_Python_AppendOutput is now: SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void); The 3rd parameter is new and the new $isvoid special variable should be passed to it, indicating whether or not the wrapped function returns void. Also consider replacing with: SWIG_AppendOutput(PyObject* result, PyObject* obj); which calls SWIG_Python_AppendOutput with same parameters but adding $isvoid for final parameter." I prepared PR with fix https://src.fedoraproject.org/rpms/libselinux/pull-request/31 Reproducible: Always
https://src.fedoraproject.org/rpms/libselinux/pull-request/32
FEDORA-2025-431101b5da (checkpolicy-3.8-1.fc42, libselinux-3.8-1.fc42, and 5 more) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-431101b5da
FEDORA-2025-431101b5da (checkpolicy-3.8-1.fc42, libselinux-3.8-1.fc42, and 5 more) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.