Package: src:libfiu
Version: 0.98-1
Tags: ftbfs

Hello Chris.

I'm getting random build failures for this package:

--------------------------------------------------------------------------------
[...]
 debian/rules build-arch
dh build-arch --with python3,python2
   dh_update_autotools_config -a
   dh_autoreconf -a
   dh_auto_configure -a
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rst2html doc/posix.rst > doc/posix.html
rst2html doc/guide.rst > doc/guide.html
rst2html doc/remote_control.rst > doc/remote_control.html
dh_auto_build -- V=1
        make -j2 "INSTALL=install --strip-program=true" V=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make -C libfiu

[... snipped ...]

cc -I../../libfiu/ -L../../libfiu/ -L./ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -fPIC 
-DFIU_ENABLE=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 -pedantic 
-Wall -std=c99 -pedantic -Wall -L. binary.c -lfiu -lcoltest -o binary
LD_LIBRARY_PATH="./:../../libfiu/" ./binary
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/collisions'
cc -I../../libfiu/ -L../../libfiu/ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -fPIC 
-DFIU_ENABLE=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 -pedantic 
-Wall -std=c99 -pedantic -Wall tests/fread.c -lfiu -o tests/fread.bin
ln -f ../preload/posix/fiu_posix_preload.so libs/
ln -f ../preload/run/fiu_run_preload.so libs/
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/strdup.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/fprintf.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/kill.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/open.bin
cc -I../libfiu/ -L../libfiu/ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -fPIC 
-DFIU_ENABLE=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 -pedantic 
-Wall test-parallel-wildcard.c -lfiu -lpthread -o test-parallel-wildcard
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/pread.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/malloc.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/open64.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/mmap.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/pread64.bin
LD_LIBRARY_PATH=../../libfiu/ LD_PRELOAD="../../preload/run/fiu_run_preload.so 
../../preload/posix/fiu_posix_preload.so" ./tests/fopen.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 tests/open64.bin tests/strdup.bin 
tests/pread.bin tests/pread64.bin tests/malloc.bin tests/mmap.bin 
tests/fprintf.bin tests/kill.bin tests/fopen.bin
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/generated'
cc -I../libfiu/ -L../libfiu/ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -fPIC 
-DFIU_ENABLE=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 -pedantic 
-Wall \
        -rdynamic -fno-optimize-sibling-calls test-enable_stack.c -lfiu 
-lpthread -o test-enable_stack
test-enable_stack.c: In function 'main':
test-enable_stack.c:32:43: warning: ISO C forbids conversion of function 
pointer to object pointer type [-Wpedantic]
  r = fiu_enable_stack("fp-1", 1, NULL, 0, (void *) &func2, -1);
                                           ^
cc -I../libfiu/ -L../libfiu/ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -fPIC 
-DFIU_ENABLE=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 -pedantic 
-Wall \
        -rdynamic -fno-optimize-sibling-calls test-enable_stack_by_name.c -lfiu 
-lpthread -o test-enable_stack_by_name
cc -I../libfiu/ -L../libfiu/ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -fPIC 
-DFIU_ENABLE=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 -pedantic 
-Wall test-parallel.c -lfiu -lpthread -o test-parallel
cc -I../libfiu/ -L../libfiu/ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -fPIC 
-DFIU_ENABLE=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 -pedantic 
-Wall test-ferror.c -lfiu -lpthread -o test-ferror
LD_LIBRARY_PATH=../libfiu/ 
LD_PRELOAD=./libs/fiu_run_preload.so:./libs/fiu_posix_preload.so 
./test-parallel-wildcard
LD_LIBRARY_PATH=../libfiu/ 
LD_PRELOAD=./libs/fiu_run_preload.so:./libs/fiu_posix_preload.so 
./test-enable_stack
LD_LIBRARY_PATH=../libfiu/ 
LD_PRELOAD=./libs/fiu_run_preload.so:./libs/fiu_posix_preload.so 
./test-enable_stack_by_name
LD_LIBRARY_PATH=../libfiu/ 
LD_PRELOAD=./libs/fiu_run_preload.so:./libs/fiu_posix_preload.so ./test-parallel
parallel nc: 5401649   c: 1191859   e: 350263    t: 6943771
LD_LIBRARY_PATH=../libfiu/ 
LD_PRELOAD=./libs/fiu_run_preload.so:./libs/fiu_posix_preload.so ./test-ferror
./wrap-python 2 ./test-manyfps.py
./wrap-python 2 ./test-set_prng_seed.py
./wrap-python 2 ./test-failinfo_refcount.py
./wrap-python 2 ./test-wildcards.py
./wrap-python 2 ./test-fiu_ctrl.py
wildcard nc: 121000    c: 234000    e: 52100     t: 407100
./wrap-python 2 ./test-basic.py
./wrap-python 2 ./test-onetime.py
./wrap-python 2 ./test-set_prng_seed-env.py
./wrap-python 2 ./test-cache_invalidation.py
E: Build killed with signal TERM after 60 minutes of inactivity
--------------------------------------------------------------------------------

At this point, the autobuilder hangs.

I'm using sbuild + schroot + eatmydata on 1-S instances from Scaleway
(having two CPUs). When using 1-XS instances (having only one CPU) it
does not seem to hang.

This is strange. Normally, when the package is not buildable with
eatmydata, the usual behaviour is that it always hang, or it always
FTBFS in some other way, so since this hang does not always happen I
have the small hope that maybe it could be made to never hang.

[ I can offer a machine for you to ssh into it and reproduce this if you
  need it, please contact me privately for details ].

Thanks.

Reply via email to