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

[RHEL10][CS10] ldns fails to build with Swig 4.3.0

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • ldns
    • None
    • No
    • Moderate
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      ldns fails to build with preparing Swig 4.3.0. I tested rebuild in Copr:
      https://copr.devel.redhat.com/coprs/jplesnik/swig43/build/117057/

      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 possible fix is provided in Fedora PR
      https://src.fedoraproject.org/rpms/ldns/pull-request/6

              pemensik@redhat.com Petr Mensik
              jplesnik@redhat.com Jitka Plesnikova
              Petr Mensik Petr Mensik
              rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: