Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534362 - net-wireless/gnuradio-3.7.5.1 with dev-lang/swig-3.0.3 - py_compile.PyCompileError: File ".../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 ...
Summary: net-wireless/gnuradio-3.7.5.1 with dev-lang/swig-3.0.3 - py_compile.PyCompile...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-02 16:27 UTC by Ștefan Talpalaru
Modified: 2015-04-01 02:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ștefan Talpalaru 2015-01-02 16:27:25 UTC
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
Comment 1 Account removed 2015-01-09 15:44:44 UTC
also affects =net-wireless/gnuradio-3.7.6
maybe mask =dev-lang/swig-3.0.3?
Comment 2 Ludovic Bellier 2015-01-10 16:40:42 UTC
maybe link to the gdal pb with swig: https://bugs.gentoo.org/show_bug.cgi?id=534168

isn't it?
Comment 3 RB 2015-01-12 20:50:21 UTC
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.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2015-02-22 02:55:59 UTC
Please, always provide a build.log and emerge --info output when you open a bug.
Comment 5 Ștefan Talpalaru 2015-02-22 03:01:04 UTC
All the needed info was provided. Luckily, upstream solved the problem with swig-3.0.5.
Comment 6 Rick Farina (Zero_Chaos) gentoo-dev 2015-02-22 03:16:35 UTC
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?
Comment 7 Rick Farina (Zero_Chaos) gentoo-dev 2015-04-01 02:08:48 UTC
I have removed the known bad version from the tree.