On Sun, 2012-07-01 at 15:47:26 +0200, Niels Thykier wrote:
> Package: libdpkg-perl
> Version: 1.16.4.3
> Severity: minor

> I noticed the following snippet in the buildd log for file/5.11-2 (amd64):
> 
> """
> dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
> not NFS-safe
> dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
> not NFS-safe
> dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
> not NFS-safe
> dpkg-gencontrol: warning: Depends field of package python-magic: unknown 
> substitution variable ${shlibs:Depends}
> dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
> not NFS-safe
> dpkg-gencontrol: warning: package python-magic: unused substitution variable 
> ${python:Versions}
> dpkg-gencontrol: warning: Depends field of package python-magic-dbg: unknown 
> substitution variable ${shlibs:Depends}
> dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
> not NFS-safe
> """
> 
> I have traced that to the file_lock sub in Dpkg::File which emits a
> warning each time that sub is called.

Right, the problem is that dpkg-gencontrol only calls file_lock once
per invokation so there's no clean way to avoid the duped warnings,
one solution would be to get the buidds to install the package as was
the case with previous versions where it was a hard Depends instead of
a Recommends.

As such I guess this bug could be merged with 677865.

regards,
guillem



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to