forwarded 1114140 https://github.com/gssapi/gssproxy/issues/117
thanks

Thanks for the report, I can reproduce it.  Something outside of
gssproxy must have changed wrt the prototype here, see my upstream bug
reports for an initial idea.

/Simon

Santiago Vila <[email protected]> writes:

> Package: src:gssproxy
> Version: 0.9.2-4
> Severity: serious
> Tags: ftbfs forky sid
>
> Dear maintainer:
>
> During a rebuild of all packages in unstable, your package failed to build.
>
> Below you will find how the build ends (probably the most relevant part,
> but not necessarily). If required, the full build log is available here:
>
> https://people.debian.org/~sanvila/build-logs/202509/
>
> 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:gssproxy, so that this is still
> visible in the BTS web page for this package.
>
> Thanks.
>
> --------------------------------------------------------------------------------
> [...]
>  debian/rules clean
> dh clean --builddirectory build
>    dh_auto_clean -O--builddirectory=build
>    dh_autoreconf_clean -O--builddirectory=build
>    dh_clean -O--builddirectory=build
>    debian/rules execute_after_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf m4
> rm -f ABOUT-NLS config.rpath ltmain.sh
> rm -f po/Make* po/Rules-quot po/*.header po/*.sed po/*.sin
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  debian/rules binary
> dh binary --builddirectory build
>    dh_update_autotools_config -O--builddirectory=build
>
> [... snipped ...]
>
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
> libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
> checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
> checking for shared library run path origin... done
> checking whether NLS is requested... yes
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking for stdint.h... (cached) yes
> checking for dlfcn.h... (cached) yes
> checking for errno_t... no
> configure: Detected operating system type: debian
> checking for struct ucred.pid... yes
> checking for struct ucred.uid... yes
> checking for struct ucred.gid... yes
> Using gssproxy interposer behavior REMOTE_FIRST
> checking for long long... yes
> checking size of int... 4
> checking size of char... 1
> checking size of short... 2
> checking size of long... 8
> checking size of long long... 8
> checking for uint_t... no
> checking for int8_t... yes
> checking for uint8_t... yes
> checking for int16_t... yes
> checking for uint16_t... yes
> checking for int32_t... yes
> checking for uint32_t... yes
> checking for int64_t... yes
> checking for uint64_t... yes
> checking for size_t... yes
> checking for ssize_t... yes
> checking size of off_t... 8
> checking size of size_t... 8
> checking size of ssize_t... 8
> checking for intptr_t... yes
> checking for uintptr_t... yes
> checking for ptrdiff_t... yes
> checking for keyutils.h... yes
> checking for add_key in -lkeyutils... yes
> checking how to run the C preprocessor... gcc -E
> checking for egrep -e... (cached) /usr/bin/grep -E
> checking whether gcc is Clang... no
> checking whether pthreads work with "-pthread" and "-lpthread"... yes
> checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
> checking whether more special flags are required for pthreads... no
> checking for PTHREAD_PRIO_INHERIT... yes
> checking for gssapi/gssapi.h... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for KRB5_GSSAPI... yes
> checking for gss_import_cred in -lgssapi_krb5... yes
> checking for gss_export_cred in -lgssapi_krb5... yes
> checking for gcc options needed to detect all undeclared functions... none 
> needed
> checking whether GSS_KRB5_GET_CRED_IMPERSONATOR is declared... yes
> checking whether GSS_KRB5_CRED_NO_CI_FLAGS_X is declared... yes
> checking for gssrpc/rpc.h... yes
> checking for gssrpc_xdrmem_create in -lgssrpc... yes
> checking for __secure_getenv... no
> checking for secure_getenv... yes
> configure: Will use init script type: systemd
> checking for popt.h... yes
> checking for poptGetContext in -lpopt... yes
> checking for VERTO... yes
> checking for verto_free in -lverto... yes
> checking for verto_cleanup... yes
> checking for LIBINI_CONFIG... yes
> checking for ini_config_file_open in -lini_config... yes
> checking for ini_config_augment in -lini_config... yes
> checking for ref_array_destroy in -lref_array... yes
> checking for SYSTEMD_DAEMON... no
> configure: Build without libsystemd-daemon support
> checking for selinux/selinux.h... yes
> checking for is_selinux_enabled in -lselinux... yes
> checking for xsltproc... /usr/bin/xsltproc
> checking for xmllint... /usr/bin/xmllint
> checking for xmlcatalog... /usr/bin/xmlcatalog
> checking for /etc/xml/catalog... yes
> checking for Docbook XSL templates in XML catalog... yes
> checking for po4a... no
> checking for doxygen... false
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating tests/Makefile
> config.status: creating man/Makefile
> config.status: creating contrib/gssproxy.spec
> config.status: creating man/gssproxy-mech.8.xml
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> config.status: executing default-1 commands
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -O--builddirectory=build
>       cd build && make -j2
> make[1]: Entering directory '/<<PKGBUILDDIR>>/build'
> make  all-recursive
> make[2]: Entering directory '/<<PKGBUILDDIR>>/build'
> Making all in .
> make[3]: Entering directory '/<<PKGBUILDDIR>>/build'
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_util.o ../s
>  rc/gp_util.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_config.o ..
>  /src/gp_config.c
> ../src/gp_util.c: In function ‘gp_add_option’:
> ../src/gp_util.c:186:18: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_option *)’ {aka ‘int (*)(XDR *, gssx_option *)’} 
> to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   186 |         xdr_free((xdrproc_t)xdr_gssx_option, (char *)&opt);
>       |                  ^
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_init.o ../s
>  rc/gp_init.c
> ../src/gp_init.c: In function ‘setup_socket’:
> ../src/gp_init.c:138:36: warning: unused parameter ‘with_activation’ 
> [-Wunused-parameter]
>   138 |                               bool with_activation)
>       |                               ~~~~~^~~~~~~~~~~~~~~
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_mgmt.o ../s
>  rc/gp_mgmt.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_socket.o ..
>  /src/gp_socket.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_workers.o .
>  ./src/gp_workers.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_creds.o ../
>  src/gp_creds.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_rpc_debug.o
>   ../src/gp_rpc_debug.c
> ../src/gp_creds.c: In function ‘gp_export_sync_creds’:
> ../src/gp_creds.c:1206:14: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_cred *)’ {aka ‘int (*)(XDR *, gssx_cred *)’} to 
> ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>  1206 |     xdr_free((xdrproc_t)xdr_gssx_cred, (char *)&creds);
>       |              ^
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_rpc_process
>  .o ../src/gp_rpc_process.c
> gcc -DHAVE_CONFIG_H -I. -I..   -Wall -Iinclude -I../include -I.. -Iinclude 
> -I. -isystem /usr/include/mit-krb5  -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DVARDIR=\"/var\" -DSHLIBEXT=\"\" -DSYSCONFDIR=\"/etc\" 
> -DLOCALEDIR=\"/usr/share/locale\"   -Wdate-time -D_FORTIFY_SOURCE=2  -Wall 
> -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align 
> -Wwrite-strings -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing 
> -Werror-implicit-function-declaration -Werror=format-security -Wextra  -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o 
> src/gp_export.o ..
>  /src/gp_export.c
> ../src/gp_rpc_process.c:18:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, void *)’ {aka ‘int (*)(XDR *, void *)’} to 
> ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>    18 |         (xdrproc_t)xdr_void,
>       |         ^
> ../src/gp_rpc_process.c:19:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, void *)’ {aka ‘int (*)(XDR *, void *)’} to 
> ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>    19 |         (xdrproc_t)xdr_void,
>       |         ^
> ../src/gp_rpc_process.c:25:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_indicate_mechs *)’ {aka ‘int (*)(XDR 
> *, gssx_arg_indicate_mechs *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    25 |         (xdrproc_t)xdr_gssx_arg_indicate_mechs,
>       |         ^
> ../src/gp_rpc_process.c:26:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_indicate_mechs *)’ {aka ‘int (*)(XDR 
> *, gssx_res_indicate_mechs *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    26 |         (xdrproc_t)xdr_gssx_res_indicate_mechs,
>       |         ^
> ../src/gp_rpc_process.c:32:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_get_call_context *)’ {aka ‘int (*)(XDR 
> *, gssx_arg_get_call_context *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    32 |         (xdrproc_t)xdr_gssx_arg_get_call_context,
>       |         ^
> ../src/gp_rpc_process.c:33:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_get_call_context *)’ {aka ‘int (*)(XDR 
> *, gssx_res_get_call_context *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    33 |         (xdrproc_t)xdr_gssx_res_get_call_context,
>       |         ^
> ../src/gp_rpc_process.c:39:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_import_and_canon_name *)’ {aka ‘int 
> (*)(XDR *, gssx_arg_import_and_canon_name *)’} to ‘bool_t (*)(void)’ {aka 
> ‘int (*)(void)’} [-Wcast-function-type]
>    39 |         (xdrproc_t)xdr_gssx_arg_import_and_canon_name,
>       |         ^
> ../src/gp_rpc_process.c:40:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_import_and_canon_name *)’ {aka ‘int 
> (*)(XDR *, gssx_res_import_and_canon_name *)’} to ‘bool_t (*)(void)’ {aka 
> ‘int (*)(void)’} [-Wcast-function-type]
>    40 |         (xdrproc_t)xdr_gssx_res_import_and_canon_name,
>       |         ^
> ../src/gp_rpc_process.c:46:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_export_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_export_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    46 |         (xdrproc_t)xdr_gssx_arg_export_cred,
>       |         ^
> ../src/gp_rpc_process.c:47:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_export_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_res_export_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    47 |         (xdrproc_t)xdr_gssx_res_export_cred,
>       |         ^
> ../src/gp_rpc_process.c:53:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_import_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_import_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    53 |         (xdrproc_t)xdr_gssx_arg_import_cred,
>       |         ^
> ../src/gp_rpc_process.c:54:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_import_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_res_import_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    54 |         (xdrproc_t)xdr_gssx_res_import_cred,
>       |         ^
> ../src/gp_rpc_process.c:60:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_acquire_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_acquire_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    60 |         (xdrproc_t)xdr_gssx_arg_acquire_cred,
>       |         ^
> ../src/gp_rpc_process.c:61:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_acquire_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_res_acquire_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    61 |         (xdrproc_t)xdr_gssx_res_acquire_cred,
>       |         ^
> ../src/gp_rpc_process.c:67:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_store_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_store_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    67 |         (xdrproc_t)xdr_gssx_arg_store_cred,
>       |         ^
> ../src/gp_rpc_process.c:68:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_store_cred *)’ {aka ‘int (*)(XDR *, 
> gssx_res_store_cred *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    68 |         (xdrproc_t)xdr_gssx_res_store_cred,
>       |         ^
> ../src/gp_rpc_process.c:74:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_init_sec_context *)’ {aka ‘int (*)(XDR 
> *, gssx_arg_init_sec_context *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    74 |         (xdrproc_t)xdr_gssx_arg_init_sec_context,
>       |         ^
> ../src/gp_rpc_process.c:75:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_init_sec_context *)’ {aka ‘int (*)(XDR 
> *, gssx_res_init_sec_context *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    75 |         (xdrproc_t)xdr_gssx_res_init_sec_context,
>       |         ^
> ../src/gp_rpc_process.c:81:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_accept_sec_context *)’ {aka ‘int 
> (*)(XDR *, gssx_arg_accept_sec_context *)’} to ‘bool_t (*)(void)’ {aka ‘int 
> (*)(void)’} [-Wcast-function-type]
>    81 |         (xdrproc_t)xdr_gssx_arg_accept_sec_context,
>       |         ^
> ../src/gp_rpc_process.c:82:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_accept_sec_context *)’ {aka ‘int 
> (*)(XDR *, gssx_res_accept_sec_context *)’} to ‘bool_t (*)(void)’ {aka ‘int 
> (*)(void)’} [-Wcast-function-type]
>    82 |         (xdrproc_t)xdr_gssx_res_accept_sec_context,
>       |         ^
> ../src/gp_rpc_process.c:88:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_release_handle *)’ {aka ‘int (*)(XDR 
> *, gssx_arg_release_handle *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    88 |         (xdrproc_t)xdr_gssx_arg_release_handle,
>       |         ^
> ../src/gp_rpc_process.c:89:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_release_handle *)’ {aka ‘int (*)(XDR 
> *, gssx_res_release_handle *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    89 |         (xdrproc_t)xdr_gssx_res_release_handle,
>       |         ^
> ../src/gp_rpc_process.c:95:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_get_mic *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_get_mic *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    95 |         (xdrproc_t)xdr_gssx_arg_get_mic,
>       |         ^
> ../src/gp_rpc_process.c:96:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_get_mic *)’ {aka ‘int (*)(XDR *, 
> gssx_res_get_mic *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>    96 |         (xdrproc_t)xdr_gssx_res_get_mic,
>       |         ^
> ../src/gp_rpc_process.c:102:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_verify_mic *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_verify_mic *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   102 |         (xdrproc_t)xdr_gssx_arg_verify_mic,
>       |         ^
> ../src/gp_rpc_process.c:103:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_verify_mic *)’ {aka ‘int (*)(XDR *, 
> gssx_res_verify_mic *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   103 |         (xdrproc_t)xdr_gssx_res_verify_mic,
>       |         ^
> ../src/gp_rpc_process.c:109:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_wrap *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_wrap *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   109 |         (xdrproc_t)xdr_gssx_arg_wrap,
>       |         ^
> ../src/gp_rpc_process.c:110:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_wrap *)’ {aka ‘int (*)(XDR *, 
> gssx_res_wrap *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   110 |         (xdrproc_t)xdr_gssx_res_wrap,
>       |         ^
> ../src/gp_rpc_process.c:116:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_unwrap *)’ {aka ‘int (*)(XDR *, 
> gssx_arg_unwrap *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   116 |         (xdrproc_t)xdr_gssx_arg_unwrap,
>       |         ^
> ../src/gp_rpc_process.c:117:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_unwrap *)’ {aka ‘int (*)(XDR *, 
> gssx_res_unwrap *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   117 |         (xdrproc_t)xdr_gssx_res_unwrap,
>       |         ^
> ../src/gp_rpc_process.c:123:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_arg_wrap_size_limit *)’ {aka ‘int (*)(XDR 
> *, gssx_arg_wrap_size_limit *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   123 |         (xdrproc_t)xdr_gssx_arg_wrap_size_limit,
>       |         ^
> ../src/gp_rpc_process.c:124:9: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gssx_res_wrap_size_limit *)’ {aka ‘int (*)(XDR 
> *, gssx_res_wrap_size_limit *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} 
> [-Wcast-function-type]
>   124 |         (xdrproc_t)xdr_gssx_res_wrap_size_limit,
>       |         ^
> ../src/gp_rpc_process.c: In function ‘gp_rpc_decode_call_header’:
> ../src/gp_rpc_process.c:188:14: warning: cast between incompatible function 
> types from ‘bool_t (*)(XDR *, gp_rpc_msg *)’ {aka ‘int (*)(XDR *, gp_rpc_msg 
> *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   188 |     xdr_free((xdrproc_t)xdr_gp_rpc_msg, (char *)&msg);
>       |              ^
> ../src/gp_rpc_process.c: In function ‘gp_rpc_decode_call’:
> ../src/gp_rpc_process.c:207:13: error: too many arguments to function 
> ‘gp_xdr_set[*proc].arg_fn’; expected 0, have 2
>   207 |     xdrok = gp_xdr_set[*proc].arg_fn(xdr_call_ctx, (char *)arg);
>       |             ^~~~~~~~~~               ~~~~~~~~~~~~
> ../src/gp_rpc_process.c:11:15: note: declared here
>    11 |     xdrproc_t arg_fn;
>       |               ^~~~~~
> ../src/gp_rpc_process.c: In function ‘gp_rpc_encode_reply’:
> ../src/gp_rpc_process.c:294:13: error: too many arguments to function 
> ‘gp_xdr_set[proc].res_fn’; expected 0, have 2
>   294 |     xdrok = gp_xdr_set[proc].res_fn(xdr_reply_ctx, (char *)res);
>       |             ^~~~~~~~~~              ~~~~~~~~~~~~~
> ../src/gp_rpc_process.c:12:15: note: declared here
>    12 |     xdrproc_t res_fn;
>       |               ^~~~~~
> make[3]: *** [Makefile:1368: src/gp_rpc_process.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> ../src/gp_export.c: In function ‘gp_export_ctx_id_to_gssx’:
> ../src/gp_export.c:775:18: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_OID *)’ {aka ‘int (*)(XDR *, octet_string *)’} 
> to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   775 |         xdr_free((xdrproc_t)xdr_gssx_OID, (char *)&out->mech);
>       |                  ^
> ../src/gp_export.c:815:18: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_buffer *)’ {aka ‘int (*)(XDR *, octet_string 
> *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   815 |         xdr_free((xdrproc_t)xdr_gssx_buffer,
>       |                  ^
> ../src/gp_export.c:819:18: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_buffer *)’ {aka ‘int (*)(XDR *, octet_string 
> *)’} to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   819 |         xdr_free((xdrproc_t)xdr_gssx_buffer,
>       |                  ^
> ../src/gp_export.c:842:18: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_OID *)’ {aka ‘int (*)(XDR *, octet_string *)’} 
> to ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   842 |         xdr_free((xdrproc_t)xdr_gssx_OID, (char *)&out->mech);
>       |                  ^
> ../src/gp_export.c:843:18: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_name *)’ {aka ‘int (*)(XDR *, gssx_name *)’} to 
> ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   843 |         xdr_free((xdrproc_t)xdr_gssx_name, (char *)&out->src_name);
>       |                  ^
> ../src/gp_export.c:844:18: warning: cast between incompatible function types 
> from ‘bool_t (*)(XDR *, gssx_name *)’ {aka ‘int (*)(XDR *, gssx_name *)’} to 
> ‘bool_t (*)(void)’ {aka ‘int (*)(void)’} [-Wcast-function-type]
>   844 |         xdr_free((xdrproc_t)xdr_gssx_name, (char *)&out->targ_name);
>       |                  ^
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
> make[2]: *** [Makefile:1700: all-recursive] Error 1
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
> make[1]: *** [Makefile:908: all] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
> dh_auto_build: error: cd build && make -j2 returned exit code 2
> make: *** [debian/rules:11: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
> 2
> --------------------------------------------------------------------------------
>
>

Attachment: signature.asc
Description: PGP signature

Reply via email to