-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-10.0
-
dtc-1.7.0-12.el10
-
No
-
Moderate
-
rhel-sst-virtualization
-
ssg_virtualization
-
2
-
False
-
-
None
-
None
-
None
dtc fails to build with preparing Swig 4.3.0. I tested rebuild in Copr:
https://copr.devel.redhat.com/coprs/jplesnik/swig43/build/117053/
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."
The fix is attached and it works also with older releases of swig.
- relates to
-
RHEL-64313 [RHEL10][CS10] Update SWIG to version 4.3.0
- Release Pending