public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* perl version error
@ 2015-12-22 23:45 Ken Brown
  2015-12-23 10:23 ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: Ken Brown @ 2015-12-22 23:45 UTC (permalink / raw)
  To: cygwin; +Cc: Kime Philip

I'm trying to build biber-2.3 as a packed perl archive for upstream TeX 
Live.  I'm getting the following error:

/tmp/parl4zru: Perl lib version (5.22.1) doesn't match executable 'perl' 
version (5.22.0) at /usr/lib/perl5/5.22/x86_64-cygwin-threads/Config.pm 
line 62.
Compilation failed in require at 
/usr/lib/perl5/5.22/x86_64-cygwin-threads/Errno.pm line 8.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/5.22/x86_64-cygwin-threads/Errno.pm line 8.
Compilation failed in require at /usr/lib/perl5/5.22/File/Temp.pm line 17.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.22/File/Temp.pm 
line 17.
Compilation failed in require at 
/usr/lib/perl5/vendor_perl/5.22/Archive/Zip.pm line 11.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/vendor_perl/5.22/Archive/Zip.pm line 11.
Compilation failed in require at -e line 228.
/usr/bin/pp: Failed to extract a parl from 'PAR::StrippedPARL::Static' 
to file '/tmp/parlVkntMjx.exe' at 
/usr/lib/perl5/vendor_perl/5.22/PAR/Packer.pm line 1158, <DATA> line 1.

Can any of the perl experts explain what might cause this?  Might it 
mean that Cygwin's perl-PAR-Packer needs to be updated for perl 5.22.1?

TIA.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perl version error
  2015-12-22 23:45 perl version error Ken Brown
@ 2015-12-23 10:23 ` Achim Gratz
  2015-12-23 13:23   ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2015-12-23 10:23 UTC (permalink / raw)
  To: cygwin

Am 23.12.2015 um 00:45 schrieb Ken Brown:
> I'm trying to build biber-2.3 as a packed perl archive for upstream TeX
> Live.  I'm getting the following error:
>
> /tmp/parl4zru: Perl lib version (5.22.1) doesn't match executable 'perl'
> version (5.22.0) at /usr/lib/perl5/5.22/x86_64-cygwin-threads/Config.pm
> line 62.

What Perl version is listed at line 62 in that Config.pm file?  What 
exectuable does perl.exe link to and is the cygperl5_22.dll file 
up-to-date?  You might want to reinstall perl and perl_base.

> Can any of the perl experts explain what might cause this?  Might it
> mean that Cygwin's perl-PAR-Packer needs to be updated for perl 5.22.1?

Maybe, although I'd consider it a bug if it's barfing on a minor version 
update since there is no binary or API incompatibility among minor 
versions (as long as they're built with the same options of course). 
I'm not sure what it's really doing on Cygwin...  In the context of 
Cygwin I'm not sure what benefits if any packing would have.  Keeping 
the distribution unpacked seems far more manageable.

-- 
Achim.

(on the road :-)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perl version error
  2015-12-23 10:23 ` Achim Gratz
@ 2015-12-23 13:23   ` Achim Gratz
  2015-12-23 13:37     ` Ken Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2015-12-23 13:23 UTC (permalink / raw)
  To: cygwin

Am 23.12.2015 um 11:22 schrieb Achim Gratz:
> Maybe, although I'd consider it a bug if it's barfing on a minor version
> update since there is no binary or API incompatibility among minor
> versions (as long as they're built with the same options of course).

Turns out this is indeed a longstanding bug (and one upstream is likely 
to continue ignoring) that PAR::Packer uses the version string as a 
proxy for ABI compatibility:

https://rt.cpan.org/Public/Bug/Display.html?id=92352

The package is in the hands of Yaakov, so either he's going to provide 
an update shortly or you downgrade Perl to 5.22.0 for the moment.  If a 
new package is made available, I wouldn't mind if the version check was 
patched to check the last component for greater-or-equal instead of 
equal.  Testing for equality makes no sense unless we'd bundle 
PAR::Packer with the perl package in Cygwin.

-- 
Achim.

(on the road :-)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: perl version error
  2015-12-23 13:23   ` Achim Gratz
@ 2015-12-23 13:37     ` Ken Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Ken Brown @ 2015-12-23 13:37 UTC (permalink / raw)
  To: cygwin; +Cc: Kime Philip

On 12/23/2015 8:23 AM, Achim Gratz wrote:
> Am 23.12.2015 um 11:22 schrieb Achim Gratz:
>> Maybe, although I'd consider it a bug if it's barfing on a minor version
>> update since there is no binary or API incompatibility among minor
>> versions (as long as they're built with the same options of course).
>
> Turns out this is indeed a longstanding bug (and one upstream is likely
> to continue ignoring) that PAR::Packer uses the version string as a
> proxy for ABI compatibility:
>
> https://rt.cpan.org/Public/Bug/Display.html?id=92352
>
> The package is in the hands of Yaakov, so either he's going to provide
> an update shortly or you downgrade Perl to 5.22.0 for the moment.  If a
> new package is made available, I wouldn't mind if the version check was
> patched to check the last component for greater-or-equal instead of
> equal.  Testing for equality makes no sense unless we'd bundle
> PAR::Packer with the perl package in Cygwin.

I solved the problem for now by rebuilding perl-PAR-Packer.

In your previous message you said:

> In the context of Cygwin I'm not sure what benefits if any packing
> would have. Keeping the distribution unpacked seems far more manageable.

Packing is strictly for upstream TeX Live, i.e., for people who want to 
install TeX Live (and biber) directly from the TeX Live repo.  This is 
the way they do it on all platforms.  For the Cygwin distro, I'll 
continue to provide biber unpacked.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-23 13:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-22 23:45 perl version error Ken Brown
2015-12-23 10:23 ` Achim Gratz
2015-12-23 13:23   ` Achim Gratz
2015-12-23 13:37     ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).