Package: src:gauche-c-wrapper
Version: 0.6.1-17
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
configure.ac:12: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:12: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:12: the top level
configure.ac:61: warning: The macro 'AC_HELP_STRING' is obsolete.
configure.ac:61: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:61: the top level
configure.ac:157: warning: AC_OUTPUT should be used without arguments.
configure.ac:157: You should run autoupdate.
   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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... 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... /usr/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
        make -j2
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
/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
WARNING: define-type is deprecated.  Use declare-stub-type instead: 
(define-type <ffi-type> "ffi_type*" "ffi_type" "SCM_FFI_TYPEP" 
"SCM_FFI_TYPE_DATA" "SCM_MAKE_FFI_TYPE")
WARNING: define-type is deprecated.  Use declare-stub-type instead: 
(define-type <ffi-cif> "ffi_cif*" "ffi_cif" "SCM_FFI_CIFP" "SCM_FFI_CIF_DATA" 
"SCM_MAKE_FFI_CIF")
WARNING: define-type is deprecated.  Use declare-stub-type instead: 
(define-type <ffi-closure> "ffi_closure*" "ffi_closure" "SCM_FFI_CLOSUREP" 
"SCM_FFI_CLOSURE_DATA" "SCM_MAKE_FFI_CLOSURE")
WARNING: define-type is deprecated.  Use declare-stub-type instead: 
(define-type <uvector> "ScmUVector*" #f "SCM_UVECTORP" "SCM_UVECTOR")
gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
'-I/usr/lib/gauche-0.98/0.9.15-p2/include' -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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.98/0.9.15-p2/include' -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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.98/0.9.15-p2/include' -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fPIC -o 'closure_alloc.o' 
'./closure_alloc.c'
gcc -Wl,-z,relro  '-L/usr/lib/gauche-0.98/0.9.15-p2/x86_64-pc-linux-gnu' 
'-L/usr/lib/gauche-0.98/site/x86_64-pc-linux-gnu'  -shared -o c-ffi.so 
'c-ffi.o' 'c-ffilib.o' 'closure_alloc.o' -lgauche-0.98 -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.98/0.9.15-p2/include' -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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.98/0.9.15-p2/include' -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fPIC -o 'c-lexlib.o' 'c-lexlib.c'
gcc -Wl,-z,relro  '-L/usr/lib/gauche-0.98/0.9.15-p2/x86_64-pc-linux-gnu' 
'-L/usr/lib/gauche-0.98/site/x86_64-pc-linux-gnu'  -shared -o c-lex.so 
'c-lex.o' 'c-lexlib.o' -lgauche-0.98 -lcrypt -lrt -lm  -lpthread 
/usr/lib/x86_64-linux-gnu/libffi_pic.a 
gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
'-I/usr/lib/gauche-0.98/0.9.15-p2/include' -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -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.98/0.9.15-p2/include' -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -fPIC -o 'c-parserlib.o' 'c-parserlib.c'
gcc -Wl,-z,relro  '-L/usr/lib/gauche-0.98/0.9.15-p2/x86_64-pc-linux-gnu' 
'-L/usr/lib/gauche-0.98/site/x86_64-pc-linux-gnu'  -shared -o c-parser.so 
'c-parser.o' 'c-parserlib.o' -lgauche-0.98 -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
/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-refe.texi; \
  rm -rf c-wrapper-refe.info*.gz; \
  gzip -9 -n c-wrapper-refe.info; \
fi
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
make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j2 check "TESTSUITEFLAGS=-j2 --verbose" 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 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -fPIC -o ffitest.o ffitest.c
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -fPIC -o fptr_array.o fptr_array.c
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -fPIC -o gcc_extension.o 
gcc_extension.c
gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -fPIC -o local_typedef.o 
local_typedef.c
gcc -Wl,-z,relro   -shared -o fptr_array.so fptr_array.o
gcc -Wl,-z,relro   -shared -o gcc_extension.so gcc_extension.o
gcc -Wl,-z,relro   -shared -o local_typedef.so local_typedef.o
gcc -Wl,-z,relro   -shared -o ffitest.so ffitest.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) ...                                      passed.
/usr/bin/gosh -I../src -I../lib ctypestest.scm >> test.log
Testing c-types ...                                              passed.
/usr/bin/gosh -I../src -I../lib cwrappertest.scm >> test.log
Testing c-wrapper ...                                            passed.
/usr/bin/gosh -I../src -I../lib struct_in_union-test.scm >> test.log
Testing struct_in_union ...                                      passed.
/usr/bin/gosh -I../src -I../lib stdio-test.scm >> test.log
Testing c-wrapper (include stdio.h) ...                          passed.
/usr/bin/gosh -I../src -I../lib math-test.scm >> test.log
Testing c-wrapper (include math.h) ...                           
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:192: extern double ceil (double 
__x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));;
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:192: syntax error (at token: 
SEMICOLON)
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:192: extern double ceil (double 
__x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));;
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:192: syntax error (at token: 
SEMICOLON)
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:192: GCC exitted abnormally (at 
token: SEMICOLON)
*** ERROR: process 22782 exitted abnormally with exit code 512
    While loading "./math-test.scm" at line 10
Stack Trace:
_______________________________________
  0  (parse-source include-dirs headers options)
        at "../lib/c-wrapper/c-parser.scm":1181
  1  thunk
  2  (c-parse (if (list? include-dirs) include-dirs (list include- ...
        at "../lib/c-wrapper.scm":105
  3  (thunk)
  4  (eval s #f)
  5  (with-exception-handler (^e (let1 e2 (if (condition? e) ($ ma ...
  6  (load-from-port (if ignore-coding port (open-coding-aware-por ...
make[2]: *** [Makefile:79: check-c] Error 70
make[2]: Leaving directory '/<<PKGBUILDDIR>>/testsuite'
make[1]: *** [Makefile:46: check] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 
returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

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 add an affects on src:gauche-c-wrapper, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to