[Debian-med-packaging] Bug#1026061: bart: FTBFS randomly in bullseye (failing test)

Santiago Vila sanvila at debian.org
Wed Dec 14 00:28:16 GMT 2022


Package: src:bart
Version: 0.6.00-3
Fixed: 0.8.00-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary-indep
dh binary-indep
    dh_update_autotools_config -i
    dh_autoreconf -i
    dh_auto_configure -i
    dh_auto_build -i
	make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make MAKESTAGE=2 make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent 
make rule.
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF 
/<<PKGBUILDDIR>>/src/.bart.d -iquote /<<PKGBUILDDIR>>/src/ 
-I/usr//include/ -I/usr//include -DFFTWTHREADS -DMAIN_LIST="avg, bench, 
bin, bitmask, cabs, caldir, calmat, carg, casorati, cc, ccapply, cdf97, 
circshift, conj, conv, copy, cpyphs, creal, crop, delta, ecalib, 
ecaltwo, estdelay, estdims, estshift, estvar, extract, fakeksp, fft, 
fftmod, fftrot, fftshift, filter, flatten, flip, fmac, homodyne, index, 
invert, itsense, join, looklocker, lrmatrix, mandelbrot, mip, moba, 
nlinv, noise, normalize, nrmse, nufft, ones, pattern, phantom, pics, 
pocsense, poisson, poly, repmat, reshape, resize, rmfreq, rof, rss, 
rtnlinv, sake, saxpy, scale, sdot, show, slice, spow, sqpics, squeeze, 
ssa, std, svd, tgv, threshold, toimg, traj, transpose, twixread, upat, 
var, vec, version, walsh, wave, wavelet, wavepsf, whiten, window, wshfl, 
zeros, zexp, ()" -include src/main.h -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=gnu11 -fopenmp -c -o 
/<<PKGBUILDDIR>>/src/bart.o /<<PKGBUILDDIR>>/src/bart.c

[... snipped ...]

gcc -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MF utests/.test_prox.d -iquote 
/<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-Wformat -Werror=format-security -std=gnu11 -fopenmp -c -o 
utests/test_prox.o utests/test_prox.c
gcc -Wl,-z,relro -Wl,-z,now -rdynamic -rdynamic -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -std=gnu11 -fopenmp -Wdate-time 
-D_FORTIFY_SOURCE=2 -MMD -MF ./.test_prox.d -iquote 
/<<PKGBUILDDIR>>/src/ -I/usr//include/ -I/usr//include -DFFTWTHREADS 
-DUTESTS="call_test_thresh, call_test_auto_norm," -o test_prox 
utests/utest.c utests/test_prox.o lib/libiter.a lib/liblinops.a 
lib/libnum.a lib/libmisc.a lib/libnum.a lib/libmisc.a -L/usr//lib 
-lfftw3f -lfftw3f_threads  -L/usr//lib -llapacke -lblas  -lm
./test_linop_matrix  ./test_linop_matrix:  4/ 4 passed.
./test_linop         ./test_linop:  3/ 3 passed.
./test_batchsvd      ./test_batchsvd:  2/ 2 passed.
./test_pattern       ./test_pattern:  1/ 1 passed.
./test_types         ./test_types:  2/ 2 passed.
./test_misc          ./test_misc:  2/ 2 passed.
./test_moba          ./test_moba:  1/ 1 passed.
./test_nlop          ./test_nlop: 15/15 passed.
./test_nufft ERROR:         ./test_nufft:  7/ 8 passed.
make[3]: *** [Makefile:685: utests-all] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:273: utest] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary-indep] Error 2
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned 
exit status 2
--------------------------------------------------------------------------------

Note: The failure happens randomly, but the failure rate is around 70%, 
which is why I'm using
a severity of "serious". In either case, I'm marking this as fixed in 
the bookworm version,
as the failures do not seem to happen there.


About the archive rebuild: The build was made using virtual machines 
from Hetzner,
with enough memory, enough disk, and either one or two CPUs, using a reduced
chroot with only build-essential packages (plus debhelper).

If you could not reproduce the bug please contact me privately, as I am 
willing
to provide ssh access to a virtual machine where the bug is fully 
reproducible.

If this is really a bug in one of the build-depends, please use reassign 
and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



More information about the Debian-med-packaging mailing list