[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#677865: Re: Bug#677865: dpkg-gencontrol warns about 'File::FcntlLock not available'



Hi,

On Mon, May 26, 2014 at 12:39:51PM +0300, Damyan Ivanov wrote:
> Package libfile-fcntllock-perl upgraded to 0.16 and uploaded to Debian 
> unstable.

Thank you very much. Unfortunately, CPAN testing has shown
that there are some systems where there are problems building
the complete module. These seem to be 32-bit systems where the
flock struct contains 64-bit values and the installed Perl ver-
sion doesn't support the 'q' format for its pack() and unpack()
function. This then does not allow the use of a "pure Perl" ap-
proach since there doesn't seem to be a reliable way to assemble
the flock struct - at least I have no good idea how to do it:-(

For this reason I had to modify the build process to avoid that
on such systems the modules File::FcntlLock::Pure and
File::FcntlLock::Inline get installed, and I have just uploaded
a new 0.17 version.

I don't know if there are any Debian systems with that kind of
setup (the machine this was reported from runs OpenBSD). But per-
haps it would be prudent to have a look at the configuration of
the distributed Perl version for 32-bit systems to ascertain
that this won't become a problem when attempting to use the
"pure Perl" sub-modules on Debian based systems.

If someone has a good idea for how to handle this problem with-
out disabling the "pure Perl" modules I'd be grateful!

                Thank you and best regards, Jens
-- 
  \   Jens Thoms Toerring  ________      jt@toerring.de
   \_______________________________      http://toerring.de


Reply to: