Package: ntfs-3g
Version: 1:2014.2.15AR.1-1
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and 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 -I../include/ntfs-3g -g -O2 -fPIE -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fPIE -pie 
-Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/ntfs-3g.usermap 
ntfs_3g_usermap-usermap.o  ../libntfs-3g/.libs/libntfs-3g.so

error: conflicting function declarations "ntfs_initialize_file_security"
old definition in module usermap file usermap.c line 171
void * (const char *, signed int)
new definition in module security file security.c line 5165
struct SECURITY_API * (const char *device, unsigned long int flags)
Makefile:607: recipe for target 'ntfs-3g.usermap' failed
make[3]: *** [ntfs-3g.usermap] Error 64
make[3]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-ntfs-3g/ntfs-3g-2014.2.15AR.1/src'
Makefile:493: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1

When invoked from usermap.c (as is done in function open_volume) the value of
the flags parameter seen by the implementation in security.c will be undefined
for any architecture with sizeof(unsigned long)!=sizeof(int). The declarations
in line 171 and 186 need to be amended to fix this.

Best,
Michael

Attachment: pgpjS6ehvkgyP.pgp
Description: PGP signature

Reply via email to