adamwill commented on the pull-request: `Remove hard dependency on build NVR of 
xz-libs` that you are following:
``
A note here: this dependency was truly needed until perl-Compress-Raw-Lzma 
2.073. Up until that version, the module would `croak` *in runtime code* if the 
two versions differed:

```
    if (lzma_version_number() != LZMA_VERSION)
    {
         croak("Version Mismatch - Built with version %d, library used is 
version %d\n", LZMA_VERSION, lzma_version_number());
...
```
that was changed in 
https://github.com/pmqs/Compress-Raw-Lzma/commit/284954e3b56c75aedbfc34c1a9849a261c1c19ef
 , so from 2.073 onwards we no longer need to worry about runtime failures. It 
was replaced with the test that @mspacek found.

The intended purpose of the test is shown in the text it prints when it fails:
```
The version of lzma.h does not match the version of liblzma
 
You have lzma.h  version $lzma_h_string ($lzma_h)
     and liblzma version $liblzma_string ($liblzma)
 
You probably have two versions of lzma installed on your system.
Try removing the one you don't want to use and rebuild.
```
I don't know *why* they're particularly concerned about this case to the extent 
of having a test (and previously a runtime failure) to catch it, though. The 
original runtime croak code dates back to the first released version of the 
module (2.023) and is not explained in it.
``

To reply, visit the link below
https://src.fedoraproject.org/rpms/perl-Compress-Raw-Lzma/pull-request/3
-- 
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to