I ran check-swig-{py|pl|rb} with some SWIG versions on swig-py3 branch.
Environment:
OS: FreeBSD 11.2
Python 2: 2.7.16
Python 3: 3.7.3
Perl: 5.28.2
Ruby: 2.5.5p157
Results are below.
SWIG 1.3.24:
I couldn't build swig itself.
SWIG 2.0.0:
Python 2 ... OK (skipped=1)
Python 3 ... can't build modules
Perl ... can't build modules (Perhaps due to issue on build
with Perl >= 5.16, fixed in SWIG 2.0.8)[1]
Ruby ... 100% passed
SWIG 2.0.12:
Python 2 ... OK (skipped=1)
Python 3 ... FAILED (failures=16, errors=22)
Perl ... PASS
Ruby ... 100% passed
SWIG 3.0.0:
Python 2 ... OK (skipped=1)
Python 3 ... FAILED (failures=16, errors=22)
Perl ... PASS
Ruby ... 100% passed
SWIG 3.0.9:
Python 2 ... can't import modules
(regression, fixed in SWIG 3.0.10)[2]
Python 3 ... can't import modules
(regression, fixed in SWIG 3.0.10)[2]
Perl ... PASS
Ruby ... 100% passed
SWIG 3.0.10:
Python 2 ... OK (skipped=1)
Python 3 ... OK
Perl ... PASS
Ruby ... 100% passed
SWIG 3.0.12:
Python 2 ... OK (skipped=1)
Python 3 ... OK
Perl ... PASS
Ruby ... 100% passed
SWIG 4.0.1:
Python 2 ... can't build modules correctly (SVN-4818)
Python 3 ... can't build modules correctly (SVN-4818)
Perl ... PASS
Ruby ... 100% passed
[1] https://github.com/swig/swig/blob/rel-2.0.8/CHANGES.current#L30
[2] https://github.com/swig/swig/blob/rel-3.0.10/RELEASENOTES#L11
I also make a patch to update subversion/binding/swig/INSTALL,
however I don't touch build/ac-macros/swig.m4.
Cheers,
--
Yasuhito FUTATSUKI <futatuki_at_poem.co.jp>
Received on 2019-10-22 23:37:41 CEST