Created attachment 995672 [details] Fix comments for SWIG 3.0.5 The build failed with following error: Box2D/Box2D_pickling.i:545: Error: Unknown SWIG preprocessor directive: These (if this is a block of target language code, delimit it with %{ and %}) Box2D/Box2D_pickling.i:546: Error: Unknown SWIG preprocessor directive: but (if this is a block of target language code, delimit it with %{ and %}) Box2D/Box2D_pickling.i:547: Error: Unknown SWIG preprocessor directive: execution (if this is a block of target language code, delimit it with %{ and %}) https://koji.fedoraproject.org/koji/taskinfo?taskID=9082032 The comments in the files starts with #, but such comments are not allowed outside of %pythoncode/%perlcode block. Otherwise, these comments are handled by preprocessor as a macro. The issue was previously ignored, but now it is reported as error. SWIG allows C++-style comments. So, to fix the issue, the lines which start with # but which aren't preprocessor statements should be changed. I created patch and it fixed the build issue for me in rawhide. Fedora 21 and higher are affected.
pybox2d-2.0.2b2-13.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/pybox2d-2.0.2b2-13.fc22
pybox2d-2.0.2b2-13.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/pybox2d-2.0.2b2-13.fc21
pybox2d-2.0.2b2-11.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pybox2d-2.0.2b2-11.fc20
Package pybox2d-2.0.2b2-13.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pybox2d-2.0.2b2-13.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10268/pybox2d-2.0.2b2-13.fc21 then log in and leave karma (feedback).
pybox2d-2.0.2b2-13.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
pybox2d-2.0.2b2-13.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.