Package: src:czmq
Version: 3.0.2-9
Severity: serious
Tags: sid stretch

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -I./include -pedantic -Werror
-Wall -Wc++-compat -D_GNU_SOURCE -DLINUX -D_REENTRANT -D_THREAD_SAFE -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=.
-fstack-protector-strong -Wformat -Werror=format-security -c src/zdir.c  -fPIC
-DPIC -o src/.libs/src_libczmq_la-zdir.o
src/zdir.c: In function ‘zdir_new’:
src/zdir.c:201:9: error: ‘readdir_r’ is deprecated 
[-Werror=deprecated-declarations]
         int rc = readdir_r (handle, entry, &result);
         ^~~
In file included from src/../include/czmq_prelude.h:262:0,
                 from src/../include/czmq_library.h:24,
                 from src/../include/czmq.h:30,
                 from src/zdir.c:35:
/usr/include/dirent.h:183:12: note: declared here
 extern int readdir_r (DIR *__restrict __dirp,
            ^~~~~~~~~
src/zdir.c:204:13: error: ‘readdir_r’ is deprecated
[-Werror=deprecated-declarations]
             rc = readdir_r (handle, entry, &result);
             ^~
In file included from src/../include/czmq_prelude.h:262:0,
                 from src/../include/czmq_library.h:24,
                 from src/../include/czmq.h:30,
                 from src/zdir.c:35:
/usr/include/dirent.h:183:12: note: declared here
 extern int readdir_r (DIR *__restrict __dirp,
            ^~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [src/src_libczmq_la-zdir.lo] Error 1
Makefile:1236: recipe for target 'src/src_libczmq_la-zdir.lo' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [all-recursive] Error 1

Reply via email to