Source: sympathy
Version: 1.2.1+woking+cvs+git20161222
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sympathy.html

...
gcc -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2 -g -Werror -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -c -o 
libsympathy_a-lockfile.o `test -f 'lockfile.c' || echo './'`lockfile.c
lockfile.c: In function 'lockfile_add_name_from_dev':
lockfile.c:317:13: error: In the GNU C Library, "major" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "major", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including <sys/types.h>. [-Werror]
   sprintf (buf, "LCK.%03d.%03d", major (dev), minor (dev));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                    
                                                                                
                                                                                
                                                                                
                                                     
lockfile.c:317:13: error: In the GNU C Library, "minor" is defined
 by <sys/sysmacros.h>. For historical compatibility, it is
 currently defined by <sys/types.h> as well, but we plan to
 remove this soon. To use "minor", include <sys/sysmacros.h>
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including <sys/types.h>. [-Werror]
   sprintf (buf, "LCK.%03d.%03d", major (dev), minor (dev));
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                    
                                                                                
                                                                                
                                                                                
                                                     
cc1: all warnings being treated as errors
Makefile:988: recipe for target 'libsympathy_a-lockfile.o' failed
make[3]: *** [libsympathy_a-lockfile.o] Error 1

Reply via email to