--- Begin Message ---
Package: src:caml-crush
Version: 1.0.12-1.2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary --with autoreconf --no-parallel
dh_update_autotools_config -O--no-parallel
cp -an --reflink=auto config.guess
debian/.debhelper/bucket/files/a4125e31177bb614630b7af8fb9688eb603cf0c93a3f6d5e52830eb25ab603f5.tmp
cp: warning: behavior of -n is non-portable and may change in future; use
--update=none instead
mv
debian/.debhelper/bucket/files/a4125e31177bb614630b7af8fb9688eb603cf0c93a3f6d5e52830eb25ab603f5.tmp
debian/.debhelper/bucket/files/a4125e31177bb614630b7af8fb9688eb603cf0c93a3f6d5e52830eb25ab603f5
cp -f /usr/share/misc/config.guess ./config.guess
dh_autoreconf -O--no-parallel
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o
-path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a -type f -exec md5sum {} + -o
-type l -printf "symlink %p
" > debian/autoreconf.before
grep -q ^XDT_ configure.ac
autoreconf -f -i
configure.ac:1474: warning: AC_OUTPUT should be used without arguments.
configure.ac:1474: You should run autoupdate.
find ! -ipath "./debian/*" -a ! \( -path '*/.git/*' -o -path '*/.hg/*' -o
-path '*/.bzr/*' -o -path '*/.svn/*' -o -path '*/CVS/*' \) -a -type f -exec md5sum {} + -o
-type l -printf "symlink %p
" > debian/autoreconf.after
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./autogen.sh
[Generating configure file ...]
configure.ac:1474: warning: AC_OUTPUT should be used without arguments.
configure.ac:1474: You should run autoupdate.
|-> Run ./configure with the desired options, and then make
dh_auto_configure -Bbuild-SERVER -- --srcdir=.. --with-idlgen --with-rpcgen
--with-ssl --with-ssl-clientfiles=env
cd build-SERVER && ../configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode
--disable-dependency-tracking --srcdir=.. --with-idlgen --with-rpcgen --with-ssl
--with-ssl-clientfiles=env
checking for make... make
checking for ocamlc... yes
OCaml version is 4.14.1
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmklib... ocamlmklib
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 stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for caml/mlvalues.h... yes
checking for caml/camlidlruntime.h... yes
checking for dlfcn.h... yes
checking for pthread.h... yes
checking for camlp4... yes
checking for ocamlfind... ocamlfind
checking OCaml package rpc... found
checking OCaml package str... found
checking OCaml package config-file... found
checking OCaml package camlidl... found
checking for dlopen in -ldl... yes
checking for pthread_mutex_init in -lpthread... yes
checking for gawk... no
checking for mawk... mawk
checking for camlidl... yes
checking for spatch... yes
Detected coccinelle version 1.2
configure: Using default C based client and RPC
checking for getnetname in -ltirpc... yes
configure: Using the tirpc library
checking for rpc/rpc.h... yes
checking for rpc/clnt.h... yes
configure: Client library configured to read libname from a file
configure: Client library configured to use default: Tcp socket with host
127.0.0.1:4444
checking for clnttcp_create in -l"tirpc"... yes
configure: OCaml RPC generation forced for server side ...
checking for ocamlrpcgen... yes
configure: Native C RPC generation for client side ...
checking for rpcgen... yes
rpcgen found
configure: Using OCaml RPC over ssl for server side ...
checking OCaml package rpc... found
configure: Using newer Ocamlnet TLS
checking for gnutls_record_recv in -lgnutls... yes
checking OCaml package nettls-gnutls... found
configure: Using native C RPC over ssl (OpenSSL) for client side ...
checking for openssl/ssl.h... yes
checking for SSL_read in -lssl... yes
checking for OPENSSL_init_ssl in -lssl... yes
checking for SSL_write in -lssl... yes
configure: Openssl >= 1.1.0 detected
checking for OPENSSL_init_ssl in -lssl... (cached) yes
checking for SSL_CTX_new in -lssl... yes
checking for SSL_CTX_load_verify_locations in -lssl... yes
checking for SSL_CTX_use_certificate_file in -lssl... yes
checking for SSL_CTX_use_PrivateKey_file in -lssl... yes
checking for SSL_CTX_check_private_key in -lssl... yes
checking for SSL_new in -lssl... yes
checking for SSL_set_fd in -lssl... yes
checking for SSL_connect in -lssl... yes
checking for SSL_get_verify_result in -lssl... yes
checking for SSL_shutdown in -lssl... yes
checking for SSL_free in -lssl... yes
checking for SSL_CTX_free in -lssl... yes
checking for SSL_CTX_get_cert_store in -lssl... yes
checking for SSL_CTX_use_certificate in -lssl... yes
checking for SSL_CTX_use_RSAPrivateKey in -lssl... yes
checking for library containing BIO_new_mem_buf... -lcrypto
checking for PEM_read_bio_X509 in -lssl... yes
checking for PEM_read_bio_RSAPrivateKey in -lssl... yes
checking for X509_STORE_add_cert in -lssl... yes
configure: ssl type: env
configure: ssl ca:
configure: ssl cert:
configure: ssl privkey:
configure: creating ./config.status
config.status: creating src/bindings-pkcs11/Makefile
config.status: creating src/bindings-pkcs11/Makefile.standalone
config.status: creating src/rpc-pkcs11/Makefile
config.status: creating src/pkcs11proxyd/Makefile
config.status: creating src/client-lib/Makefile
config.status: creating src/filter/filter/Makefile
config.status: creating src/filter/backend/Makefile
config.status: creating src/filter/frontend/Makefile
config.status: creating src/filter/Makefile
config.status: creating src/tests/Makefile
config.status: creating src/tests/ocaml/Makefile
config.status: creating src/tests/c-based/Makefile
config.status: creating scripts/pkcs11proxyd
config.status: creating Makefile
###########################################
### SUMMARY ###
###########################################
IDL gen : YES
debug libs : NO
client type : Native C client (RPC generated with
native rpcgen)
client lib : Using .camlcrushlibname file
client socket : tcp -> 127.0.0.1:4444 (DEFAULT)
RPC gen : YES
SSL : YES (on the server and client side)
-SSL client lib : OpenSSL
-SSL files : Environment variables (at client
runtime)
|SSL CA certificates : env->PKCS11PROXY_CA_FILE
|SSL client certificate : env->PKCS11PROXY_CERT_FILE
|SSL client private key : env->PKCS11PROXY_PRIVKEY_FILE
Using PKCS11 filter on server side : YES
Aliasing (sessions and objects handles) : none
Compiling daemonization support : NO
./autogen.sh
[Generating configure file ...]
configure.ac:1474: warning: AC_OUTPUT should be used without arguments.
configure.ac:1474: You should run autoupdate.
|-> Run ./configure with the desired options, and then make
dh_auto_configure -Bbuild-UNIX_CLIENT -- --srcdir=..
--with-client-socket="unix,/var/run/pkcs11proxyd.socket"
cd build-UNIX_CLIENT && ../configure --build=x86_64-linux-gnu
--prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode
--disable-dependency-tracking --srcdir=..
--with-client-socket=unix,/var/run/pkcs11proxyd.socket
checking for make... make
checking for ocamlc... yes
OCaml version is 4.14.1
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmklib... ocamlmklib
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 stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for caml/mlvalues.h... yes
checking for caml/camlidlruntime.h... yes
checking for dlfcn.h... yes
checking for pthread.h... yes
checking for camlp4... yes
checking for ocamlfind... ocamlfind
checking OCaml package rpc... found
checking OCaml package str... found
checking OCaml package config-file... found
checking OCaml package camlidl... found
checking for dlopen in -ldl... yes
checking for pthread_mutex_init in -lpthread... yes
checking for gawk... no
checking for mawk... mawk
configure: Using default C based client and RPC
checking for getnetname in -ltirpc... yes
configure: Using the tirpc library
checking for rpc/rpc.h... yes
checking for rpc/clnt.h... yes
configure: Client library configured to read libname from a file
configure: Client library configured to use Unix socket located at
/var/run/pkcs11proxyd.socket
checking for clntunix_create in -l"tirpc"... yes
configure: creating ./config.status
config.status: creating src/bindings-pkcs11/Makefile
config.status: creating src/bindings-pkcs11/Makefile.standalone
config.status: creating src/rpc-pkcs11/Makefile
config.status: creating src/pkcs11proxyd/Makefile
config.status: creating src/client-lib/Makefile
config.status: creating src/filter/filter/Makefile
config.status: creating src/filter/backend/Makefile
config.status: creating src/filter/frontend/Makefile
config.status: creating src/filter/Makefile
config.status: creating src/tests/Makefile
config.status: creating src/tests/ocaml/Makefile
config.status: creating src/tests/c-based/Makefile
config.status: creating scripts/pkcs11proxyd
config.status: creating Makefile
###########################################
### SUMMARY ###
###########################################
IDL gen : NO
debug libs : NO
client type : Native C client (RPC generated with
native rpcgen)
client lib : Using .camlcrushlibname file
client socket : unix -> /var/run/pkcs11proxyd.socket
RPC gen : NO
SSL : NO (neither on the server nor on
the client side)
Using PKCS11 filter on server side : YES
Aliasing (sessions and objects handles) : none
Compiling daemonization support : NO
./autogen.sh
[Generating configure file ...]
configure.ac:1474: warning: AC_OUTPUT should be used without arguments.
configure.ac:1474: You should run autoupdate.
|-> Run ./configure with the desired options, and then make
dh_auto_configure -Bbuild-TCP_CLIENT -- --srcdir=..
--with-client-socket="tcp,127.0.0.1:4444"
cd build-TCP_CLIENT && ../configure --build=x86_64-linux-gnu
--prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode
--disable-dependency-tracking --srcdir=.. --with-client-socket=tcp,127.0.0.1:4444
checking for make... make
checking for ocamlc... yes
OCaml version is 4.14.1
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmklib... ocamlmklib
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 stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for caml/mlvalues.h... yes
checking for caml/camlidlruntime.h... yes
checking for dlfcn.h... yes
checking for pthread.h... yes
checking for camlp4... yes
checking for ocamlfind... ocamlfind
checking OCaml package rpc... found
checking OCaml package str... found
checking OCaml package config-file... found
checking OCaml package camlidl... found
checking for dlopen in -ldl... yes
checking for pthread_mutex_init in -lpthread... yes
checking for gawk... no
checking for mawk... mawk
configure: Using default C based client and RPC
checking for getnetname in -ltirpc... yes
configure: Using the tirpc library
checking for rpc/rpc.h... yes
checking for rpc/clnt.h... yes
configure: Client library configured to read libname from a file
configure: Client library configured to use Tcp socket with host
checking for clnttcp_create in -l"tirpc"... yes
configure: creating ./config.status
config.status: creating src/bindings-pkcs11/Makefile
config.status: creating src/bindings-pkcs11/Makefile.standalone
config.status: creating src/rpc-pkcs11/Makefile
config.status: creating src/pkcs11proxyd/Makefile
config.status: creating src/client-lib/Makefile
config.status: creating src/filter/filter/Makefile
config.status: creating src/filter/backend/Makefile
config.status: creating src/filter/frontend/Makefile
config.status: creating src/filter/Makefile
config.status: creating src/tests/Makefile
config.status: creating src/tests/ocaml/Makefile
config.status: creating src/tests/c-based/Makefile
config.status: creating scripts/pkcs11proxyd
config.status: creating Makefile
###########################################
### SUMMARY ###
###########################################
IDL gen : NO
debug libs : NO
client type : Native C client (RPC generated with
native rpcgen)
client lib : Using .camlcrushlibname file
client socket : tcp -> 127.0.0.1:4444
RPC gen : NO
SSL : NO (neither on the server nor on
the client side)
Using PKCS11 filter on server side : YES
Aliasing (sessions and objects handles) : none
Compiling daemonization support : NO
dh override_dh_auto_configure --with autoreconf --no-parallel
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
rm -f debian/caml-crush-clients.debhelper.log
debian/caml-crush-server.debhelper.log
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -Bbuild-SERVER -- CUSTOM_SONAME=libp11clienttcpssl.so
cd build-SERVER && make -j1 CUSTOM_SONAME=libp11clienttcpssl.so
make[2]: Entering directory '/<<PKGBUILDDIR>>/build-SERVER'
make -C src/bindings-pkcs11
make[3]: Entering directory '/<<PKGBUILDDIR>>/build-SERVER/src/bindings-pkcs11'
camlidl -header ../../../src/bindings-pkcs11/pkcs11.idl
cat ../../../src/bindings-pkcs11/pkcs11_stubs.c | sed -e
's/Begin_roots_block(\(.*\)).*/Begin_roots_block(\1);/g' | sed -e
's/Begin_root(\(.*\)).*/Begin_root(\1);/g' | sed -e
's/End_roots(\(.*\)).*/End_roots(\1);/g' > ./tmp
mv ./tmp ../../../src/bindings-pkcs11/pkcs11_stubs.c
#Sed to patch (GetSlotList/GetMechList/FindObjects/GetObjectSize)
sed -i "s/* int/\* nativeint/g" ../../../src/bindings-pkcs11/pkcs11.mli
sed -i "s/* int/\* nativeint/g" ../../../src/bindings-pkcs11/pkcs11.ml
#Handle recent IDL (as they rename some functions and cocci patches will not be
applied otherwise)
sed -i "s/caml_modify/modify/g" ../../../src/bindings-pkcs11/pkcs11_stubs.c
sed -i "s/caml_copy_nativeint/custom_copy_int/g"
../../../src/bindings-pkcs11/pkcs11_stubs.c
sed -i "s/caml_invalid_argument/invalid_argument/g"
../../../src/bindings-pkcs11/pkcs11_stubs.c
# Patch the stubs with cocci
spatch --no-show-diff --in-place --sp-file
../../../src/bindings-pkcs11/pkcs11_stubs.cocci
../../../src/bindings-pkcs11/pkcs11_stubs.c
init_defs_builtins: /usr/lib/coccinelle/standard.h
SPECIAL NAMES: adding ck_slot_id_t as a type
SPECIAL NAMES: adding ck_rv_t as a type
SPECIAL NAMES: adding camlidl_ctx as a type
SPECIAL NAMES: adding mlsize_t as a type
SPECIAL NAMES: adding ck_mechanism_type_t as a type
warning: line 96: _ctxs, previously declared as a metavariable, is used as an
identifier
warning: line 97: _ctx, previously declared as a metavariable, is used as an
identifier
warning: line 98: _c1, previously declared as a metavariable, is used as an
identifier
warning: line 99: _c2, previously declared as a metavariable, is used as an
identifier
warning: line 104: _v3, previously declared as a metavariable, is used as an
identifier
SPECIAL NAMES: adding value as a type
warning: line 803: _ctxs, previously declared as a metavariable, is used as an
identifier
warning: line 822: _ctxs, previously declared as a metavariable, is used as an
identifier
HANDLING: ../../../src/bindings-pkcs11/pkcs11_stubs.c
warning: rule_find_object, node 32: {2[1,2,24,25] in
camlidl_pkcs11_ML_CK_C_FindObjects may be inconsistently modified
warning: rule_find_object, node 28: for[1,2,24]* in
camlidl_pkcs11_ML_CK_C_FindObjects may be inconsistently modified
warning: rule_find_object, node 33: _v3 = ... ;[1,2,24,25,26] in
camlidl_pkcs11_ML_CK_C_FindObjects may be inconsistently modified
warning: rule_find_object, node 34: modify(...)[1,2,24,25,27] in
camlidl_pkcs11_ML_CK_C_FindObjects may be inconsistently modified
warning: rule_find_object, node 35: }2[1,2,24,25] in
camlidl_pkcs11_ML_CK_C_FindObjects may be inconsistently modified
warning: rule_get_slot_list, node 32: {2[1,2,24,25] in
camlidl_pkcs11_ML_CK_C_GetSlotList may be inconsistently modified
warning: rule_get_slot_list, node 28: for[1,2,24]* in
camlidl_pkcs11_ML_CK_C_GetSlotList may be inconsistently modified
warning: rule_get_slot_list, node 33: _v3 = ... ;[1,2,24,25,26] in
camlidl_pkcs11_ML_CK_C_GetSlotList may be inconsistently modified
warning: rule_get_slot_list, node 34: modify(...)[1,2,24,25,27] in
camlidl_pkcs11_ML_CK_C_GetSlotList may be inconsistently modified
warning: rule_get_slot_list, node 35: }2[1,2,24,25] in
camlidl_pkcs11_ML_CK_C_GetSlotList may be inconsistently modified
warning: rule_get_mech_list, node 32: {2[1,2,24,25] in
camlidl_pkcs11_ML_CK_C_GetMechanismList may be inconsistently modified
warning: rule_get_mech_list, node 28: for[1,2,24]* in
camlidl_pkcs11_ML_CK_C_GetMechanismList may be inconsistently modified
warning: rule_get_mech_list, node 33: _v3 = ... ;[1,2,24,25,26] in
camlidl_pkcs11_ML_CK_C_GetMechanismList may be inconsistently modified
warning: rule_get_mech_list, node 34: modify(...)[1,2,24,25,27] in
camlidl_pkcs11_ML_CK_C_GetMechanismList may be inconsistently modified
warning: rule_get_mech_list, node 35: }2[1,2,24,25] in
camlidl_pkcs11_ML_CK_C_GetMechanismList may be inconsistently modified
warning: rule_camlidl_c2ml_pkcs11_struct_ck_attribute, node 22: }2[1,2,11,12]
in camlidl_c2ml_pkcs11_struct_ck_attribute may be inconsistently modified
warning: rule_camlidl_c2ml_pkcs11_struct_ck_attribute, node 19: {2[1,2,11,12]
in camlidl_c2ml_pkcs11_struct_ck_attribute may be inconsistently modified
warning: rule_camlidl_c2ml_pkcs11_struct_ck_attribute, node 21:
modify(...)[1,2,11,12,14] in camlidl_c2ml_pkcs11_struct_ck_attribute may be
inconsistently modified
warning: rule_camlidl_c2ml_pkcs11_struct_ck_attribute, node 15: for[1,2,11]* in
camlidl_c2ml_pkcs11_struct_ck_attribute may be inconsistently modified
warning: rule_camlidl_c2ml_pkcs11_struct_ck_attribute, node 20: _v5 = ...
;[1,2,11,12,13] in camlidl_c2ml_pkcs11_struct_ck_attribute may be
inconsistently modified
warning: rule_camlidl_ml2c_pkcs11_struct_ck_attribute, node 22: _v7 = ...
;[1,2,13,14,15] in camlidl_ml2c_pkcs11_struct_ck_attribute may be
inconsistently modified
warning: rule_camlidl_ml2c_pkcs11_struct_ck_attribute, node 17: for[1,2,13]* in
camlidl_ml2c_pkcs11_struct_ck_attribute may be inconsistently modified
warning: rule_camlidl_ml2c_pkcs11_struct_ck_attribute, node 23:
statement[1,2,13,14,16] in camlidl_ml2c_pkcs11_struct_ck_attribute may be
inconsistently modified
warning: rule_camlidl_ml2c_pkcs11_struct_ck_attribute, node 24: }2[1,2,13,14]
in camlidl_ml2c_pkcs11_struct_ck_attribute may be inconsistently modified
warning: rule_camlidl_ml2c_pkcs11_struct_ck_attribute, node 21: {2[1,2,13,14]
in camlidl_ml2c_pkcs11_struct_ck_attribute may be inconsistently modified
#Sed because spatch is not able to preprocess
sed -i 's/^_CAMLIDL_EXTERN_C/extern/g' ../../../src/bindings-pkcs11/pkcs11.h
#Sed to change the structure packing pragma in WIN32 mode: CamlIDL fixes it to
8 while
#PKCS11 header fixes it to 1 => this can create binary interoperability issues
sed -i 's/push,8/push,1\/* Replaced for PKCS11 compatibiliy *\//g'
../../../src/bindings-pkcs11/pkcs11.h
spatch --no-show-diff --in-place --sp-file
../../../src/bindings-pkcs11/pkcs11.cocci.new
../../../src/bindings-pkcs11/pkcs11.h
init_defs_builtins: /usr/lib/coccinelle/standard.h
SPECIAL NAMES: adding ck_rv_t as a type
SPECIAL NAMES: adding ck_session_handle_t as a type
warning: line 5: should session be a metavariable?
warning: line 5: should data be a metavariable?
warning: line 5: should data_len be a metavariable?
warning: line 5: should encrypted be a metavariable?
warning: line 5: should encrypted_len be a metavariable?
warning: line 12: should session be a metavariable?
warning: line 12: should data be a metavariable?
warning: line 12: should data_len be a metavariable?
warning: line 12: should encrypted be a metavariable?
warning: line 12: should encrypted_len be a metavariable?
warning: line 19: should session be a metavariable?
warning: line 19: should data be a metavariable?
warning: line 19: should data_len be a metavariable?
warning: line 19: should encrypted be a metavariable?
warning: line 19: should encrypted_len be a metavariable?
warning: line 26: should session be a metavariable?
warning: line 26: should data be a metavariable?
warning: line 26: should data_len be a metavariable?
warning: line 26: should encrypted be a metavariable?
warning: line 26: should encrypted_len be a metavariable?
warning: line 33: should session be a metavariable?
warning: line 33: should encrypted be a metavariable?
warning: line 33: should encrypted_len be a metavariable?
warning: line 40: should session be a metavariable?
warning: line 40: should encrypted be a metavariable?
warning: line 40: should encrypted_len be a metavariable?
warning: line 40: should decrypted be a metavariable?
warning: line 40: should decrypted_len be a metavariable?
warning: line 47: should session be a metavariable?
warning: line 47: should signature be a metavariable?
warning: line 47: should signature_len be a metavariable?
warning: line 47: should data be a metavariable?
warning: line 47: should data_len be a metavariable?
warning: line 54: should session be a metavariable?
warning: line 54: should encrypted be a metavariable?
warning: line 54: should encrypted_len be a metavariable?
warning: line 54: should data be a metavariable?
warning: line 54: should data_len be a metavariable?
warning: line 61: should session be a metavariable?
warning: line 61: should encrypted be a metavariable?
warning: line 61: should encrypted_len be a metavariable?
warning: line 61: should data be a metavariable?
warning: line 61: should data_len be a metavariable?
warning: line 68: should session be a metavariable?
warning: line 68: should encrypted be a metavariable?
warning: line 68: should encrypted_len be a metavariable?
warning: line 68: should data be a metavariable?
warning: line 68: should data_len be a metavariable?
warning: line 75: should session be a metavariable?
warning: line 75: should decrypted be a metavariable?
warning: line 75: should decrypted_len be a metavariable?
warning: line 82: should session be a metavariable?
warning: line 82: should data be a metavariable?
warning: line 82: should data_len be a metavariable?
warning: line 87: should data be a metavariable?
warning: line 87: should output be a metavariable?
HANDLING: ../../../src/bindings-pkcs11/pkcs11.h
#Sed to force the produced idl variable context and some values to be tagged
'unused'
sed -i 's/\(.*\), camlidl_ctx _ctx)$/#ifdef __GNUC__\n\1,
__attribute__((unused)) camlidl_ctx _ctx)\n#else\n\1, camlidl_ctx
_ctx)\n#endif/g' ../../../src/bindings-pkcs11/pkcs11_stubs.c
sed -i 's/\(.*\)value _unit)$/#ifdef __GNUC__\n\1__attribute__((unused))value
_unit)\n#else\n\1value _unit)\n#endif/g'
../../../src/bindings-pkcs11/pkcs11_stubs.c
#Sed to disable the warnings on shadowing caml__roots_block
sed -i 's/\(.*\)Begin_root(\(.*\)/\/* We add this because of possible shadow warning *\/\n\/*
(this is not our code: these are camlidl macros)*\/\n#if GCC_VERSION > 40600\n#pragma GCC
diagnostic push\n#pragma GCC diagnostic ignored
\"-Wshadow\"\n#endif\n\1Begin_root(\2\n#if GCC_VERSION > 40600\n#pragma GCC
diagnostic pop\n#endif/g' ../../../src/bindings-pkcs11/pkcs11_stubs.c
sed -i 's/\(.*\)Begin_roots_block(\(.*\)/\/* We add this because of possible shadow warning
*\/\n\/* (this is not our code: these are camlidl macros)*\/\n#if GCC_VERSION >
40600\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored
\"-Wshadow\"\n#endif\n\1Begin_roots_block(\2\n#if GCC_VERSION > 40600\n#pragma GCC
diagnostic pop\n#endif/g' ../../../src/bindings-pkcs11/pkcs11_stubs.c
gcc ../../../src/bindings-pkcs11/pkcs11_stubs.c -DSERVER_ROLE -c -O2 -fPIC
-Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs
-Winline -Wuninitialized -fcommon -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/lib/ocaml
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_flags_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:37:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
37 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_ml2c_pkcs11_struct_ck_info’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:104:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
104 | if (_c5 != 32) invalid_argument("struct ck_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:113:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
113 | if (_c10 != 32) invalid_argument("struct ck_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_notification_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:179:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
179 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_slot_id_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:200:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
200 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_ml2c_pkcs11_struct_ck_slot_info’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:223:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
223 | if (_c4 != 64) invalid_argument("struct ck_slot_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:230:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
230 | if (_c8 != 32) invalid_argument("struct ck_slot_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_struct_ck_slot_info’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:268:13: warning: "modify" is deprecated: use
"caml_modify" instead
268 | modify(&Field(_v3[0], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_ml2c_pkcs11_struct_ck_token_info’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:326:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
326 | if (_c4 != 32) invalid_argument("struct ck_token_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:333:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
333 | if (_c8 != 32) invalid_argument("struct ck_token_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:340:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
340 | if (_c12 != 16) invalid_argument("struct ck_token_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:347:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
347 | if (_c16 != 16) invalid_argument("struct ck_token_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:390:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
390 | if (_c33 != 16) invalid_argument("struct ck_token_info");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_struct_ck_token_info’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:438:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
438 | _v3[5] = custom_copy_int((*_c1).max_session_count);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:439:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
439 | _v3[6] = custom_copy_int((*_c1).session_count);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:440:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
440 | _v3[7] = custom_copy_int((*_c1).max_rw_session_count);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:441:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
441 | _v3[8] = custom_copy_int((*_c1).rw_session_count);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:442:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
442 | _v3[9] = custom_copy_int((*_c1).max_pin_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:443:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
443 | _v3[10] = custom_copy_int((*_c1).min_pin_len);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:444:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
444 | _v3[11] = custom_copy_int((*_c1).total_public_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:445:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
445 | _v3[12] = custom_copy_int((*_c1).free_public_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:446:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
446 | _v3[13] = custom_copy_int((*_c1).total_private_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:447:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
447 | _v3[14] = custom_copy_int((*_c1).free_private_memory);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_session_handle_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:479:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
479 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_user_type_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:500:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
500 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_state_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:521:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
521 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_struct_ck_session_info’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:568:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
568 | _v3[3] = custom_copy_int((*_c1).device_error);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_object_handle_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:595:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
595 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_object_class_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:616:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
616 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_hw_feature_type_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:637:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
637 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_key_type_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:658:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
658 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_certificate_type_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:679:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
679 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_attribute_type_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:700:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
700 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_struct_ck_attribute’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:850:13: warning: "modify" is deprecated: use
"caml_modify" instead
850 | modify(&Field(_v3[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:857:13: warning: "modify" is deprecated: use
"caml_modify" instead
857 | modify(&Field(_v3[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_ml2c_pkcs11_struct_ck_date’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:901:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
901 | if (_c4 != 4) invalid_argument("struct ck_date");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:908:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
908 | if (_c8 != 2) invalid_argument("struct ck_date");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:915:13: warning: "invalid_argument" is
deprecated: use "caml_invalid_argument" instead
915 | if (_c12 != 2) invalid_argument("struct ck_date");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_mechanism_type_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:981:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
981 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_struct_ck_mechanism’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:1033:13: warning: "modify" is deprecated: use
"caml_modify" instead
1033 | modify(&Field(_v3[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_struct_ck_mechanism_info’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:1080:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
1080 | _v3[0] = custom_copy_int((*_c1).min_key_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:1081:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
1081 | _v3[1] = custom_copy_int((*_c1).max_key_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_CK_ULONG’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:1188:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
1188 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_CK_LONG’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:1209:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
1209 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_c2ml_pkcs11_ck_rv_t’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:2288:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
2288 | _v1 = custom_copy_int((*_c2));
| ^~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_GetSlotList’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:2630:13: warning: "modify" is deprecated: use
"caml_modify" instead
2630 | modify(&Field(_vres[1], _c2), _v3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:2634:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
2634 | _vres[2] = custom_copy_int(*real_count);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_GetMechanismList’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:3040:13: warning: "modify" is deprecated: use
"caml_modify" instead
3040 | modify(&Field(_vres[1], _c2), _v3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:3044:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
3044 | _vres[2] = custom_copy_int(*real_count);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_GenerateRandom’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:3229:13: warning: "modify" is deprecated: use
"caml_modify" instead
3229 | modify(&Field(_vres[1], _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_FindObjects’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:3316:13: warning: "modify" is deprecated: use
"caml_modify" instead
3316 | modify(&Field(_vres[1], _c2), _v3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:3334:13: warning: "modify" is deprecated: use
"caml_modify" instead
3334 | modify(&Field(_vres[1], _c2), _v3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:3339:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
3339 | _vres[2] = custom_copy_int(*object_count);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_GetAttributeValue’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:3657:13: warning: "modify" is deprecated: use
"caml_modify" instead
3657 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_GetObjectSize’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:3730:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
3730 | _vres[1] = custom_copy_int(*object_size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_WrapKey’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:3781:13: warning: "modify" is deprecated: use
"caml_modify" instead
3781 | modify(&Field(_vres[1], _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_Digest’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:3977:13: warning: "modify" is deprecated: use
"caml_modify" instead
3977 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_DigestFinal’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4068:13: warning: "modify" is deprecated: use
"caml_modify" instead
4068 | modify(&Field(_vres[1], _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_Sign’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4168:13: warning: "modify" is deprecated: use
"caml_modify" instead
4168 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_SignRecover’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4224:13: warning: "modify" is deprecated: use
"caml_modify" instead
4224 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_SignFinal’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4296:13: warning: "modify" is deprecated: use
"caml_modify" instead
4296 | modify(&Field(_vres[1], _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_VerifyRecover’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4437:13: warning: "modify" is deprecated: use
"caml_modify" instead
4437 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_Encrypt’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4574:13: warning: "modify" is deprecated: use
"caml_modify" instead
4574 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_EncryptUpdate’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4632:13: warning: "modify" is deprecated: use
"caml_modify" instead
4632 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_EncryptFinal’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4676:13: warning: "modify" is deprecated: use
"caml_modify" instead
4676 | modify(&Field(_vres[1], _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_DigestEncryptUpdate’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4734:13: warning: "modify" is deprecated: use
"caml_modify" instead
4734 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_SignEncryptUpdate’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4792:13: warning: "modify" is deprecated: use
"caml_modify" instead
4792 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_Decrypt’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4872:13: warning: "modify" is deprecated: use
"caml_modify" instead
4872 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_DecryptUpdate’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4930:13: warning: "modify" is deprecated: use
"caml_modify" instead
4930 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_DecryptFinal’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:4974:13: warning: "modify" is deprecated: use
"caml_modify" instead
4974 | modify(&Field(_vres[1], _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_DecryptDigestUpdate’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:5032:13: warning: "modify" is deprecated: use
"caml_modify" instead
5032 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_DecryptVerifyUpdate’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:5090:13: warning: "modify" is deprecated: use
"caml_modify" instead
5090 | modify(&Field(_vres[1], _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ML_CK_C_GetOperationState’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:5134:13: warning: "modify" is deprecated: use
"caml_modify" instead
5134 | modify(&Field(_vres[1], _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_int_to_ulong_char_array’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:5232:13: warning: "modify" is deprecated: use
"caml_modify" instead
5232 | modify(&Field(_vres, _c1), _v2);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_char_array_to_ulong’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:5257:13: warning: "copy_nativeint" is
deprecated: use "caml_copy_nativeint" instead
5257 | _vres = custom_copy_int(output);
| ^~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_hton_char_array’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:5275:17: error: redeclaration of
‘tmp’ with no linkage
5275 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5271:17: note: previous declaration
of ‘tmp’ with type ‘unsigned char[8]’
5271 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5276:17: error: redeclaration of
‘tmp_out_len’ with no linkage
5276 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5272:17: note: previous declaration
of ‘tmp_out_len’ with type ‘long unsigned int’
5272 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5278:17: error: redeclaration of
‘tmp’ with no linkage
5278 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5275:17: note: previous declaration
of ‘tmp’ with type ‘unsigned char[8]’
5275 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5279:17: error: redeclaration of
‘tmp_out_len’ with no linkage
5279 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5276:17: note: previous declaration
of ‘tmp_out_len’ with type ‘long unsigned int’
5276 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5295:13: warning: "modify" is deprecated: use
"caml_modify" instead
5295 | modify(&Field(_vres, _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c: In function
‘camlidl_pkcs11_ntoh_char_array’:
../../../src/bindings-pkcs11/pkcs11_stubs.c:5314:17: error: redeclaration of
‘tmp’ with no linkage
5314 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5310:17: note: previous declaration
of ‘tmp’ with type ‘unsigned char[8]’
5310 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5315:17: error: redeclaration of
‘tmp_out_len’ with no linkage
5315 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5311:17: note: previous declaration
of ‘tmp_out_len’ with type ‘long unsigned int’
5311 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5317:17: error: redeclaration of
‘tmp’ with no linkage
5317 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5314:17: note: previous declaration
of ‘tmp’ with type ‘unsigned char[8]’
5314 | unsigned char tmp[8];
| ^~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5318:17: error: redeclaration of
‘tmp_out_len’ with no linkage
5318 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5315:17: note: previous declaration
of ‘tmp_out_len’ with type ‘long unsigned int’
5315 | unsigned long tmp_out_len;
| ^~~~~~~~~~~
../../../src/bindings-pkcs11/pkcs11_stubs.c:5334:13: warning: "modify" is deprecated: use
"caml_modify" instead
5334 | modify(&Field(_vres, _c4), _v5);
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:10: all] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-SERVER/src/bindings-pkcs11'
make[2]: *** [Makefile:14: bindings] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-SERVER'
dh_auto_build: error: cd build-SERVER && make -j1
CUSTOM_SONAME=libp11clienttcpssl.so returned exit code 2
make[1]: *** [debian/rules:45: override_dh_auto_build-SERVER] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:53: binary] Error 2
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/202407/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
--- End Message ---