Modeller 10.5 will not compile cleanly with newer swig 4.3.0. I will be posting a PR shortly that will set an upper bound to the swig dependency and propose a bump for swig. The specific error is: modeller_wrap.c:23545:17: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] I will note an attempt was made to test this against modeller 10.6, not yet packaged, and builds failed in an identical way.
https://github.com/gentoo/gentoo/pull/40852 is the proposed DEPENDS change and swig-4.3.0.