Package: curlftpfs
Version: 0.9.2-7
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
libtool: link: gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -Wall -Wall -W -Wno-sign-compare -D_REENTRANT 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -Wl,-z -Wl,relro -o curlftpfs 
ftpfs.o -pthread  libcurlftpfs.a -lglib-2.0 -lfuse -L/usr/lib/x86_64-linux-gnu 
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -pthread

error: conflicting function declarations "fstat"
old definition in module ftpfs file /usr/include/x86_64-linux-gnu/sys/stat.h 
line 467
signed int (signed int __fd, struct stat *__statbuf)
new definition in module ftpfs-ls file /usr/include/x86_64-linux-gnu/sys/stat.h 
line 467
signed int (signed int __fd, struct stat *__statbuf)
Makefile:493: recipe for target 'curlftpfs' failed
make[3]: *** [curlftpfs] Error 64
make[3]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-curlftpfs/curlftpfs-0.9.2'
Makefile:545: recipe for target 'all-recursive' failed

While the above declarations appear to be consistent, the detailed diagnostics
provided by the tool actually show the following difference:

composite type component counts differ (15/18)
struct stat {
  unsigned long int st_dev;
  unsigned long int st_ino;
  unsigned long int st_nlink;
  unsigned int st_mode;
  unsigned int st_uid;
  unsigned int st_gid;
  signed int __pad0;
  unsigned long int st_rdev;
  signed long int st_size;
  signed long int st_blksize;
  signed long int st_blocks;
  struct timespec st_atim;
  struct timespec st_mtim;
  struct timespec st_ctim;
  signed long int [3l] __unused;
}
struct stat {
  unsigned long int st_dev;
  unsigned long int st_ino;
  unsigned long int st_nlink;
  unsigned int st_mode;
  unsigned int st_uid;
  unsigned int st_gid;
  signed int __pad0;
  unsigned long int st_rdev;
  signed long int st_size;
  signed long int st_blksize;
  signed long int st_blocks;
  signed long int st_atime;
  unsigned long int st_atimensec;
  signed long int st_mtime;
  unsigned long int st_mtimensec;
  signed long int st_ctime;
  unsigned long int st_ctimensec;
  signed long int [3l] __unused;
}

This is caused by an inconsistent use of 

Attachment: pgpA_AmsO3_ZB.pgp
Description: PGP signature

Reply via email to