Discussion:
[gentoo-user] Major problems with libpcre / UTF8
(too old to reply)
Walter Dnes
2022-12-16 17:00:01 UTC
Permalink
Apologies to those who've already seen this or had their replies
bounce. The mail host I use was down yesterday (the big storm?) so I
haven't seen any responses to this post. Here's a second try...

I just finished solving my babl problems, but more stuff shows up in
libpcre. First, here are my USE flags. I don't see "utf8" anywhere.

Calculating dependencies... done!
[ebuild R ] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit readline
+(split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 0 KiB

Can someone give me their output from "emerge -pv1 dev-libs/libpcre"

mc (Midnight Commander) spews out a lot of...

(mc:5796): GLib-CRITICAL **: 15:19:15.617: PCRE library is compiled without UTF8
+support

Application windows have every second character missing in the window
title; e.g. "xterm" shows as "xem". I have a spreasheet that tracks my
Presto card usage. The title has gone from "presto.gnumeric-Gnumeric" to
"pet.nmrc-Guei'. Various PCRE-based searches fail in vaious apps. HELP!

BTW, here's what I get when opening a complex spreadsheet in
gnumeric...

** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^((January)|(February)|(March)|(April)|(May)|(June)|(July)|(August)|(September
+)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Au
+g)|(Sep)|(Oct)|(Nov)|(Dec))(-|/|\s)(\d+)((,?\s+|-|/)(\d+))?\b": Invalid
+pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)(-|/|\.?\s*)((January)|(February)|(March)|(April)|(May)|(June)|(July)|(A
+ugust)|(September)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May
+)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))((,?\s*|-|/)(\d+))?\b": Invalid
+pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)(\d\d)(\d\d)(:\d\d\d\d\d\d(\.\d*)?)?\s*$": Invalid pattern.

** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)(-?)(\d\d)\2(\d\d)T\d+(:?)\d+(\5\d+(\.\d*)?)?(Z)\s*$": Invalid
+pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)[-/.](\d+)[-/.](\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)[-/.]((Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(
+Nov)|(Dec))[-/.](\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)[-/.](\d+)[-/.](\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)([-/.])(\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(((\d+):)?(\d+):)?(\d+\.\d*)\s*$": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+):(\d+)(:(\d+))?\s*$": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d)(\d\d)(\d\d)?(\.\d*)?\s*$": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)(:(\d+)(:(\d+(\.\d*)?))?)?\s*((am)|(pm))\s*$": Invalid pattern.
--
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars. Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer. All
those moments, will be lost in time like tears in rain... time to die.
Matt Connell
2022-12-16 17:30:01 UTC
Permalink
Post by Walter Dnes
Apologies to those who've already seen this or had their replies
bounce. The mail host I use was down yesterday (the big storm?) so I
haven't seen any responses to this post.
All the replies are archived here:
https://archives.gentoo.org/gentoo-user/message/ddddaec318b21018da25ba4328de7856
Nuno Silva
2022-12-17 11:30:01 UTC
Permalink
Post by Walter Dnes
Apologies to those who've already seen this or had their replies
bounce. The mail host I use was down yesterday (the big storm?) so I
haven't seen any responses to this post. Here's a second try...
I just finished solving my babl problems, but more stuff shows up in
libpcre. First, here are my USE flags. I don't see "utf8" anywhere.
Calculating dependencies... done!
[ebuild R ] dev-libs/libpcre-8.45-r1:3::gentoo USE="bzip2 cxx jit readline
+(split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 0 KiB
Can someone give me their output from "emerge -pv1 dev-libs/libpcre"
mc (Midnight Commander) spews out a lot of...
(mc:5796): GLib-CRITICAL **: 15:19:15.617: PCRE library is compiled without UTF8
+support
As pointed in the original thread, the dependency to look at is probably
libpcre2 now.

Could it be bug 883877? [1] Has been fixed in the tree at least for glib
2.74.3 [2].

[1] https://bugs.gentoo.org/show_bug.cgi?id=883877
[2] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337a97f5660ed827c17f487acdf5fb9f71bbdf1b

(For browsing the list archives, besides the web archive already
mentioned in this thread, if you have a news client you may also find
news://news.gmane.io/gmane.linux.gentoo.user useful)
--
Nuno Silva
Loading...