Control: forwarded -1 https://github.com/swig/swig/issues/3610 Control: tags -1 + upstream
Thank you for the bug report. I have forwarded it to the upstream authors. Let us see what they say about it. As an aside note, I noticed that the Siconos Team have released a new release 2026.rc2 (candidate version) [1]. According to the release notes, this version replaces SWIG by Pybind11 for generating the Python bindings [2]. Updating the Debian package to that version may fix the FTBFS issue. Best, Rafael Laboissière [1] https://github.com/siconos/siconos/releases/tag/2026.rc2 [2] https://gricad-gitlab.univ-grenoble-alpes.fr/nonsmooth/siconos/-/blob/main/docs/devel/RELEASE_2026.rc2.md?plain=1#L66 * Nico Della Torre <[email protected]> [2026-11-14 17:22]: > Package: swig > Version: 4.5.1-2 > Severity: serious > Tags: ftbfs > Control: affects -1 src:siconos > > swig 4.5.1 segfaults (infinite recursion between Swig_symbol_typedef_reduce > and Swig_symbol_template_reduce in Swig/symbol.c) on a typedef in a > namespace that has the same name as the class in its template argument. > This makes siconos FTBFS. It works with 4.4.1-2. > > Reproducer, run with: swig -c++ -python test.i > > %module m > > namespace std { > template<class T> class shared_ptr {}; > template<class T> class set { public: typedef T *iterator; }; > } > > class A; > namespace SP { typedef std::shared_ptr<A> A; } > > typedef std::set<SP::A> ASet; > typedef ASet::iterator AIterator; > > -- > ⠀⢀⣴⣾⠿⠿⣿⣶⣄⠀ Nico Della Torre (nicoz) > ⢠⣿⠋⠀⣠⢄⠀⠙⣿⣇ Debian Maintainer · Ubuntu > ⢾⡇⠀⣾⠀⠀⠀⢀⣿⡟ https://wiki.debian.org/nicoz > ⠘⣇⠀⠘⢷⣶⣶⣾⠟⠁ IRC: nicoz @ OFTC, Libera.Chat > ⠀⠈⠣⢄⠀⠀⠀⠀⠀⠀ GPG: 0456 E8BC 1DC0 B027 EF8D 66A6 9549 3787 F6F1 9F03 > >

