Control: tag -1 + confirmed Control: forwarded -1 [email protected] On Thu, 31 Jul 2014 16:00:17 +0200, Raphaël Hertzog wrote:
> The documentation of File::FcntlLock says: > > EXPORT > The package exports the following constants: > > F_GETLK F_SETLK F_SETLKW > F_RDLCK F_WRLCK F_UNLCK > SEEK_SET SEEK_CUR SEEK_END > > But: > > $ perl -MFile::FcntlLock -Mstrict -w -e "F_GETLK" > Bareword "F_GETLK" not allowed while "strict subs" in use at -e line 1. > Execution of -e aborted due to compilation errors. > > The problem is that the constants are exported by File::FcntlLock::Core > but no longer by File::FcntlLock itself. > > Here's a tentative patch: > $ diff -u lib/File/FcntlLock.pm /usr/lib/perl5/File/FcntlLock.pm > --- lib/File/FcntlLock.pm 2014-05-27 16:38:47.000000000 +0200 > +++ /usr/lib/perl5/File/FcntlLock.pm 2014-07-31 15:50:19.454997932 +0200 > @@ -22,6 +22,7 @@ > > bootstrap File::FcntlLock $VERSION; > > +our @EXPORT = @File::FcntlLock::Core::EXPORT; > > ########################################################### > # > > It seems to work here. I'd appreciate a prompt fix as it's affecting Kali. Thanks. (Fullquote because) I'm CC'ing upstream who I remember as very helpful the last time there were some issues around this module :) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Donovan: Barabajagal
signature.asc
Description: Digital Signature

