Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-19049

Build fix for new python/swig on Debian 13 (trixie)

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Update the config/ac_python_devel.m4 to handle distutils being removed.

      Handle swig 4.3 api change, SWIG_Python_AppendOutput() takes a 3rd argument 'is_null'

      SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      

      Check version and pass 0 if needed.

      +#if SWIG_VERSION >= 0x040300     
      +    $result = SWIG_Python_AppendOutput($result,obj,0);
      +#else
           $result = SWIG_Python_AppendOutput($result,obj);
      +#endif
      

      Attachments

        Activity

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: