Source: dcap
Version: 2.47.14-1.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

https://buildd.debian.org/status/fetch.php?pkg=dcap&arch=armel&ver=2.47.14-1.1&stamp=1709087050&raw=0

/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  
-I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 
-DDCAP_NO_PREAD -Wall -pedantic -pipe -D_REENTRANT -DLIBC_SYSCALLS 
-D_GNU_SOURCE -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -c -o dcap_error.lo 
dcap_error.c
In file included from dcap_dirent.c:27:
dcap.h:56:21: error: conflicting types for ‘dc_readdir64’; have ‘struct dirent 
*(DIR *)’
   56 | #define dc_readdir  dc_readdir64
      |                     ^~~~~~~~~~~~
dcap_dirent.c:143:16: note: in expansion of macro ‘dc_readdir’
  143 | struct dirent *dc_readdir( DIR *dir)
      |                ^~~~~~~~~~
dcap.h:115:26: note: previous declaration of ‘dc_readdir64’ with type ‘struct 
dirent64 *(DIR *)’
  115 | extern struct dirent64 * dc_readdir64(DIR *);
      |                          ^~~~~~~~~~~~
dcap_dirent.c: In function ‘dc_readdir64’:
dcap_dirent.c:149:12: warning: assignment to ‘struct dirent64 *’ from 
incompatible pointer type ‘struct dirent *’ [-Wincompatible-pointer-types]
  149 |         ep = dc_readdir64(dir);
      |            ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include 
-DLOCALEDIR=\"/usr/share/locale\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DDCAP_NO_PREAD -Wall -pedantic 
-pipe -D_REENTRANT -DLIBC_SYSCALLS -D_GNU_SOURCE -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -c dcap_dup.c -o dcap_dup.o >/dev/null 2>&1
make[3]: *** [Makefile:839: dcap_dirent.lo] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to