[Debian-pan-maintainers] Bug#1001168: Info received (Bug#1001168: hkl: FTBFS on mipsel: FAIL: trajectory.py)

PICCA Frederic-emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Mon Jan 3 21:26:01 GMT 2022


I tested matplotlib built with numpy 0.17 0.19 0.21. each time I got the segfault.

another difference was the gcc compiler.

So I switched to gcc-10

(sid_mips64el-dchroot)picca at eller:~/matplotlib$ CC=gcc-10 python3 setup.py build

if failed with this error

lto1: fatal error: bytecode stream in file ‘build/temp.linux-mips64-3.9/matplotlib.backends._backend_agg/extern/agg24-svn/src/agg_bezier_arc.o’ generated with LTO version 9.4 instead of the expected 11.2

So I unactivated lto with this 

CFLAGS="-fno-lto" CC=gcc-10 python3 setup.py build

at the end it seems that  is does not segfault :)

(sid_mips64el-dchroot)picca at eller:~/matplotlib/build/lib.linux-mips64-3.9$ ../../../test.py 
Segmentation fault
(sid_mips64el-dchroot)picca at eller:~/matplotlib/build/lib.linux-mips64-3.9$ PYTHONPATH=. ../../../test.py 
(sid_mips64el-dchroot)picca at eller:~/matplotlib/build/lib.linux-mips64-3.9$ ls
matplotlib  mpl_toolkits  pylab.py  toto.png

Cheers



More information about the Debian-pan-maintainers mailing list