On Sat, Mar 28, 2020 at 11:52:37AM +0000, Alberto Bertogli wrote:
On Fri, Mar 27, 2020 at 11:58:05PM -0000, Chris Lamb wrote:
Hi Alberto,

libfiu now fails to build from source in unstable/amd64:

 […]

 ./wrap-python 3 ./test-set_prng_seed.py
 LD_LIBRARY_PATH=../../libfiu/
LD_PRELOAD="../../preload/run/fiu_run_preload.so
../../preload/posix/fiu_posix_preload.so" ./tests/open.bin
 LD_LIBRARY_PATH=../../libfiu/
LD_PRELOAD="../../preload/run/fiu_run_preload.so
../../preload/posix/fiu_posix_preload.so" ./tests/fread.bin
 rm tests/open.bin tests/fread.bin./wrap-python 3 ./test-fiu_ctrl.py
  tests/open64.bin tests/strdup.bin tests/pread.bin tests/pread64.bin
tests/malloc.bin./wrap-python 3 ./test-basic.py
  tests/mmap.bin tests/fprintf.bin tests/kill.bin tests/fopen.bin
 make[4]: Leaving directory '/tmp/buildd/libfiu-1.00/tests/generated'
 ./wrap-python 3 ./test-onetime.py
 ./wrap-python 3 ./test-set_prng_seed-env.py
 make[3]: *** [Makefile:96: py-run-test-failinfo_refcount]
Segmentation fault (core dumped)
 make[3]: *** Waiting for unfinished jobs....
 make[4]: Leaving directory '/tmp/buildd/libfiu-1.00/tests/utils'
 rm test-enable_stack test-ferror test-enable_stack_by_name
 make[3]: Leaving directory '/tmp/buildd/libfiu-1.00/tests'
 make[2]: *** [Makefile:58: test] Error 2
 make[2]: Leaving directory '/tmp/buildd/libfiu-1.00'
 dh_auto_test: error: make -j9 test V=1 LC_ALL=C returned exit code 2
 make[1]: *** [debian/rules:33: override_dh_auto_test] Error 25
 make[1]: Leaving directory '/tmp/buildd/libfiu-1.00'
 make: *** [debian/rules:13: binary] Error 2
 dpkg-buildpackage: error: debian/rules binary subprocess returned
exit status 2

 […]

I suspect this to be Python 3.8 related. Alberto, any ideas? :)  The
full build log is attached if it helps.

Indeed it's related to Python 3.8 although I think it just surfaces a but that's always existed.

https://blitiri.com.ar/git/r/libfiu/c/ffa89556eda5fc05cd496150880519b575c2908e/
should fix it.

While at it I noticed a few other things so if this fixes the build in Debian too, I will probably include it in master and do a release in the next few days.

If you try the patch above, please let me know how it goes.

Thanks!
                Alberto

Reply via email to