Package: src:gauche-c-wrapper Version: 0.6.1-10 Severity: serious Tags: ftbfs patch
Dear maintainer: I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-arch dh build-arch dh_update_autotools_config -a dh_autoreconf -a debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' ./configure --prefix=/usr --includedir=/usr/include \ --mandir=/usr/share/man --infodir=/usr/share/info \ --sysconfdir=/etc --localstatedir=/var \ --libdir=/usr/lib --libexecdir=/usr/lib checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for gosh... /usr/bin/gosh checking for gauche-config... /usr/bin/gauche-config checking for gauche-package... /usr/bin/gauche-package checking for gauche-install... /usr/bin/gauche-install checking for gauche-cesconv... /usr/bin/gauche-cesconv checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for bison... no checking for byacc... no checking for makeinfo... makeinfo checking for gzip... gzip checking for sed... sed checking for ldconfig... /sbin/ldconfig sed: can't read s/-f[a-z]*-prefix-map=[^ ]* //: No such file or directory configure: creating c-wrapper.gpd configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating lib/Makefile config.status: creating objc/Makefile config.status: creating testsuite/Makefile config.status: creating src/cwcompile config.status: creating lib/c-wrapper/config.scm config.status: creating lib/c-wrapper/stubgen.scm config.status: creating doc/Makefile make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build -a make -j1 make[1]: Entering directory '/<<PKGBUILDDIR>>' cd src; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/src' /usr/bin/gauche-package compile --cppflags="-DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE" --ldflags="-Wl,-z,relro " --libs="/usr/lib/x86_64-linux-gnu/libffi_pic.a " --verbose c-ffi c-ffi.c c-ffilib.stub closure_alloc.c gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.9/0.9.6/include' '-I/usr/lib/gauche-0.9/site/include' -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o 'c-ffi.o' 'c-ffi.c' gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.9/0.9.6/include' '-I/usr/lib/gauche-0.9/site/include' -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o 'c-ffilib.o' 'c-ffilib.c' gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.9/0.9.6/include' '-I/usr/lib/gauche-0.9/site/include' -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o 'closure_alloc.o' 'closure_alloc.c' gcc -Wl,-z,relro '-L/usr/lib/gauche-0.9/0.9.6/x86_64-pc-linux-gnu' '-L/usr/lib/gauche-0.9/site/x86_64-pc-linux-gnu' -shared -o c-ffi.so 'c-ffi.o' 'c-ffilib.o' 'closure_alloc.o' -lgauche-0.9 -ldl -lcrypt -lrt -lm -lpthread /usr/lib/x86_64-linux-gnu/libffi_pic.a /usr/bin/gauche-package compile --cppflags="-DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE" --ldflags="-Wl,-z,relro " --libs="/usr/lib/x86_64-linux-gnu/libffi_pic.a " --verbose c-lex c-lex.c c-lexlib.stub gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.9/0.9.6/include' '-I/usr/lib/gauche-0.9/site/include' -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o 'c-lex.o' 'c-lex.c' gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.9/0.9.6/include' '-I/usr/lib/gauche-0.9/site/include' -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o 'c-lexlib.o' 'c-lexlib.c' gcc -Wl,-z,relro '-L/usr/lib/gauche-0.9/0.9.6/x86_64-pc-linux-gnu' '-L/usr/lib/gauche-0.9/site/x86_64-pc-linux-gnu' -shared -o c-lex.so 'c-lex.o' 'c-lexlib.o' -lgauche-0.9 -ldl -lcrypt -lrt -lm -lpthread /usr/lib/x86_64-linux-gnu/libffi_pic.a /usr/bin/gauche-package compile --cppflags="-DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE" --ldflags="-Wl,-z,relro " --libs="/usr/lib/x86_64-linux-gnu/libffi_pic.a " --verbose c-parser c-parser.c c-parserlib.stub gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.9/0.9.6/include' '-I/usr/lib/gauche-0.9/site/include' -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o 'c-parser.o' 'c-parser.c' gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.9/0.9.6/include' '-I/usr/lib/gauche-0.9/site/include' -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -o 'c-parserlib.o' 'c-parserlib.c' gcc -Wl,-z,relro '-L/usr/lib/gauche-0.9/0.9.6/x86_64-pc-linux-gnu' '-L/usr/lib/gauche-0.9/site/x86_64-pc-linux-gnu' -shared -o c-parser.so 'c-parser.o' 'c-parserlib.o' -lgauche-0.9 -ldl -lcrypt -lrt -lm -lpthread /usr/lib/x86_64-linux-gnu/libffi_pic.a make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' cd lib; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib' cd objc; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/objc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<<PKGBUILDDIR>>/objc' cd doc; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/doc' /usr/bin/gosh ./extract -en -o c-wrapper-refe.texi c-wrapper-ref.texi if test Xmakeinfo != X -a Xgzip != X; then \ makeinfo --no-warn c-wrapper-refe.texi; \ rm -rf c-wrapper-refe.info*.gz; \ gzip -9 -n c-wrapper-refe.info; \ fi /usr/bin/gosh ./extract -jp -o c-wrapper-refj.texi c-wrapper-ref.texi if test Xmakeinfo != X -a Xgzip != X; then \ makeinfo --no-warn c-wrapper-refj.texi; \ rm -rf c-wrapper-refj.info*.gz; \ gzip -9 -n c-wrapper-refj.info ; \ fi Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. Wide character in print at /usr/share/texinfo/Texinfo/Convert/Info.pm line 149. make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc' make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -a make -j1 check VERBOSE=1 make[1]: Entering directory '/<<PKGBUILDDIR>>' cd src; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/src' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' cd lib; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib' cd objc; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/objc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<<PKGBUILDDIR>>/objc' cd doc; make all make[2]: Entering directory '/<<PKGBUILDDIR>>/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc' cd testsuite; make check make[2]: Entering directory '/<<PKGBUILDDIR>>/testsuite' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -fPIC -o ffitest.o ffitest.c gcc -Wl,-z,relro -shared -o ffitest.so ffitest.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -fPIC -o fptr_array.o fptr_array.c gcc -Wl,-z,relro -shared -o fptr_array.so fptr_array.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -fPIC -o gcc_extension.o gcc_extension.c gcc -Wl,-z,relro -shared -o gcc_extension.so gcc_extension.o /usr/bin/gosh -I../src -I../lib attr-test.scm >> test.log Testing parse-attribute ... passed. /usr/bin/gosh -I../src -I../lib ffitest.scm >> test.log Testing c-wrapper (ffi) ... E: Build killed with signal TERM after 5 minutes of inactivity -------------------------------------------------------------------------------- The failure happens randomly. Sometimes it hangs, sometimes it does not, but the failure rate is extremely high (around 70% here). I've put a bunch of build logs here: https://people.debian.org/~sanvila/build-logs/gauche-c-wrapper/ This is not specific to my environment, the autobuilder also hangs in reproducible-builds: https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/gauche-c-wrapper_0.6.1-10.rbuild.log.gz If the package is useful despite of this, I recommend disabling the test suite completely, as in the patch below (there will be plenty of time after the release of buster to fix the buggy test suite). OTOH, if you decide to fix the test suite, I can provide ssh access to a machine where this failure happens very easily, please contact me privately for details. Thanks. --- a/debian/rules +++ b/debian/rules @@ -14,3 +14,5 @@ override_dh_auto_configure: --mandir=/usr/share/man --infodir=/usr/share/info \ --sysconfdir=/etc --localstatedir=/var \ --libdir=/usr/lib --libexecdir=/usr/lib + +override_dh_auto_test: