octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #49839] Perl 5.8.8 Unicode case-folding bug ca


From: Jihang
Subject: [Octave-bug-tracker] [bug #49839] Perl 5.8.8 Unicode case-folding bug caused by installing symbolic-2.4.0 package
Date: Wed, 14 Dec 2016 00:16:05 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 OPR/41.0.2353.69

URL:
  <http://savannah.gnu.org/bugs/?49839>

                 Summary: Perl 5.8.8 Unicode case-folding bug caused by
installing symbolic-2.4.0 package
                 Project: GNU Octave
            Submitted by: neur1n
            Submitted on: Wed 14 Dec 2016 12:16:04 AM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Let's start with the very beginning:

1: Tried to install symbolic-2.4.0 package by

pkg install -forge symbolic

but failed as an error said it couldn't read URL. It seems that I need cURL
<https://curl.haxx.se/>.

2. Downloaded symbolic-2.4.0.tar.gz
<https://octave.sourceforge.io/symbolic/index.html> and tried to install by

pkg install symbolic-2.4.0.tar.gz


3. Then kept popping up this message

Use of uninitialized value in lc at /usr/lib/perl5/5.8/utf8_heavy.pl line
123.

Codes related to this line are (line 123 in bold)

my $canonical = lc $type;
$canonical =~ s/(?<=[a-z\d])(?:\s+|[-_])(?=[a-z\d])//g;
print "canonical = $canonical\n" if DEBUG;

require "unicore/Canonical.pl";
*if (my $base = ($utf8::Canonical{$canonical} || $utf8::Canonical{ lc
$utf8::PropertyAlias{$canonical} })) {*
    $file = "unicore/lib/gc_sc/$base.pl";
    last GETFILE;
}


4. Commented out these lines then the package could be installed successfully.
Then I uncommented them afterwards and tried the following in Octave

pkg load symbolic
help syms

Then the help info popped up, but after another line of

Use of uninitialized value in lc at /usr/lib/perl5/5.8/utf8_heavy.pl line
123.


6. My search result of "perl lc
<https://www.tutorialspoint.com/perl/perl_lc.htm>", which seems like a
case-sensitive matching bug of Perl. And I found this
<http://osdir.com/ml/spamassassin-dev/2013-10/msg00080.html> as well, which
says at the beginning of the page: _A perl Unicode case-folding bug, present
in at least perl-5.8.[678],
fixed in perl-5.8.9, where the utf8_heavy.pl has been substantially
rewritten_.

6. So I think that is the problem. Then I tried to get Perl 5.8.9 installed
for Octave, and what I used is strawberry-perl-5.8.9.5.msi
<http://strawberryperl.com/releases.html>.

7. I installed this release of Perl and firstly just simply modify the
_utf8_heavy.pl_, _PVA.pl_ and _Canonical.pl_ files in Octave according to
those in Perl 5.8.9. It failed. 

8. Tried to substituted all the files of Perl in Octave with Perl 5.8.9 and
failed. Gave out compilation and version errors.

Appreciate your reading!





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49839>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]