Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-64294

libsemanage fails to build with Swig 4.3.0

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.0
    • rhel-10.0
    • libsemanage
    • None
    • libsemanage-3.7-3.el10
    • No
    • Moderate
    • 1
    • rhel-sst-security-selinux
    • ssg_security
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • SELINUX 241016 - 241106
    • None

      libsemanage fails to build with preparing 4.3.0. Jitka tested rebuild in Copr
      https://copr.fedorainfracloud.org/coprs/jplesnik/swig-rebuild/build/8116851/
      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."

              rhn-engineering-plautrba Petr Lautrbach
              rhn-engineering-plautrba Petr Lautrbach
              Vit Mojzis Vit Mojzis
              Milos Malik Milos Malik
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: