[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: Bug#957360: insighttoolkit4: ftbfs with GCC-10



Hi Steven, Hi Gert,

Steven Robbins, on 2020-08-08 15:06:53 -0500:
> Two more issues:
> 
> 1. My build failed Test #2625: PythonExtras 
> 
> Traceback (most recent call last):
>   File "extras.py", line 163, in <module>
>     arr = itk.GetArrayFromImage(image)
>   File "/home/steve/Packages/insighttoolkit/build-area/insighttoolkit4-4.13.3-
> dfsg1/BUILD/Wrapping/Generators/Python/itkExtras.py", line 256, in 
> GetArrayFromImage
>     return _GetArrayFromImage(imageOrFilter, "GetArrayFromImage", keepAxes, 
> updateLargestPossibleRegion)
>   File "/home/steve/Packages/insighttoolkit/build-area/insighttoolkit4-4.13.3-
> dfsg1/BUILD/Wrapping/Generators/Python/itkExtras.py", line 245, in 
> _GetArrayFromImage
>     keys = [k for k in itk.PyBuffer.keys() if k[0] == 
> output(imageOrFilter).__class__]
>   File "/home/steve/Packages/insighttoolkit/build-area/insighttoolkit4-4.13.3-
> dfsg1/BUILD/Wrapping/Generators/Python/itkLazy.py", line 40, in 
> __getattribute__
>     value = types.ModuleType.__getattribute__(self, attr)
> AttributeError: module 'itk' has no attribute 'PyBuffer'
> itkTestDriver: Process exited with return value: 1
> 
> This puzzles me.

So am I, I redo a build on my side to see if it hasn't been
pulled with some unrelated update in the build environment.

> 2. I wonder whether some of the older patches (dating from 2016) should be 
> dropped; in particular:
> 
> atomic_load.patch

I'm missing context, and the issue tracker pointed to by the URL
in the header does not seem to have migrated to the current
platform unfortunately.  :/

> itk4.10.0-python-wrapping.patch

I have the impression that this second one is needed to avoid
use of included third party libraries and use the one provided
by Debian.

> itk4.12.0-resource_cprobe.patch

This last one seems needed for i386 support, but might require
to check how behaves the targeted equipment before drop.  Maybe
I can attempt a build without the patch on my i386 alarm clock.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier@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/6, please excuse my verbosity.

Attachment: signature.asc
Description: PGP signature


Reply to: