When trying to compile gnuradio with swig-3.0.3 I get the following error: py_compile.PyCompileError: File "/var/tmp/portage/net-wireless/gnuradio-3.7.5.1/work/gnuradio-3.7.5.1_build/gr-blocks/swig/blocks_swig1.py", line 982 def make(data, repeat=False, vlen=1, tags): SyntaxError: non-default argument follows default argument swig-3.0.2 works fine Upstream discussion thread: https://lists.gnu.org/archive/html/discuss-gnuradio/2014-12/msg00252.html Reproducible: Always
also affects =net-wireless/gnuradio-3.7.6 maybe mask =dev-lang/swig-3.0.3?
maybe link to the gdal pb with swig: https://bugs.gentoo.org/show_bug.cgi?id=534168 isn't it?
I can confirm that net-wireless/gnuradio 3.7.5.x and net-wireless/gnuradio-3.7.6 both fail to build with dev-lang/swig-3.0.3. Backleveling swig allowed 3.7.6 to build.
Please, always provide a build.log and emerge --info output when you open a bug.
All the needed info was provided. Luckily, upstream solved the problem with swig-3.0.5.
Looks like this is a known issue in swig that was fixed in 3.0.4 and 3.0.5. Swig maintainers, can we mask the known broken 3.0.3 version of swig and get it removed from the tree?
I have removed the known bad version from the tree.