[Debian-med-packaging] Bug#957360: insighttoolkit4: ftbfs with GCC-10

Étienne Mollier etienne.mollier at mailoo.org
Sun Aug 2 16:35:21 BST 2020


Greetings,

The failure does not appear with upstream default build options,
but manifests when Wrapping is enabled, for the Python bindings.

After spending a bit of time investigating #957360, I found a
few references to the issue upstream, with a fix which consisted
to force usage of castxml 0.3.4 in CMake's build requirements
specifications:

        https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957360
        https://discourse.itk.org/t/weird-compile-errors-when-setting-dcmake-cxx-standard-17/3094
        https://github.com/InsightSoftwareConsortium/ITK/pull/1876/files#diff-93909ee5c75b85d1412947c92cef96cc

After some testing, I saw the use of castxml 0.3.4 indeed helped
with the ftbfs.  If I understood the situation properly, this
means this issue will most likely be fixed by an update of
castxml, which is still 0.3.3 in Sid for the moment.  There may
be other options, I'm trying -DCMAKE_CXX_STANDARD=11, but I'm
not too fond of downgrading.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier at mailoo.org>
Old rsa/3072: 5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
New rsa/4096: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/3, please excuse my verbosity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200802/ad9e1ebd/attachment.sig>


More information about the Debian-med-packaging mailing list