Source: pseudo
Version: 1.9.0+git20200626+067950b-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -pipe 
> -std=gnu99 -Wall -W -Wextra -fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE  
> -DPSEUDO_PREFIX='"/usr"' -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"' 
> -DPSEUDO_LIBDIR='"lib/x86_64-linux-gnu/pseudo"' 
> -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.9.0"' 
> -DUSE_MEMORY_DB  -DPSEUDO_PASSWD_FALLBACK='""'   -DPSEUDO_XATTR_SUPPORT       
>  -O2 -g  pseudo_util.c
> In file included from pseudo_wrappers.c:50:
> pseudo_wrapper_table.c:16:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  int,  struct stat *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    16 |                 (int (*)(void)) wrap___fxstat,
>       |                 ^
> pseudo_wrapper_table.c:22:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  int,  struct stat64 *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    22 |                 (int (*)(void)) wrap___fxstat64,
>       |                 ^
> pseudo_wrapper_table.c:28:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  int,  const char *, struct stat *, int)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>    28 |                 (int (*)(void)) wrap___fxstatat,
>       |                 ^
> pseudo_wrapper_table.c:34:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  int,  const char *, struct stat64 *, int)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>    34 |                 (int (*)(void)) wrap___fxstatat64,
>       |                 ^
> pseudo_wrapper_table.c:40:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, struct stat *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    40 |                 (int (*)(void)) wrap___lxstat,
>       |                 ^
> pseudo_wrapper_table.c:46:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, struct stat64 *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    46 |                 (int (*)(void)) wrap___lxstat64,
>       |                 ^
> pseudo_wrapper_table.c:52:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    52 |                 (int (*)(void)) wrap___openat64_2,
>       |                 ^
> pseudo_wrapper_table.c:58:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    58 |                 (int (*)(void)) wrap___openat_2,
>       |                 ^
> pseudo_wrapper_table.c:64:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, mode_t,  dev_t *)’ {aka ‘int (*)(int, 
>  const char *, unsigned int,  long unsigned int *)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    64 |                 (int (*)(void)) wrap___xmknod,
>       |                 ^
> pseudo_wrapper_table.c:70:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  int,  const char *, mode_t,  dev_t *)’ {aka ‘int 
> (*)(int,  int,  const char *, unsigned int,  long unsigned int *)’} to ‘int 
> (*)(void)’ [-Wcast-function-type]
>    70 |                 (int (*)(void)) wrap___xmknodat,
>       |                 ^
> pseudo_wrapper_table.c:76:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, struct stat *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    76 |                 (int (*)(void)) wrap___xstat,
>       |                 ^
> pseudo_wrapper_table.c:82:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, struct stat64 *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    82 |                 (int (*)(void)) wrap___xstat64,
>       |                 ^
> pseudo_wrapper_table.c:88:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>    88 |                 (int (*)(void)) wrap_access,
>       |                 ^
> pseudo_wrapper_table.c:94:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>    94 |                 (int (*)(void)) wrap_acct,
>       |                 ^
> pseudo_wrapper_table.c:100:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const struct sockaddr *, socklen_t)’ {aka ‘int 
> (*)(int,  const struct sockaddr *, unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   100 |                 (int (*)(void)) wrap_bind,
>       |                 ^
> pseudo_wrapper_table.c:106:17: warning: cast between incompatible function 
> types from ‘char * (*)(const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   106 |                 (int (*)(void)) wrap_canonicalize_file_name,
>       |                 ^
> pseudo_wrapper_table.c:112:17: warning: cast between incompatible function 
> types from ‘int (*)(struct __user_cap_header_struct *, struct 
> __user_cap_data_struct * const)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   112 |                 (int (*)(void)) wrap_capset,
>       |                 ^
> pseudo_wrapper_table.c:118:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   118 |                 (int (*)(void)) wrap_chdir,
>       |                 ^
> pseudo_wrapper_table.c:124:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, mode_t)’ {aka ‘int (*)(const char *, 
> unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   124 |                 (int (*)(void)) wrap_chmod,
>       |                 ^
> pseudo_wrapper_table.c:130:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, uid_t,  gid_t)’ {aka ‘int (*)(const char *, 
> unsigned int,  unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   130 |                 (int (*)(void)) wrap_chown,
>       |                 ^
> pseudo_wrapper_table.c:136:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   136 |                 (int (*)(void)) wrap_chroot,
>       |                 ^
> pseudo_wrapper_table.c:142:17: warning: cast between incompatible function 
> types from ‘int (*)(int (*)(void *), void *, int,  void *, __va_list_tag *)’ 
> to ‘int (*)(void)’ [-Wcast-function-type]
>   142 |                 (int (*)(void)) wrap_clone,
>       |                 ^
> pseudo_wrapper_table.c:148:17: warning: cast between incompatible function 
> types from ‘int (*)(int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   148 |                 (int (*)(void)) wrap_close,
>       |                 ^
> pseudo_wrapper_table.c:154:17: warning: cast between incompatible function 
> types from ‘int (*)(DIR *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   154 |                 (int (*)(void)) wrap_closedir,
>       |                 ^
> pseudo_wrapper_table.c:160:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, mode_t)’ {aka ‘int (*)(const char *, 
> unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   160 |                 (int (*)(void)) wrap_creat,
>       |                 ^
> pseudo_wrapper_table.c:166:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, mode_t)’ {aka ‘int (*)(const char *, 
> unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   166 |                 (int (*)(void)) wrap_creat64,
>       |                 ^
> pseudo_wrapper_table.c:172:17: warning: cast between incompatible function 
> types from ‘int (*)(int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   172 |                 (int (*)(void)) wrap_dup,
>       |                 ^
> pseudo_wrapper_table.c:178:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   178 |                 (int (*)(void)) wrap_dup2,
>       |                 ^
> pseudo_wrapper_table.c:184:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   184 |                 (int (*)(void)) wrap_eaccess,
>       |                 ^
> pseudo_wrapper_table.c:202:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   202 |                 (int (*)(void)) wrap_euidaccess,
>       |                 ^
> pseudo_wrapper_table.c:208:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *, __va_list_tag *)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   208 |                 (int (*)(void)) wrap_execl,
>       |                 ^
> pseudo_wrapper_table.c:214:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *, __va_list_tag *)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   214 |                 (int (*)(void)) wrap_execle,
>       |                 ^
> pseudo_wrapper_table.c:220:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *, __va_list_tag *)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   220 |                 (int (*)(void)) wrap_execlp,
>       |                 ^
> pseudo_wrapper_table.c:226:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, char * const*)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   226 |                 (int (*)(void)) wrap_execv,
>       |                 ^
> pseudo_wrapper_table.c:232:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, char * const*, char * const*)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   232 |                 (int (*)(void)) wrap_execve,
>       |                 ^
> pseudo_wrapper_table.c:238:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, char * const*)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   238 |                 (int (*)(void)) wrap_execvp,
>       |                 ^
> pseudo_wrapper_table.c:244:17: warning: cast between incompatible function 
> types from ‘int (*)(int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   244 |                 (int (*)(void)) wrap_fchdir,
>       |                 ^
> pseudo_wrapper_table.c:250:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  mode_t)’ {aka ‘int (*)(int,  unsigned int)’} to 
> ‘int (*)(void)’ [-Wcast-function-type]
>   250 |                 (int (*)(void)) wrap_fchmod,
>       |                 ^
> pseudo_wrapper_table.c:256:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, mode_t,  int)’ {aka ‘int (*)(int,  
> const char *, unsigned int,  int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   256 |                 (int (*)(void)) wrap_fchmodat,
>       |                 ^
> pseudo_wrapper_table.c:262:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  uid_t,  gid_t)’ {aka ‘int (*)(int,  unsigned int,  
> unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   262 |                 (int (*)(void)) wrap_fchown,
>       |                 ^
> pseudo_wrapper_table.c:268:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, uid_t,  gid_t,  int)’ {aka ‘int 
> (*)(int,  const char *, unsigned int,  unsigned int,  int)’} to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   268 |                 (int (*)(void)) wrap_fchownat,
>       |                 ^
> pseudo_wrapper_table.c:274:17: warning: cast between incompatible function 
> types from ‘int (*)(FILE *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   274 |                 (int (*)(void)) wrap_fclose,
>       |                 ^
> pseudo_wrapper_table.c:280:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  int, ...)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   280 |                 (int (*)(void)) wrap_fcntl,
>       |                 ^
> pseudo_wrapper_table.c:286:17: warning: cast between incompatible function 
> types from ‘int (*)(int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   286 |                 (int (*)(void)) wrap_fdatasync,
>       |                 ^
> pseudo_wrapper_table.c:292:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(int,  const char *, void *, size_t)’ {aka ‘long int 
> (*)(int,  const char *, void *, long unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   292 |                 (int (*)(void)) wrap_fgetxattr,
>       |                 ^
> pseudo_wrapper_table.c:298:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(int,  char *, size_t)’ {aka ‘long int (*)(int,  char 
> *, long unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   298 |                 (int (*)(void)) wrap_flistxattr,
>       |                 ^
> pseudo_wrapper_table.c:304:17: warning: cast between incompatible function 
> types from ‘FILE * (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   304 |                 (int (*)(void)) wrap_fopen,
>       |                 ^
> pseudo_wrapper_table.c:310:17: warning: cast between incompatible function 
> types from ‘FILE * (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   310 |                 (int (*)(void)) wrap_fopen64,
>       |                 ^
> pseudo_wrapper_table.c:322:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   322 |                 (int (*)(void)) wrap_fremovexattr,
>       |                 ^
> pseudo_wrapper_table.c:328:17: warning: cast between incompatible function 
> types from ‘FILE * (*)(const char *, const char *, FILE *)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   328 |                 (int (*)(void)) wrap_freopen,
>       |                 ^
> pseudo_wrapper_table.c:334:17: warning: cast between incompatible function 
> types from ‘FILE * (*)(const char *, const char *, FILE *)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   334 |                 (int (*)(void)) wrap_freopen64,
>       |                 ^
> pseudo_wrapper_table.c:340:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, const void *, size_t,  int)’ {aka 
> ‘int (*)(int,  const char *, const void *, long unsigned int,  int)’} to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   340 |                 (int (*)(void)) wrap_fsetxattr,
>       |                 ^
> pseudo_wrapper_table.c:346:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  struct stat *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   346 |                 (int (*)(void)) wrap_fstat,
>       |                 ^
> pseudo_wrapper_table.c:352:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  struct stat64 *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   352 |                 (int (*)(void)) wrap_fstat64,
>       |                 ^
> pseudo_wrapper_table.c:358:17: warning: cast between incompatible function 
> types from ‘int (*)(int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   358 |                 (int (*)(void)) wrap_fsync,
>       |                 ^
> pseudo_wrapper_table.c:364:17: warning: cast between incompatible function 
> types from ‘FTS * (*)(char * const*, int,  int (*)(const FTSENT **, const 
> FTSENT **))’ {aka ‘FTS * (*)(char * const*, int,  int (*)(const struct 
> _ftsent **, const struct _ftsent **))’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   364 |                 (int (*)(void)) wrap_fts_open,
>       |                 ^
> pseudo_client.c: In function ‘pseudo_client_op’:
> pseudo_wrapper_table.c:370:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int (*)(const char *, const struct stat *, 
> int), int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   370 |                 (int (*)(void)) wrap_ftw,
>       |                 ^
> pseudo_wrapper_table.c:376:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int (*)(const char *, const struct stat64 
> *, int), int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   376 |                 (int (*)(void)) wrap_ftw64,
>       |                 ^
> pseudo_client.c:1774:17: warning: this statement may fall through 
> [-Wimplicit-fallthrough=]
>  1774 |                 pseudo_client_path(fd, path);
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> pseudo_wrapper_table.c:382:17: warning: cast between incompatible function 
> types from ‘char * (*)(void)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   382 |                 (int (*)(void)) wrap_get_current_dir_name,
>       |                 ^
> pseudo_wrapper_table.c:388:17: warning: cast between incompatible function 
> types from ‘char * (*)(char *, size_t)’ {aka ‘char * (*)(char *, long 
> unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   388 |                 (int (*)(void)) wrap_getcwd,
>       |                 ^
> pseudo_wrapper_table.c:412:17: warning: cast between incompatible function 
> types from ‘struct group * (*)(void)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   412 |                 (int (*)(void)) wrap_getgrent,
>       |                 ^
> pseudo_client.c:1775:9: note: here
>  1775 |         case OP_EXEC: /* fallthrough */
>       |         ^~~~
> pseudo_wrapper_table.c:418:17: warning: cast between incompatible function 
> types from ‘int (*)(struct group *, char *, size_t,  struct group **)’ {aka 
> ‘int (*)(struct group *, char *, long unsigned int,  struct group **)’} to 
> ‘int (*)(void)’ [-Wcast-function-type]
>   418 |                 (int (*)(void)) wrap_getgrent_r,
>       |                 ^
> pseudo_wrapper_table.c:424:17: warning: cast between incompatible function 
> types from ‘struct group * (*)(gid_t)’ {aka ‘struct group * (*)(unsigned 
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   424 |                 (int (*)(void)) wrap_getgrgid,
>       |                 ^
> pseudo_wrapper_table.c:430:17: warning: cast between incompatible function 
> types from ‘int (*)(gid_t,  struct group *, char *, size_t,  struct group 
> **)’ {aka ‘int (*)(unsigned int,  struct group *, char *, long unsigned int,  
> struct group **)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   430 |                 (int (*)(void)) wrap_getgrgid_r,
>       |                 ^
> pseudo_wrapper_table.c:436:17: warning: cast between incompatible function 
> types from ‘struct group * (*)(const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   436 |                 (int (*)(void)) wrap_getgrnam,
>       |                 ^
> pseudo_wrapper_table.c:442:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct group *, char *, size_t,  struct 
> group **)’ {aka ‘int (*)(const char *, struct group *, char *, long unsigned 
> int,  struct group **)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   442 |                 (int (*)(void)) wrap_getgrnam_r,
>       |                 ^
> pseudo_wrapper_table.c:448:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, gid_t,  gid_t *, int *)’ {aka ‘int 
> (*)(const char *, unsigned int,  unsigned int *, int *)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   448 |                 (int (*)(void)) wrap_getgrouplist,
>       |                 ^
> pseudo_wrapper_table.c:454:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  gid_t *)’ {aka ‘int (*)(int,  unsigned int *)’} to 
> ‘int (*)(void)’ [-Wcast-function-type]
>   454 |                 (int (*)(void)) wrap_getgroups,
>       |                 ^
> pseudo_wrapper_table.c:460:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t,  char *)’ {aka ‘int (*)(unsigned int,  char *)’} 
> to ‘int (*)(void)’ [-Wcast-function-type]
>   460 |                 (int (*)(void)) wrap_getpw,
>       |                 ^
> pseudo_wrapper_table.c:466:17: warning: cast between incompatible function 
> types from ‘struct passwd * (*)(void)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   466 |                 (int (*)(void)) wrap_getpwent,
>       |                 ^
> pseudo_wrapper_table.c:472:17: warning: cast between incompatible function 
> types from ‘int (*)(struct passwd *, char *, size_t,  struct passwd **)’ {aka 
> ‘int (*)(struct passwd *, char *, long unsigned int,  struct passwd **)’} to 
> ‘int (*)(void)’ [-Wcast-function-type]
>   472 |                 (int (*)(void)) wrap_getpwent_r,
>       |                 ^
> pseudo_wrapper_table.c:478:17: warning: cast between incompatible function 
> types from ‘struct passwd * (*)(const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   478 |                 (int (*)(void)) wrap_getpwnam,
>       |                 ^
> pseudo_wrapper_table.c:484:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct passwd *, char *, size_t,  struct 
> passwd **)’ {aka ‘int (*)(const char *, struct passwd *, char *, long 
> unsigned int,  struct passwd **)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   484 |                 (int (*)(void)) wrap_getpwnam_r,
>       |                 ^
> pseudo_wrapper_table.c:490:17: warning: cast between incompatible function 
> types from ‘struct passwd * (*)(uid_t)’ {aka ‘struct passwd * (*)(unsigned 
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   490 |                 (int (*)(void)) wrap_getpwuid,
>       |                 ^
> pseudo_wrapper_table.c:496:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t,  struct passwd *, char *, size_t,  struct passwd 
> **)’ {aka ‘int (*)(unsigned int,  struct passwd *, char *, long unsigned int, 
>  struct passwd **)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   496 |                 (int (*)(void)) wrap_getpwuid_r,
>       |                 ^
> pseudo_wrapper_table.c:502:17: warning: cast between incompatible function 
> types from ‘int (*)(gid_t *, gid_t *, gid_t *)’ {aka ‘int (*)(unsigned int *, 
> unsigned int *, unsigned int *)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   502 |                 (int (*)(void)) wrap_getresgid,
>       |                 ^
> pseudo_wrapper_table.c:508:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t *, uid_t *, uid_t *)’ {aka ‘int (*)(unsigned int *, 
> unsigned int *, unsigned int *)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   508 |                 (int (*)(void)) wrap_getresuid,
>       |                 ^
> pseudo_wrapper_table.c:520:17: warning: cast between incompatible function 
> types from ‘char * (*)(char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   520 |                 (int (*)(void)) wrap_getwd,
>       |                 ^
> pseudo_wrapper_table.c:526:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(const char *, const char *, void *, size_t)’ {aka 
> ‘long int (*)(const char *, const char *, void *, long unsigned int)’} to 
> ‘int (*)(void)’ [-Wcast-function-type]
>   526 |                 (int (*)(void)) wrap_getxattr,
>       |                 ^
> pseudo_wrapper_table.c:532:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int,  int (*)(const char *, int), glob_t 
> *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   532 |                 (int (*)(void)) wrap_glob,
>       |                 ^
> pseudo_wrapper_table.c:538:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int,  int (*)(const char *, int), glob64_t 
> *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   538 |                 (int (*)(void)) wrap_glob64,
>       |                 ^
> pseudo_wrapper_table.c:544:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, uid_t,  gid_t)’ {aka ‘int (*)(const char *, 
> unsigned int,  unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   544 |                 (int (*)(void)) wrap_lchown,
>       |                 ^
> pseudo_wrapper_table.c:556:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(const char *, const char *, void *, size_t)’ {aka 
> ‘long int (*)(const char *, const char *, void *, long unsigned int)’} to 
> ‘int (*)(void)’ [-Wcast-function-type]
>   556 |                 (int (*)(void)) wrap_lgetxattr,
>       |                 ^
> pseudo_wrapper_table.c:562:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   562 |                 (int (*)(void)) wrap_link,
>       |                 ^
> pseudo_wrapper_table.c:568:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int,  const char *, int)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   568 |                 (int (*)(void)) wrap_linkat,
>       |                 ^
> pseudo_wrapper_table.c:574:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(const char *, char *, size_t)’ {aka ‘long int 
> (*)(const char *, char *, long unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   574 |                 (int (*)(void)) wrap_listxattr,
>       |                 ^
> pseudo_wrapper_table.c:580:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(const char *, char *, size_t)’ {aka ‘long int 
> (*)(const char *, char *, long unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   580 |                 (int (*)(void)) wrap_llistxattr,
>       |                 ^
> pseudo_wrapper_table.c:586:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   586 |                 (int (*)(void)) wrap_lremovexattr,
>       |                 ^
> pseudo_wrapper_table.c:592:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *, const void *, size_t,  int)’ 
> {aka ‘int (*)(const char *, const char *, const void *, long unsigned int,  
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   592 |                 (int (*)(void)) wrap_lsetxattr,
>       |                 ^
> pseudo_wrapper_table.c:598:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct stat *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   598 |                 (int (*)(void)) wrap_lstat,
>       |                 ^
> pseudo_wrapper_table.c:604:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct stat64 *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   604 |                 (int (*)(void)) wrap_lstat64,
>       |                 ^
> pseudo_wrapper_table.c:610:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const struct timeval *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   610 |                 (int (*)(void)) wrap_lutimes,
>       |                 ^
> pseudo_wrapper_table.c:616:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, mode_t)’ {aka ‘int (*)(const char *, 
> unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   616 |                 (int (*)(void)) wrap_mkdir,
>       |                 ^
> pseudo_wrapper_table.c:622:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, mode_t)’ {aka ‘int (*)(int,  const 
> char *, unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   622 |                 (int (*)(void)) wrap_mkdirat,
>       |                 ^
> pseudo_wrapper_table.c:628:17: warning: cast between incompatible function 
> types from ‘char * (*)(char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   628 |                 (int (*)(void)) wrap_mkdtemp,
>       |                 ^
> pseudo_wrapper_table.c:634:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, mode_t)’ {aka ‘int (*)(const char *, 
> unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   634 |                 (int (*)(void)) wrap_mkfifo,
>       |                 ^
> pseudo_wrapper_table.c:640:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, mode_t)’ {aka ‘int (*)(int,  const 
> char *, unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   640 |                 (int (*)(void)) wrap_mkfifoat,
>       |                 ^
> pseudo_wrapper_table.c:646:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, mode_t,  dev_t)’ {aka ‘int (*)(const char 
> *, unsigned int,  long unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   646 |                 (int (*)(void)) wrap_mknod,
>       |                 ^
> pseudo_wrapper_table.c:652:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, mode_t,  dev_t)’ {aka ‘int (*)(int,  
> const char *, unsigned int,  long unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   652 |                 (int (*)(void)) wrap_mknodat,
>       |                 ^
> pseudo_wrapper_table.c:658:17: warning: cast between incompatible function 
> types from ‘int (*)(char *, int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   658 |                 (int (*)(void)) wrap_mkostemp,
>       |                 ^
> pseudo_wrapper_table.c:664:17: warning: cast between incompatible function 
> types from ‘int (*)(char *, int,  int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   664 |                 (int (*)(void)) wrap_mkostemps,
>       |                 ^
> pseudo_wrapper_table.c:670:17: warning: cast between incompatible function 
> types from ‘int (*)(char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   670 |                 (int (*)(void)) wrap_mkstemp,
>       |                 ^
> pseudo_wrapper_table.c:676:17: warning: cast between incompatible function 
> types from ‘int (*)(char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   676 |                 (int (*)(void)) wrap_mkstemp64,
>       |                 ^
> pseudo_wrapper_table.c:682:17: warning: cast between incompatible function 
> types from ‘int (*)(char *, int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   682 |                 (int (*)(void)) wrap_mkstemps,
>       |                 ^
> pseudo_wrapper_table.c:688:17: warning: cast between incompatible function 
> types from ‘char * (*)(char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   688 |                 (int (*)(void)) wrap_mktemp,
>       |                 ^
> pseudo_wrapper_table.c:694:17: warning: cast between incompatible function 
> types from ‘int (*)(void *, size_t,  int)’ {aka ‘int (*)(void *, long 
> unsigned int,  int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   694 |                 (int (*)(void)) wrap_msync,
>       |                 ^
> pseudo_wrapper_table.c:700:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int (*)(const char *, const struct stat *, 
> int,  struct FTW *), int,  int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   700 |                 (int (*)(void)) wrap_nftw,
>       |                 ^
> In file included from pseudo_wrappers.c:50:
> pseudo_wrapper_table.c:706:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int (*)(const char *, const struct stat64 
> *, int,  struct FTW *), int,  int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   706 |                 (int (*)(void)) wrap_nftw64,
>       |                 ^
> pseudo_wrapper_table.c:712:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int, ...)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   712 |                 (int (*)(void)) wrap_open,
>       |                 ^
> pseudo_wrapper_table.c:718:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int, ...)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   718 |                 (int (*)(void)) wrap_open64,
>       |                 ^
> pseudo_wrapper_table.c:724:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int, ...)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   724 |                 (int (*)(void)) wrap_openat,
>       |                 ^
> pseudo_wrapper_table.c:730:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int, ...)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   730 |                 (int (*)(void)) wrap_openat64,
>       |                 ^
> pseudo_wrapper_table.c:736:17: warning: cast between incompatible function 
> types from ‘DIR * (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   736 |                 (int (*)(void)) wrap_opendir,
>       |                 ^
> pseudo_wrapper_table.c:742:17: warning: cast between incompatible function 
> types from ‘long int (*)(const char *, int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   742 |                 (int (*)(void)) wrap_pathconf,
>       |                 ^
> pseudo_wrapper_table.c:748:17: warning: cast between incompatible function 
> types from ‘FILE * (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   748 |                 (int (*)(void)) wrap_popen,
>       |                 ^
> pseudo_wrapper_table.c:754:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  __va_list_tag *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   754 |                 (int (*)(void)) wrap_prctl,
>       |                 ^
> pseudo_wrapper_table.c:760:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(const char *, char *, size_t)’ {aka ‘long int 
> (*)(const char *, char *, long unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   760 |                 (int (*)(void)) wrap_readlink,
>       |                 ^
> pseudo_wrapper_table.c:766:17: warning: cast between incompatible function 
> types from ‘ssize_t (*)(int,  const char *, char *, size_t)’ {aka ‘long int 
> (*)(int,  const char *, char *, long unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   766 |                 (int (*)(void)) wrap_readlinkat,
>       |                 ^
> pseudo_wrapper_table.c:772:17: warning: cast between incompatible function 
> types from ‘char * (*)(const char *, char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   772 |                 (int (*)(void)) wrap_realpath,
>       |                 ^
> pseudo_wrapper_table.c:778:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   778 |                 (int (*)(void)) wrap_remove,
>       |                 ^
> pseudo_wrapper_table.c:784:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   784 |                 (int (*)(void)) wrap_removexattr,
>       |                 ^
> pseudo_wrapper_table.c:790:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   790 |                 (int (*)(void)) wrap_rename,
>       |                 ^
> pseudo_wrapper_table.c:796:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int,  const char *)’ to ‘int 
> (*)(void)’ [-Wcast-function-type]
>   796 |                 (int (*)(void)) wrap_renameat,
>       |                 ^
> pseudo_wrapper_table.c:802:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int,  const char *, unsigned int)’ to 
> ‘int (*)(void)’ [-Wcast-function-type]
>   802 |                 (int (*)(void)) wrap_renameat2,
>       |                 ^
> pseudo_wrapper_table.c:808:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   808 |                 (int (*)(void)) wrap_rmdir,
>       |                 ^
> pseudo_wrapper_table.c:814:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct dirent ***, int (*)(const struct 
> dirent *), int (*)())’ to ‘int (*)(void)’ [-Wcast-function-type]
>   814 |                 (int (*)(void)) wrap_scandir,
>       |                 ^
> pseudo_wrapper_table.c:820:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct dirent64 ***, int (*)(const struct 
> dirent64 *), int (*)())’ to ‘int (*)(void)’ [-Wcast-function-type]
>   820 |                 (int (*)(void)) wrap_scandir64,
>       |                 ^
> pseudo_wrapper_table.c:826:17: warning: cast between incompatible function 
> types from ‘int (*)(gid_t)’ {aka ‘int (*)(unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   826 |                 (int (*)(void)) wrap_setegid,
>       |                 ^
> pseudo_wrapper_table.c:832:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t)’ {aka ‘int (*)(unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   832 |                 (int (*)(void)) wrap_seteuid,
>       |                 ^
> pseudo_wrapper_table.c:838:17: warning: cast between incompatible function 
> types from ‘int (*)(gid_t)’ {aka ‘int (*)(unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   838 |                 (int (*)(void)) wrap_setfsgid,
>       |                 ^
> pseudo_wrapper_table.c:844:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t)’ {aka ‘int (*)(unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   844 |                 (int (*)(void)) wrap_setfsuid,
>       |                 ^
> pseudo_wrapper_table.c:850:17: warning: cast between incompatible function 
> types from ‘int (*)(gid_t)’ {aka ‘int (*)(unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   850 |                 (int (*)(void)) wrap_setgid,
>       |                 ^
> pseudo_wrapper_table.c:862:17: warning: cast between incompatible function 
> types from ‘int (*)(size_t,  const gid_t *)’ {aka ‘int (*)(long unsigned int, 
>  const unsigned int *)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   862 |                 (int (*)(void)) wrap_setgroups,
>       |                 ^
> pseudo_wrapper_table.c:874:17: warning: cast between incompatible function 
> types from ‘int (*)(gid_t,  gid_t)’ {aka ‘int (*)(unsigned int,  unsigned 
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   874 |                 (int (*)(void)) wrap_setregid,
>       |                 ^
> pseudo_wrapper_table.c:880:17: warning: cast between incompatible function 
> types from ‘int (*)(gid_t,  gid_t,  gid_t)’ {aka ‘int (*)(unsigned int,  
> unsigned int,  unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   880 |                 (int (*)(void)) wrap_setresgid,
>       |                 ^
> pseudo_wrapper_table.c:886:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t,  uid_t,  uid_t)’ {aka ‘int (*)(unsigned int,  
> unsigned int,  unsigned int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   886 |                 (int (*)(void)) wrap_setresuid,
>       |                 ^
> pseudo_wrapper_table.c:892:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t,  uid_t)’ {aka ‘int (*)(unsigned int,  unsigned 
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   892 |                 (int (*)(void)) wrap_setreuid,
>       |                 ^
> pseudo_wrapper_table.c:898:17: warning: cast between incompatible function 
> types from ‘int (*)(uid_t)’ {aka ‘int (*)(unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   898 |                 (int (*)(void)) wrap_setuid,
>       |                 ^
> pseudo_wrapper_table.c:904:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *, const void *, size_t,  int)’ 
> {aka ‘int (*)(const char *, const char *, const void *, long unsigned int,  
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   904 |                 (int (*)(void)) wrap_setxattr,
>       |                 ^
> pseudo_wrapper_table.c:910:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct stat *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   910 |                 (int (*)(void)) wrap_stat,
>       |                 ^
> pseudo_wrapper_table.c:916:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct stat64 *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   916 |                 (int (*)(void)) wrap_stat64,
>       |                 ^
> pseudo_wrapper_table.c:922:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, struct statvfs *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   922 |                 (int (*)(void)) wrap_statvfs,
>       |                 ^
> pseudo_wrapper_table.c:928:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int,  unsigned int,  struct statx *)’ 
> to ‘int (*)(void)’ [-Wcast-function-type]
>   928 |                 (int (*)(void)) wrap_statx,
>       |                 ^
> pseudo_wrapper_table.c:934:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   934 |                 (int (*)(void)) wrap_symlink,
>       |                 ^
> pseudo_wrapper_table.c:940:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, int,  const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   940 |                 (int (*)(void)) wrap_symlinkat,
>       |                 ^
> pseudo_wrapper_table.c:952:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  off64_t,  off64_t,  unsigned int)’ {aka ‘int 
> (*)(int,  long int,  long int,  unsigned int)’} to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   952 |                 (int (*)(void)) wrap_sync_file_range,
>       |                 ^
> pseudo_wrapper_table.c:958:17: warning: cast between incompatible function 
> types from ‘int (*)(int)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   958 |                 (int (*)(void)) wrap_syncfs,
>       |                 ^
> pseudo_wrapper_table.c:964:17: warning: cast between incompatible function 
> types from ‘long int (*)(long int,  __va_list_tag *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   964 |                 (int (*)(void)) wrap_syscall,
>       |                 ^
> pseudo_wrapper_table.c:970:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   970 |                 (int (*)(void)) wrap_system,
>       |                 ^
> pseudo_wrapper_table.c:976:17: warning: cast between incompatible function 
> types from ‘char * (*)(const char *, const char *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>   976 |                 (int (*)(void)) wrap_tempnam,
>       |                 ^
> pseudo_wrapper_table.c:982:17: warning: cast between incompatible function 
> types from ‘char * (*)(char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>   982 |                 (int (*)(void)) wrap_tmpnam,
>       |                 ^
> pseudo_wrapper_table.c:988:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, off_t)’ {aka ‘int (*)(const char *, long 
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   988 |                 (int (*)(void)) wrap_truncate,
>       |                 ^
> pseudo_wrapper_table.c:994:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, off64_t)’ {aka ‘int (*)(const char *, long 
> int)’} to ‘int (*)(void)’ [-Wcast-function-type]
>   994 |                 (int (*)(void)) wrap_truncate64,
>       |                 ^
> pseudo_wrapper_table.c:1006:17: warning: cast between incompatible function 
> types from ‘mode_t (*)(mode_t)’ {aka ‘unsigned int (*)(unsigned int)’} to 
> ‘int (*)(void)’ [-Wcast-function-type]
>  1006 |                 (int (*)(void)) wrap_umask,
>       |                 ^
> pseudo_wrapper_table.c:1012:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *)’ to ‘int (*)(void)’ [-Wcast-function-type]
>  1012 |                 (int (*)(void)) wrap_unlink,
>       |                 ^
> pseudo_wrapper_table.c:1018:17: warning: cast between incompatible function 
> types from ‘int (*)(int,  const char *, int)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>  1018 |                 (int (*)(void)) wrap_unlinkat,
>       |                 ^
> pseudo_wrapper_table.c:1024:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const struct utimbuf *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>  1024 |                 (int (*)(void)) wrap_utime,
>       |                 ^
> pseudo_wrapper_table.c:1030:17: warning: cast between incompatible function 
> types from ‘int (*)(const char *, const struct timeval *)’ to ‘int (*)(void)’ 
> [-Wcast-function-type]
>  1030 |                 (int (*)(void)) wrap_utimes,
>       |                 ^
> In file included from port_wrappers.c:3,
>                  from pseudo_wrappers.c:296:
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_stat’:
> ports/linux/pseudo_wrappers.c:11:29: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    11 |         return real___xstat(_STAT_VER, path, buf);
>       |                             ^~~~~~~~~
> ports/linux/pseudo_wrappers.c:11:29: note: each undeclared identifier is 
> reported only once for each function it appears in
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_lstat’:
> ports/linux/pseudo_wrappers.c:16:30: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    16 |         return real___lxstat(_STAT_VER, path, buf);
>       |                              ^~~~~~~~~
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_fstat’:
> ports/linux/pseudo_wrappers.c:21:30: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    21 |         return real___fxstat(_STAT_VER, fd, buf);
>       |                              ^~~~~~~~~
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_stat64’:
> ports/linux/pseudo_wrappers.c:26:31: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    26 |         return real___xstat64(_STAT_VER, path, buf);
>       |                               ^~~~~~~~~
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_lstat64’:
> ports/linux/pseudo_wrappers.c:31:32: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    31 |         return real___lxstat64(_STAT_VER, path, buf);
>       |                                ^~~~~~~~~
> cc -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -pipe 
> -std=gnu99 -Wall -W -Wextra -fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE  
> -DPSEUDO_PREFIX='"/usr"' -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"' 
> -DPSEUDO_LIBDIR='"lib/x86_64-linux-gnu/pseudo"' 
> -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.9.0"' 
> -DUSE_MEMORY_DB  -DPSEUDO_PASSWD_FALLBACK='""'   -DPSEUDO_XATTR_SUPPORT       
>  -O2 -g  pseudo.c
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_fstat64’:
> ports/linux/pseudo_wrappers.c:36:32: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    36 |         return real___fxstat64(_STAT_VER, fd, buf);
>       |                                ^~~~~~~~~
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_mknod’:
> ports/linux/pseudo_wrappers.c:42:30: error: ‘_MKNOD_VER’ undeclared (first 
> use in this function)
>    42 |         return real___xmknod(_MKNOD_VER, path, mode, &dev);
>       |                              ^~~~~~~~~~
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_mknodat’:
> ports/linux/pseudo_wrappers.c:47:32: error: ‘_MKNOD_VER’ undeclared (first 
> use in this function)
>    47 |         return real___xmknodat(_MKNOD_VER, dirfd, path, mode, &dev);
>       |                                ^~~~~~~~~~
> ports/linux/pseudo_wrappers.c: In function ‘syscall’:
> ports/linux/pseudo_wrappers.c:99:37: warning: cast between incompatible 
> function types from ‘long int (*)(long int, ...)’ to ‘void (*)()’ 
> [-Wcast-function-type]
>    99 |         void *res = __builtin_apply((void (*)()) real_syscall, 
> __builtin_apply_args(), sizeof(long) * 7);
>       |                                     ^
> ports/linux/pseudo_wrappers.c: In function ‘prctl’:
> ports/linux/pseudo_wrappers.c:140:37: warning: cast between incompatible 
> function types from ‘int (*)(int, ...)’ to ‘void (*)()’ [-Wcast-function-type]
>   140 |         void *res = __builtin_apply((void (*)()) real_prctl, 
> __builtin_apply_args(), sizeof(long) * 5);
>       |                                     ^
> In file included from pseudo_wrapfuncs.c:168,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/__fxstat64.c: In function ‘wrap___fxstat64’:
> ports/linux/guts/__fxstat64.c:19:20: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    19 |         if (ver != _STAT_VER) {
>       |                    ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:330,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/__fxstatat64.c: In function ‘wrap___fxstatat64’:
> ports/linux/guts/__fxstatat64.c:41:20: error: ‘_STAT_VER’ undeclared (first 
> use in this function)
>    41 |         if (ver != _STAT_VER) {
>       |                    ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:816,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/__xmknodat.c: In function ‘wrap___xmknodat’:
> ports/linux/guts/__xmknodat.c:33:32: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    33 |         rc = real___fxstatat64(_STAT_VER, dirfd, path, &buf, 
> AT_SYMLINK_NOFOLLOW);
>       |                                ^~~~~~~~~
> In file included from pseudo_wrappers.c:46:
> ports/unix/guts/fchmodat.c: In function ‘wrap_fchmodat’:
> pseudo_client.h:14:65: error: ‘_STAT_VER’ undeclared (first use in this 
> function)
>    14 | #define base_fstatat(dirfd, path, buf, flags) 
> real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
>       |                                                                 
> ^~~~~~~~~
> ports/unix/guts/fchmodat.c:25:14: note: in expansion of macro ‘base_fstatat’
>    25 |         rc = base_fstatat(dirfd, path, &buf, flags);
>       |              ^~~~~~~~~~~~
> ports/unix/guts/fchownat.c: In function ‘wrap_fchownat’:
> pseudo_client.h:14:65: error: ‘_STAT_VER’ undeclared (first use in this 
> function)
>    14 | #define base_fstatat(dirfd, path, buf, flags) 
> real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
>       |                                                                 
> ^~~~~~~~~
> ports/unix/guts/fchownat.c:26:14: note: in expansion of macro ‘base_fstatat’
>    26 |         rc = base_fstatat(dirfd, path, &buf, flags);
>       |              ^~~~~~~~~~~~
> In file included from pseudo_wrapfuncs.c:4109,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/fopen64.c: In function ‘wrap_fopen64’:
> ports/linux/guts/fopen64.c:14:39: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    14 |         int existed = (real___xstat64(_STAT_VER, path, &buf) != -1);
>       |                                       ^~~~~~~~~
> pseudo_client.c: In function ‘pseudo_root_path’:
> pseudo_client.c:835:17: warning: ‘%s’ directive argument is null 
> [-Wformat-overflow=]
>   835 |                 pseudo_diag("couldn't allocate absolute path for 
> '%s'.\n",
>       |                 
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   836 |                         path);
>       |                         ~~~~~
> In file included from pseudo_wrapfuncs.c:4437,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/freopen64.c: In function ‘wrap_freopen64’:
> ports/linux/guts/freopen64.c:13:39: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    13 |         int existed = (real___xstat64(_STAT_VER, path, &buf) != -1);
>       |                                       ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:4599,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/fstat.c: In function ‘wrap_fstat’:
> ports/linux/guts/fstat.c:11:28: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    11 |         rc = wrap___fxstat(_STAT_VER, fd, buf);
>       |                            ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:4680,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/fstat64.c: In function ‘wrap_fstat64’:
> ports/linux/guts/fstat64.c:11:30: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    11 |         rc = wrap___fxstat64(_STAT_VER, fd, buf);
>       |                              ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:8008,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/lstat.c: In function ‘wrap_lstat’:
> ports/linux/guts/lstat.c:11:30: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    11 |         rc = wrap___fxstatat(_STAT_VER, AT_FDCWD, path, buf, 
> AT_SYMLINK_NOFOLLOW);
>       |                              ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:8089,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/lstat64.c: In function ‘wrap_lstat64’:
> ports/linux/guts/lstat64.c:11:32: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    11 |         rc = wrap___fxstatat64(_STAT_VER, AT_FDCWD, path, buf, 
> AT_SYMLINK_NOFOLLOW);
>       |                                ^~~~~~~~~
> In file included from pseudo_wrappers.c:297:
> pseudo_wrapfuncs.c: At top level:
> pseudo_wrapfuncs.c:8101:49: warning: argument 2 of type ‘const struct timeval 
> *’ declared as a pointer [-Warray-parameter=]
>  8101 | lutimes(const char *path, const struct timeval *tv) {
>       |                           ~~~~~~~~~~~~~~~~~~~~~~^~
> In file included from pseudo_wrappers.c:25:
> /usr/include/x86_64-linux-gnu/sys/time.h:141:62: note: previously declared as 
> an array ‘const struct timeval[2]’
>   141 | extern int lutimes (const char *__file, const struct timeval __tvp[2])
>       |                                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from pseudo_wrappers.c:46:
> ports/unix/guts/mkdirat.c: In function ‘wrap_mkdirat’:
> pseudo_client.h:14:65: error: ‘_STAT_VER’ undeclared (first use in this 
> function)
>    14 | #define base_fstatat(dirfd, path, buf, flags) 
> real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
>       |                                                                 
> ^~~~~~~~~
> ports/unix/guts/mkdirat.c:31:27: note: in expansion of macro ‘base_fstatat’
>    31 |                 stat_rc = base_fstatat(dirfd, path, &buf, 
> AT_SYMLINK_NOFOLLOW);
>       |                           ^~~~~~~~~~~~
> ports/unix/guts/mkfifoat.c: In function ‘wrap_mkfifoat’:
> pseudo_client.h:14:65: error: ‘_STAT_VER’ undeclared (first use in this 
> function)
>    14 | #define base_fstatat(dirfd, path, buf, flags) 
> real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
>       |                                                                 
> ^~~~~~~~~
> ports/unix/guts/mkfifoat.c:26:14: note: in expansion of macro ‘base_fstatat’
>    26 |         rc = base_fstatat(dirfd, path, &buf, AT_SYMLINK_NOFOLLOW);
>       |              ^~~~~~~~~~~~
> In file included from pseudo_wrapfuncs.c:8656,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/mknod.c: In function ‘wrap_mknod’:
> ports/linux/guts/mknod.c:11:28: error: ‘_MKNOD_VER’ undeclared (first use in 
> this function)
>    11 |         rc = wrap___xmknod(_MKNOD_VER, path, mode, &dev);
>       |                            ^~~~~~~~~~
> In file included from pseudo_wrapfuncs.c:8737,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/mknodat.c: In function ‘wrap_mknodat’:
> ports/linux/guts/mknodat.c:11:30: error: ‘_MKNOD_VER’ undeclared (first use 
> in this function)
>    11 |         rc = wrap___xmknodat(_MKNOD_VER, dirfd, path, mode, &dev);
>       |                              ^~~~~~~~~~
> In file included from pseudo_wrapfuncs.c:9061,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/mkstemp64.c: In function ‘wrap_mkstemp64’:
> ports/linux/guts/mkstemp64.c:34:37: error: ‘_STAT_VER’ undeclared (first use 
> in this function)
>    34 |                 if (real___fxstat64(_STAT_VER, rc, &buf) != -1) {
>       |                                     ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:9746,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/openat.c: In function ‘wrap_openat’:
> ports/linux/guts/openat.c:64:40: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    64 |                 rc = real___fxstatat64(_STAT_VER, dirfd, path, &buf, 
> (flags & O_NOFOLLOW) ? AT_SYMLINK_NOFOLLOW : 0);
>       |                                        ^~~~~~~~~
> In file included from pseudo_wrappers.c:46:
> ports/unix/guts/renameat.c: In function ‘wrap_renameat’:
> pseudo_client.h:14:65: error: ‘_STAT_VER’ undeclared (first use in this 
> function)
>    14 | #define base_fstatat(dirfd, path, buf, flags) 
> real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
>       |                                                                 
> ^~~~~~~~~
> ports/unix/guts/renameat.c:40:17: note: in expansion of macro ‘base_fstatat’
>    40 |         oldrc = base_fstatat(olddirfd, oldpath, &oldbuf, 
> AT_SYMLINK_NOFOLLOW);
>       |                 ^~~~~~~~~~~~
> In file included from pseudo_wrapfuncs.c:12280,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/stat.c: In function ‘wrap_stat’:
> ports/linux/guts/stat.c:11:30: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    11 |         rc = wrap___fxstatat(_STAT_VER, AT_FDCWD, path, buf, 0);
>       |                              ^~~~~~~~~
> In file included from pseudo_wrapfuncs.c:12361,
>                  from pseudo_wrappers.c:297:
> ports/linux/guts/stat64.c: In function ‘wrap_stat64’:
> ports/linux/guts/stat64.c:11:32: error: ‘_STAT_VER’ undeclared (first use in 
> this function)
>    11 |         rc = wrap___fxstatat64(_STAT_VER, AT_FDCWD, path, buf, 0);
>       |                                ^~~~~~~~~
> In file included from pseudo_wrappers.c:46:
> ports/unix/guts/symlinkat.c: In function ‘wrap_symlinkat’:
> pseudo_client.h:14:65: error: ‘_STAT_VER’ undeclared (first use in this 
> function)
>    14 | #define base_fstatat(dirfd, path, buf, flags) 
> real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
>       |                                                                 
> ^~~~~~~~~
> ports/unix/guts/symlinkat.c:37:14: note: in expansion of macro ‘base_fstatat’
>    37 |         rc = base_fstatat(dirfd, newpath, &buf, AT_SYMLINK_NOFOLLOW);
>       |              ^~~~~~~~~~~~
> ports/unix/guts/unlinkat.c: In function ‘wrap_unlinkat’:
> pseudo_client.h:14:65: error: ‘_STAT_VER’ undeclared (first use in this 
> function)
>    14 | #define base_fstatat(dirfd, path, buf, flags) 
> real___fxstatat64(_STAT_VER, dirfd, path, buf, flags)
>       |                                                                 
> ^~~~~~~~~
> ports/unix/guts/unlinkat.c:36:14: note: in expansion of macro ‘base_fstatat’
>    36 |         rc = base_fstatat(dirfd, path, &buf, AT_SYMLINK_NOFOLLOW);
>       |              ^~~~~~~~~~~~
> In file included from pseudo_wrappers.c:297:
> pseudo_wrapfuncs.c: At top level:
> pseudo_wrapfuncs.c:13851:48: warning: argument 2 of type ‘const struct 
> timeval *’ declared as a pointer [-Warray-parameter=]
> 13851 | utimes(const char *path, const struct timeval *times) {
>       |                          ~~~~~~~~~~~~~~~~~~~~~~^~~~~
> In file included from pseudo_wrappers.c:25:
> /usr/include/x86_64-linux-gnu/sys/time.h:136:61: note: previously declared as 
> an array ‘const struct timeval[2]’
>   136 | extern int utimes (const char *__file, const struct timeval __tvp[2])
>       |                                        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from port_wrappers.c:3,
>                  from pseudo_wrappers.c:296:
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_stat’:
> ports/linux/pseudo_wrappers.c:12:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    12 | }
>       | ^
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_lstat’:
> ports/linux/pseudo_wrappers.c:17:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    17 | }
>       | ^
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_fstat’:
> ports/linux/pseudo_wrappers.c:22:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    22 | }
>       | ^
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_stat64’:
> ports/linux/pseudo_wrappers.c:27:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    27 | }
>       | ^
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_lstat64’:
> ports/linux/pseudo_wrappers.c:32:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    32 | }
>       | ^
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_fstat64’:
> ports/linux/pseudo_wrappers.c:37:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    37 | }
>       | ^
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_mknod’:
> ports/linux/pseudo_wrappers.c:43:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    43 | }
>       | ^
> ports/linux/pseudo_wrappers.c: In function ‘pseudo_mknodat’:
> ports/linux/pseudo_wrappers.c:48:1: warning: control reaches end of non-void 
> function [-Wreturn-type]
>    48 | }
>       | ^
> pseudo_client.c: In function ‘pseudo_client_op’:
> cc1: warning: function may return address of local variable 
> [-Wreturn-local-addr]
> pseudo_client.c:1488:22: note: declared here
>  1488 |         pseudo_msg_t msg = { .type = PSEUDO_MSG_OP };
>       |                      ^~~
> make[1]: *** [Makefile:153: pseudo_wrappers.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/pseudo_1.9.0+git20200626+067950b-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to