Package: dpkg-dev Version: 1.18.10 Severity: minor Hi! Since forever, dpkg-gencontrol spams us with dangerously-looking warning: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
However, "man 2 flock" says: # In Linux kernels up to 2.6.11, flock() does not lock files over NFS (i.e., # the scope of locks was limited to the local system). Instead, one could # use fcntl(2) byte-range locking, which does work over NFS, given a # sufficiently recent version of Linux and a server which supports locking. # Since Linux 2.6.12, NFS clients support flock() locks by emulating them as # byte-range locks on the entire file. This means that fcntl(2) and flock() # locks do interact with one another over NFS. Since Linux 2.6.37, the # kernel supports a compatibility mode that allows flock() locks (and also # fcntl(2) byte region locks) to be treated as local; see the discussion of # the local_lock option in nfs(5). Kernel 2.6.11 is prehistory (literally: not in git); stretch will use 4.10 and absolutely requires at least 3.2, jessie ships 3.16 and requires 2.6.32, to get a Debian system which will even boot on 2.6.11 you'd need to get way into archive.d.o. Systems that old can't even unpack modern packages, and backporting dpkg there would be a quite hard task. Thus, I think it's high time to remove this warning. Meow! -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (150, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-rc2-debug+ (SMP w/6 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages dpkg-dev depends on: ii base-files 9.6 ii binutils 2.27-9+b1 ii bzip2 1.0.6-8 ii libdpkg-perl 1.18.10 ii make 4.1-9 ii patch 2.7.5-1 ii tar 1.29b-1 ii xz-utils 5.2.2-1.2 Versions of packages dpkg-dev recommends: ii build-essential 12.2 ii clang-3.8 [c-compiler] 1:3.8.1-13 ii fakeroot 1.21-2 ii gcc [c-compiler] 4:6.1.1-1 ii gcc-6 [c-compiler] 6.2.0-10 ii gnupg 2.1.15-8 ii gpgv 2.1.15-8 ii libalgorithm-merge-perl 0.08-3 ii tcc [c-compiler] 0.9.27~git20151227.933c223-1 Versions of packages dpkg-dev suggests: ii debian-keyring 2016.09.04 -- no debconf information

