It took a while, but I finally figured it out. Actually, it's not that patch that is broken but the build system.

Running the test suite after debian/rules build (with applied patch) gives us this:

torsten@defiant:~/debwork/swig/builddir$ make check-python-test-suite
checking python test-suite
checking python testcase argcargvtest (with run test)
/home/torsten/debwork/swig/Lib/swig.swg:425: Error: Syntax error in input(1).
[...]

This can be fixed as follows:

torsten@defiant:~/debwork/swig/builddir$ cp Source/CParse/parser.h ../Source/CParse/
torsten@defiant:~/debwork/swig/builddir$ make
[...]
torsten@defiant:~/debwork/swig/builddir$ make check-python-test-suite
checking python test-suite
checking python testcase argcargvtest (with run test)
checking python testcase callback (with run test)
checking python testcase complextest (with run test)
[...]

Obviously, this is wrong. Interestingly, the build uses the right parser.c but the wrong parser.h. I consider building the whole thing inline as this is not the first problem with the out of tree build. However, I don't think this is a good idea for a proposed-updates upload. So I'll try to find a way to fix this in the build system.

Greetings, Torsten


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to