Source: gauche-c-wrapper Version: 0.6.1-12 Severity: serious Tags: ftbfs sid trixie Justification: fails to build from source (but built successfully in the past) User: [email protected] Usertags: piuparts
dh_auto_build
make -j16
make[1]: Entering directory '/build/gauche-c-wrapper-0.6.1'
cd src; make all
make[2]: Entering directory '/build/gauche-c-wrapper-0.6.1/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
/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
c-lex.c: In function 'Scm_ReadStringLiteral':
c-lex.c:998:1: error: number of arguments doesn't match prototype
998 | {
| ^
In file included from /usr/lib/gauche-0.98/0.9.14/include/gauche.h:964,
from c-lex.h:45,
from c-lex.c:35:
/usr/lib/gauche-0.98/0.9.14/include/gauche/string.h:243:20: error: prototype
declaration
243 | SCM_EXTERN ScmObj Scm_ReadStringLiteral(ScmPort*, ScmReadContext*,
| ^~~~~~~~~~~~~~~~~~~~~
In file included from c-ffi.c:31:
c-ffi.c: In function 'ffi_type_of':
c-ffi.c:350:34: error: too few arguments to function 'Scm_InstanceSlotRef'
350 | return SCM_FFI_TYPE_DATA(Scm_InstanceSlotRef(ctype,
sa->slotNumber));
| ^~~~~~~~~~~~~~~~~~~
c-ffi.h:137:42: note: in definition of macro 'SCM_FFI_TYPE'
137 | #define SCM_FFI_TYPE(obj) ((ScmFFIType*)(obj))
| ^~~
c-ffi.c:350:16: note: in expansion of macro 'SCM_FFI_TYPE_DATA'
350 | return SCM_FFI_TYPE_DATA(Scm_InstanceSlotRef(ctype,
sa->slotNumber));
| ^~~~~~~~~~~~~~~~~
In file included from /usr/lib/gauche-0.98/0.9.14/include/gauche.h:741,
from c-ffi.h:40:
/usr/lib/gauche-0.98/0.9.14/include/gauche/class.h:624:19: note: declared here
624 | SCM_EXTERN ScmObj Scm_InstanceSlotRef(ScmObj obj, ScmSmallInt k,
| ^~~~~~~~~~~~~~~~~~~
*** ERROR: command execution failed: gcc -c -DGAUCHE_API_0_8_8 -Wdate-time
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.98/0.9.14/include' -g
-O2 -Werror=implicit-function-declaration -ffile-prefix ...
Stack Trace:
_______________________________________
0 (report-error e)
1 (apply gauche-package-compile src (delete-keyword :output args))
at "/usr/share/gauche-0.98/0.9.14/lib/gauche/package/compile.scm":137
2 (proc (car xs))
3 (map (lambda (src) (cond ((equal? (path-extension src) OBJEXT ...
at "/usr/share/gauche-0.98/0.9.14/lib/gauche/package/compile.scm":134
4 (#:G259 (cddr args))
5 (main args)
gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
'-I/usr/lib/gauche-0.98/0.9.14/include' -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/gauche-c-wrapper-0.6.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC
-o 'c-lex.o' 'c-lex.c'
make[2]: *** [Makefile:69: c-lex.so] Error 70
make[2]: *** Waiting for unfinished jobs....
c-ffi.c: In function 'Scm_FFIPrepClosure':
c-ffi.c:866:5: warning: 'ffi_prep_closure' is deprecated: use
ffi_prep_closure_loc instead [-Wdeprecated-declarations]
866 | ffi_status status = ffi_prep_closure(closure, cif, closure_func,
| ^~~~~~~~~~
In file included from c-ffi.h:50:
/usr/include/x86_64-linux-gnu/ffi.h:356:1: note: declared here
356 | ffi_prep_closure (ffi_closure*,
| ^~~~~~~~~~~~~~~~
*** ERROR: command execution failed: gcc -c -DGAUCHE_API_0_8_8 -Wdate-time
-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE '-I/usr/lib/gauche-0.98/0.9.14/include' -g
-O2 -Werror=implicit-function-declaration -ffile-prefix ...
Stack Trace:
_______________________________________
0 (report-error e)
1 (apply gauche-package-compile src (delete-keyword :output args))
at "/usr/share/gauche-0.98/0.9.14/lib/gauche/package/compile.scm":137
2 (proc (car xs))
3 (map (lambda (src) (cond ((equal? (path-extension src) OBJEXT ...
at "/usr/share/gauche-0.98/0.9.14/lib/gauche/package/compile.scm":134
4 (#:G259 (cddr args))
5 (main args)
gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
'-I/usr/lib/gauche-0.98/0.9.14/include' -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/gauche-c-wrapper-0.6.1=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC
-o 'c-ffi.o' 'c-ffi.c'
make[2]: *** [Makefile:66: c-ffi.so] Error 70
gcc -c -DGAUCHE_API_0_8_8 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
'-I/usr/lib/gauche-0.98/0.9.14/include' -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/gauche-c-wrapper-0.6.1=. -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.14/include' -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/gauche-c-wrapper-0.6.1=. -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.14/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 -lmbedtls -lcrypt -lrt -lm
-lpthread /usr/lib/x86_64-linux-gnu/libffi_pic.a
make[2]: Leaving directory '/build/gauche-c-wrapper-0.6.1/src'
make[1]: *** [Makefile:40: all] Error 2
make[1]: Leaving directory '/build/gauche-c-wrapper-0.6.1'
dh_auto_build: error: make -j16 returned exit code 2
make: *** [debian/rules:9: build] Error 25
Andreas
gauche-c-wrapper.sid.build.gz
Description: application/gzip

