Similar to this build any swig higher than 3.0.2 breaks the libgpod build https://bugs.funtoo.org/browse/FL-1937 http://koji.fedoraproject.org/koji/taskinfo?taskID=8895024
I am not swig expert, but it seems the problem is with using comment in gpod.i.in. The comment below should be either remove or change to C comment. Otherwise it is handled by preprocessor as a macro, because it is not part of %pythoncode block. # be nicer to decode these utf8 strings into Unicode objects in the C # layer. Here we are leaving it to the Python side, and just giving # them utf8 encoded Strings. I created small patch and it fixed the build issue for me.
Created attachment 990794 [details] Update comment in gpod.i.in
The issue was previously ignored, but now it is reported as error. So, change the lines which start with # but which aren't preprocessor statements to not start with # - SWIG allows C++-style comments, so you can use // instead on those lines.
Thanks for the help, pushed