[Debian-med-packaging] Bug#1008803: insighttoolkit4: FTBFS with Python 3.10

Sebastian Ramacher sramacher at debian.org
Fri Apr 1 20:04:46 BST 2022


Source: insighttoolkit4
Version: 4.13.3withdata-dfsg2-1
Severity: serious
Tags: ftbfs sid bookworm
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

insighttoolkit4 FTBFS:

[ 33%] Building CXX object Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/CMakeFiles/itkvnl_algo.dir/vnl_gaussian_kernel_1d.cxx.o
cd /<<PKGBUILDDIR>>/BUILD/Modules/ThirdParty/VNL/src/vxl/core/vnl/algo && /usr/bin/c++ -DVXL_LEGACY_ERROR_REPORTING -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -Ditkvnl_algo_EXPORTS -I/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/vcl -I/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core -I/<<PKGBUILDDIR>>/BUILD/Modules/ThirdParty/VNL/src/vxl/v3p/netlib -I/<<PKGBUILDDIR>>/BUILD/Modules/ThirdParty/VNL/src/vxl/vcl -I/<<PKGBUILDDIR>>/BUILD/Modules/ThirdParty/VNL/src/vxl/core -I/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/v3p/netlib/linalg -I/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/algo -I/<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/nifti -g1  -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow -Wno-deprecated -Wno-invalid-offsetof -Woverloaded-virtual -Wstrict-null-sentinel  -w  -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -Wno-undefined-var-template -msse2 -MD -MT Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/CMakeFiles/itkvnl_algo.dir/vnl_gaussian_kernel_1d.cxx.o -MF CMakeFiles/itkvnl_algo.dir/vnl_gaussian_kernel_1d.cxx.o.d -o CMakeFiles/itkvnl_algo.dir/vnl_gaussian_kernel_1d.cxx.o -c /<<PKGBUILDDIR>>/Modules/ThirdParty/VNL/src/vxl/core/vnl/algo/vnl_gaussian_kernel_1d.cxx
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/Wrapping/Generators/SwigInterface/igenerator.py", line 971, in <module>
    wrappingNamespace = generate_wrapping_namespace(moduleName)
  File "/<<PKGBUILDDIR>>/Wrapping/Generators/SwigInterface/igenerator.py", line 962, in generate_wrapping_namespace
    wrappingNamespace = globalNamespace.namespace('_wrapping_')
  File "/<<PKGBUILDDIR>>/CMake/../Modules/ThirdParty/pygccxml/src/pygccxml/declarations/namespace.py", line 119, in namespace
    self._find_single(
  File "/<<PKGBUILDDIR>>/CMake/../Modules/ThirdParty/pygccxml/src/pygccxml/declarations/scopedef.py", line 479, in _find_single
    norm_keywds = self.__normalize_args(**keywds)
  File "/<<PKGBUILDDIR>>/CMake/../Modules/ThirdParty/pygccxml/src/pygccxml/declarations/scopedef.py", line 371, in __normalize_args
    if isinstance(keywds['name'], collections.Callable) and \
AttributeError: module 'collections' has no attribute 'Callable'

See
https://buildd.debian.org/status/fetch.php?pkg=insighttoolkit4&arch=amd64&ver=4.13.3withdata-dfsg2-1%2Bb1&stamp=1648838331&raw=0

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20220401/86ff25a3/attachment.sig>


More information about the Debian-med-packaging mailing list