Package: swig
Version: 4.3.0-1
Severity: important
Tags: upstream patch sid forky
X-Debbugs-Cc: [email protected]
Control: affects -1 src:plplot
User: [email protected]
Usertags: octave-10

Dear Maintainer,

The code generated by swig does not compile with octave 10 (which currently
stands in experimental). For example, plplot FTBFS against octave 10 with the
following message:

<builddir>/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: 
In member function ‘virtual octave_value_list 
octave_swig_bound_func::subsref(cons
t std::string&, const std::__cxx11::list<octave_value_list>&, int)’:
<builddir>/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1102:7:
 error: ‘assert’ was not declared in this scope
 1102 |       assert(ops.size() > 0);
      |       ^~~~~~
<builddir>/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:303:1:
 note: ‘assert’ is defined in header ‘<cassert>’; this is probably fixable by 
adding ‘#include <cassert>’
  302 | #include <octave/call-stack.h>
  +++ |+#include <cassert>
  303 | #endif

This problem is fixed in swig 4.3.1. The relevant commit seems to be:
 https://github.com/swig/swig/commit/4bec608663c6035bce3867cfeb064bf779c769d7

The severity of this bug report will be raised once the octave 10 transition is
started.

Thanks for your work,

--
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org

Reply via email to