Source: libnfs
Version: 1.11.0-2
Severity: serious
Tags: buster sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libnfs.html
...
libnfs.c: In function 'specdata3_to_rdev':
libnfs.c:1777:13: error: In the GNU C Library, "makedev" 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 "makedev", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"makedev", you should undefine it after including <sys/types.h>. [-Werror]
return makedev(rdev->specdata1, rdev->specdata2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libnfs.c: In function 'nfs_mknod_async':
libnfs.c:3664: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]
cb_data->major = major(dev);
^~~~~~~~~~~~~~~~~
libnfs.c:3665: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]
cb_data->minor = minor(dev);
^~~~~~~~~~~~~~~~~