public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Major problems with libpcre / UTF8
@ 2022-12-15 20:52 Walter Dnes
  2022-12-15 20:56 ` Matt Connell
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Walter Dnes @ 2022-12-15 20:52 UTC (permalink / raw
  To: Gentoo Users List

  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)|(Aug)|(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)|(August)|(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.


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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] " Walter Dnes
@ 2022-12-15 20:56 ` Matt Connell
  2022-12-15 21:01 ` ralfconn
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: Matt Connell @ 2022-12-15 20:56 UTC (permalink / raw
  To: gentoo-user

On Thu, 2022-12-15 at 15:52 -0500, Walter Dnes wrote:
>   Can someone give me their output from "emerge -pv1 dev-libs/libpcre"

I don't have advice for your specific issue, but, as requested:

[ebuild   R    ] dev-libs/libpcre-8.45-r1:3::gentoo  USE="bzip2 cxx jit
-libedit -pcre16 -pcre32 readline (split-usr) -static-libs (unicode)
zlib" ABI_X86="-32 (64) (-x32)" 0 KiB

equery depends libpcre shows:

app-admin/syslog-ng-3.38.1 (>=dev-libs/libpcre-6.1)
dev-libs/rasqal-0.9.33 (pcre ? dev-libs/libpcre)
media-libs/libpulse-16.1-r1 (elibc_mingw ? dev-libs/libpcre:3)
media-sound/pulseaudio-daemon-16.1-r3 (elibc_mingw ? dev-
libs/libpcre:3)
net-analyzer/nmap-7.93 (dev-libs/libpcre)
sys-apps/grep-3.7 (pcre ? >=dev-libs/libpcre-7.8-r1)
                  (pcre ? >=dev-libs/libpcre-7.8-r1[static-libs(+)])
xfce-base/thunar-4.16.11 (pcre ? >=dev-libs/libpcre-6)



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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] " Walter Dnes
  2022-12-15 20:56 ` Matt Connell
@ 2022-12-15 21:01 ` ralfconn
  2022-12-26  7:59   ` David Rosenbaum
  2022-12-15 21:07 ` Jack
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 16+ messages in thread
From: ralfconn @ 2022-12-15 21:01 UTC (permalink / raw
  To: gentoo-user

On 12/15/22 21:52, Walter Dnes wrote:
 >    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!


# emerge -pv1 dev-libs/libpcre

These are the packages that would be merged, in order:

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" ABI_X86="(64) -32 (-x32)" 1,542 KiB

# cat /etc/locale.gen
en_US ISO-8859-1
en_US.UTF-8 UTF-8
it_IT ISO-8859-1
it_IT.UTF-8 UTF-8



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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] " Walter Dnes
  2022-12-15 20:56 ` Matt Connell
  2022-12-15 21:01 ` ralfconn
@ 2022-12-15 21:07 ` Jack
  2022-12-15 21:40 ` Mike Civil
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: Jack @ 2022-12-15 21:07 UTC (permalink / raw
  To: gentoo-user

On 2022.12.15 15:52, Walter Dnes wrote:
>   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"
Calculating dependencies... done!
[ebuild   R    ] dev-libs/libpcre-8.45-r1:3::gentoo  USE="bzip2 cxx jit  
readline (split-usr) static-libs (unicode) zlib -libedit -pcre16  
-pcre32" ABI_X86="32 (64) (-x32)" 0 KiB

and for mc:
Calculating dependencies... done!
[ebuild   R    ] app-misc/mc-4.8.28-r2::gentoo  USE="X edit gpm slang  
spell unicode -nls -sftp -test" 0 KiB
> 
> mc (Midnight Commander) spews out a lot of...
mc gives me no complaints.
> 
> (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)|(Aug)|(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)|(August)|(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.
> 
> 



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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] " Walter Dnes
                   ` (2 preceding siblings ...)
  2022-12-15 21:07 ` Jack
@ 2022-12-15 21:40 ` Mike Civil
  2022-12-16  0:44 ` Ionen Wolkens
  2022-12-16 18:42 ` Walter Dnes
  5 siblings, 0 replies; 16+ messages in thread
From: Mike Civil @ 2022-12-15 21:40 UTC (permalink / raw
  To: gentoo-user

Not sure what your problem is but it looks like Glib is complaining, not 
mc. Having unicode in your flags would seem to infer UTF-8 support but 
I'm no expert.

There's an assumption that you've already run an emerge --sync, emerge 
--update @world and a depclean and that you don't have any unusual 
entries in package.mask, package.accept_keywords, or friends. Also that 
you don't have any overlays that could be muddying the waters.

Then I'd try the following and check your pcre and glib libraries are 
consistent.

# ldd /usr/bin/mc|egrep "glib|pcre"
         libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 
(0x00007f6672c58000)
         libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x00007f66728c7000)

# ls -l /usr/lib64/{libpcre2-8*,libglib-2*}
lrwxrwxrwx 1 root root      16 Dec 14 13:49 /usr/lib64/libglib-2.0.so -> 
libglib-2.0.so.0
lrwxrwxrwx 1 root root      23 Dec 14 13:49 /usr/lib64/libglib-2.0.so.0 
-> libglib-2.0.so.0.7400.3
-rwxr-xr-x 1 root root 1291352 Dec 14 13:50 
/usr/lib64/libglib-2.0.so.0.7400.3
lrwxrwxrwx 1 root root      20 Dec 13 16:31 /usr/lib64/libpcre2-8.so -> 
libpcre2-8.so.0.11.2
lrwxrwxrwx 1 root root      20 Dec 13 16:31 /usr/lib64/libpcre2-8.so.0 
-> libpcre2-8.so.0.11.2
-rwxr-xr-x 1 root root  641544 Dec 13 16:31 /usr/lib64/libpcre2-8.so.0.11.2



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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] " Walter Dnes
                   ` (3 preceding siblings ...)
  2022-12-15 21:40 ` Mike Civil
@ 2022-12-16  0:44 ` Ionen Wolkens
  2022-12-16 18:42 ` Walter Dnes
  5 siblings, 0 replies; 16+ messages in thread
From: Ionen Wolkens @ 2022-12-16  0:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

On Thu, Dec 15, 2022 at 03:52:46PM -0500, Walter Dnes wrote:
>   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

glib switched to libpcre2 recently, so that's the wrong package.

I don't seem to get these messages with mc unless I disable unicode
(which is normally enabled by default in profiles).

[ebuild   R    ] dev-libs/libpcre2-10.42:0/3::gentoo  USE="jit pcre16 readline (split-usr) unicode zlib -bzip2 -libedit -pcre32 -static-libs -verify-sig" ABI_X86="32 (64) (-x32)" 0 KiB

-- 
ionen

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* [gentoo-user] Major problems with libpcre / UTF8
@ 2022-12-16 16:53 Walter Dnes
  2022-12-16 17:28 ` Matt Connell
  2022-12-17 11:21 ` [gentoo-user] " Nuno Silva
  0 siblings, 2 replies; 16+ messages in thread
From: Walter Dnes @ 2022-12-16 16:53 UTC (permalink / raw
  To: Gentoo Users List

  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.


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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-16 16:53 [gentoo-user] Major problems with libpcre / UTF8 Walter Dnes
@ 2022-12-16 17:28 ` Matt Connell
  2022-12-17 11:21 ` [gentoo-user] " Nuno Silva
  1 sibling, 0 replies; 16+ messages in thread
From: Matt Connell @ 2022-12-16 17:28 UTC (permalink / raw
  To: gentoo-user

On Fri, 2022-12-16 at 11:53 -0500, Walter Dnes wrote:
>   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


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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] " Walter Dnes
                   ` (4 preceding siblings ...)
  2022-12-16  0:44 ` Ionen Wolkens
@ 2022-12-16 18:42 ` Walter Dnes
  2022-12-16 18:46   ` Michael
  5 siblings, 1 reply; 16+ messages in thread
From: Walter Dnes @ 2022-12-16 18:42 UTC (permalink / raw
  To: gentoo-user

  Thanks everybody.  I had "-unicode" in my USE flags all these years.
"emerge --changed-use --deep --update @world" has 11 ebuilds scheduled.
and is running OK.  Again, I apologize for a possible duplicate post or
bounces as the mail host I use was down yestersday.

  A few minutes later... everything rebuilt with "+unicode" in make.conf
I have 'unicode="YES"' in /etc/rc.conf.  No improvements in my system.
"xterm" still hows as "xem".  How does "emerge -e @world" sound?  That's
615 packages.

-- 
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.


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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-16 18:42 ` Walter Dnes
@ 2022-12-16 18:46   ` Michael
  2022-12-16 19:05     ` Walter Dnes
  0 siblings, 1 reply; 16+ messages in thread
From: Michael @ 2022-12-16 18:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

On Friday, 16 December 2022 18:42:41 GMT Walter Dnes wrote:
>   Thanks everybody.  I had "-unicode" in my USE flags all these years.
> "emerge --changed-use --deep --update @world" has 11 ebuilds scheduled.
> and is running OK.  Again, I apologize for a possible duplicate post or
> bounces as the mail host I use was down yestersday.
> 
>   A few minutes later... everything rebuilt with "+unicode" in make.conf
> I have 'unicode="YES"' in /etc/rc.conf.  No improvements in my system.
> "xterm" still hows as "xem".  How does "emerge -e @world" sound?  That's
> 615 packages.

Have you sorted out your locale to include UTF-8?

Check this page:

https://wiki.gentoo.org/wiki/Localization/Guide



[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-16 18:46   ` Michael
@ 2022-12-16 19:05     ` Walter Dnes
  2022-12-16 22:04       ` Paul Colquhoun
  0 siblings, 1 reply; 16+ messages in thread
From: Walter Dnes @ 2022-12-16 19:05 UTC (permalink / raw
  To: gentoo-user

On Fri, Dec 16, 2022 at 06:46:30PM +0000, Michael wrote
> 
> Have you sorted out your locale to include UTF-8?
> 
> Check this page:
> 
> https://wiki.gentoo.org/wiki/Localization/Guide

  My /etc/locale.gen has been...

en_US ISO-8859-1
en_US.UTF-8 UTF-8
C.UTF8 UTF-8

...for a long time.

-- 
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.


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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-16 19:05     ` Walter Dnes
@ 2022-12-16 22:04       ` Paul Colquhoun
  2022-12-16 23:45         ` Walter Dnes
  0 siblings, 1 reply; 16+ messages in thread
From: Paul Colquhoun @ 2022-12-16 22:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

On Saturday, December 17, 2022 6:05:08 A.M. AEDT Walter Dnes wrote:
> On Fri, Dec 16, 2022 at 06:46:30PM +0000, Michael wrote
> 
> > Have you sorted out your locale to include UTF-8?
> > 
> > Check this page:
> > 
> > https://wiki.gentoo.org/wiki/Localization/Guide
> 
>   My /etc/locale.gen has been...
> 
> en_US ISO-8859-1
> en_US.UTF-8 UTF-8
> C.UTF8 UTF-8
> 
> ...for a long time.

Are you missing a hyphen in "C.UTF8"?

-- 
Reverend Paul Colquhoun, ULC.     http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
     http://catb.org/~esr/faqs/smart-questions.html#intro


[-- Attachment #2: Type: text/html, Size: 2423 bytes --]

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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-16 22:04       ` Paul Colquhoun
@ 2022-12-16 23:45         ` Walter Dnes
  0 siblings, 0 replies; 16+ messages in thread
From: Walter Dnes @ 2022-12-16 23:45 UTC (permalink / raw
  To: gentoo-user

On Sat, Dec 17, 2022 at 09:04:35AM +1100, Paul Colquhoun wrote
> 
> Are you missing a hyphen in "C.UTF8"?

  Yes.  I fixed that and ran locale-gen then re-booted; no difference.
I'll dig a bit deeper.

-- 
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.


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

* [gentoo-user] Re: Major problems with libpcre / UTF8
  2022-12-16 16:53 [gentoo-user] Major problems with libpcre / UTF8 Walter Dnes
  2022-12-16 17:28 ` Matt Connell
@ 2022-12-17 11:21 ` Nuno Silva
  1 sibling, 0 replies; 16+ messages in thread
From: Nuno Silva @ 2022-12-17 11:21 UTC (permalink / raw
  To: gentoo-user

On 2022-12-16, Walter Dnes wrote:

>   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



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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 21:01 ` ralfconn
@ 2022-12-26  7:59   ` David Rosenbaum
  2022-12-26 12:24     ` David Rosenbaum
  0 siblings, 1 reply; 16+ messages in thread
From: David Rosenbaum @ 2022-12-26  7:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

Dave

On Thu, Dec 15, 2022, 4:01 PM ralfconn <mentadent47@yahoo.com> wrote:

> On 12/15/22 21:52, Walter Dnes wrote:
>  >    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!
>
>
> # emerge -pv1 dev-libs/libpcre
>
> These are the packages that would be merged, in order:
>
> 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" ABI_X86="(64) -32 (-x32)" 1,542 KiB
>
> # cat /etc/locale.gen
> en_US ISO-8859-1
> en_US.UTF-8 UTF-8
> it_IT ISO-8859-1
> it_IT.UTF-8 UTF-8
>
>
>

[-- Attachment #2: Type: text/html, Size: 2086 bytes --]

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

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-26  7:59   ` David Rosenbaum
@ 2022-12-26 12:24     ` David Rosenbaum
  0 siblings, 0 replies; 16+ messages in thread
From: David Rosenbaum @ 2022-12-26 12:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

Fix this

Dave

On Mon, Dec 26, 2022, 3:00 AM David Rosenbaum <rosenbaumd181@gmail.com>
wrote:

>
>
> Dave
>
> On Thu, Dec 15, 2022, 4:01 PM ralfconn <mentadent47@yahoo.com> wrote:
>
>> On 12/15/22 21:52, Walter Dnes wrote:
>>  >    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!
>>
>>
>> # emerge -pv1 dev-libs/libpcre
>>
>> These are the packages that would be merged, in order:
>>
>> 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" ABI_X86="(64) -32 (-x32)" 1,542 KiB
>>
>> # cat /etc/locale.gen
>> en_US ISO-8859-1
>> en_US.UTF-8 UTF-8
>> it_IT ISO-8859-1
>> it_IT.UTF-8 UTF-8
>>
>>
>>

[-- Attachment #2: Type: text/html, Size: 2530 bytes --]

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

end of thread, other threads:[~2022-12-26 12:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-16 16:53 [gentoo-user] Major problems with libpcre / UTF8 Walter Dnes
2022-12-16 17:28 ` Matt Connell
2022-12-17 11:21 ` [gentoo-user] " Nuno Silva
  -- strict thread matches above, loose matches on Subject: below --
2022-12-15 20:52 [gentoo-user] " Walter Dnes
2022-12-15 20:56 ` Matt Connell
2022-12-15 21:01 ` ralfconn
2022-12-26  7:59   ` David Rosenbaum
2022-12-26 12:24     ` David Rosenbaum
2022-12-15 21:07 ` Jack
2022-12-15 21:40 ` Mike Civil
2022-12-16  0:44 ` Ionen Wolkens
2022-12-16 18:42 ` Walter Dnes
2022-12-16 18:46   ` Michael
2022-12-16 19:05     ` Walter Dnes
2022-12-16 22:04       ` Paul Colquhoun
2022-12-16 23:45         ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox