-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while build v0.71 on openSUSE #495
Comments
This is really weird. We require Perl 5.12 since po4a v0.70 because we changed the way we handle UTF files. But I still fail to understand why it would be an issue on Perl 5.26. Could you give me the output of |
Hi,
|
If that helps, I get the exact same issue on Ubuntu 20.04, with perl 5.30.0 and these commands shows the same results. except that instead of I tried on the 0.70 version of po4a
Using the command you requested (file and grep), I get the same output with the exception of the |
Hi, As an excercise I update Leap 15.5 perl packages to 5.38 and po4a compiles sucessfully, so its something that change in Perl between 5.30 (as mentioned by Gastonia02) and 5.38 |
Thanks @elchevive, that's a precious info. Is there any chance to get the precise version of Perl for which po4a starts to fail? I started reading the perldelta of each versions between 5.30 and 5.38, but that's quite a lot of changes actually. |
Do we think this is the same bug as #494 ? |
Hi, Further testing shows me that some change between 5.33.6 (not working) and 5.33.7 (start working) should be the culprit. |
The diff between the two versions regarding PerlIO encoding seems to be the following: The full diff between 5.33.6 and 5.33.7 is here: https://metacpan.org/release/RENEEB/perl-5.33.7/view/pod/perldelta.pod |
I fail to reproduce the error :( Could someone test that the following patch helps? Alternatively, the commented line could be used instead of the one added without comments.
|
*If* #494 is truly a duplicate of this bug, then no, neither of those lines fixed it.
The reproducer (of 494) is easy to test locally, just download `ja.po` and `customize-synopsis.pod` from the links given, and run:
```
PERLLIB=$PWD/lib ./po4a-translate -f pod -M utf-8 -L utf-8 -k 0 -m customize-synopsis.pod -p ja.po -l out -v -d
```
|
Nope, I don't think it's the same. I think that #495 is about partial chars being reported as an error in Perl 5.33 and not in modern ones while #494 was about a eval block returning false even in absence of error. Another clue that it's not the same is that #495 shows the error msg And a final clue: I was able to reproduce (and fix) #494 while I'm still trying to reproduce #495 |
Hi,
I'm trying to update po4a from v0.69 to v0.71 on openSUSE but on the versions of openSUSE with older software (Leap 15.5 and the to be released 15.6) I got this error message:
On tumbleweed (the rolling release one) it build. The only difference I saw is Perl version, 5.26 on Leap e 5.38 on Tumbleweed.
You can see my attempts on this repository:
https://build.opensuse.org/package/show/home:elchevive:branches:devel:languages:perl/po4a
Regards
The text was updated successfully, but these errors were encountered: