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
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ 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] 18+ messages in thread

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 Walter Dnes
@ 2022-12-15 20:56 ` Matt Connell
  2022-12-15 21:01 ` ralfconn
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 18+ 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] 18+ messages in thread

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 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
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 18+ 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] 18+ messages in thread

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 18+ 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] 18+ messages in thread

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 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
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 18+ 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] 18+ messages in thread

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 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
  2022-12-27 20:36 ` [gentoo-user] [SOLVED... THE HARD WAY] " Walter Dnes
  6 siblings, 0 replies; 18+ 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] 18+ messages in thread

* Re: [gentoo-user] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 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
  2022-12-27 20:36 ` [gentoo-user] [SOLVED... THE HARD WAY] " Walter Dnes
  6 siblings, 1 reply; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ 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; 18+ 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] 18+ messages in thread

* [gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
  2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 Walter Dnes
                   ` (5 preceding siblings ...)
  2022-12-16 18:42 ` Walter Dnes
@ 2022-12-27 20:36 ` Walter Dnes
  2022-12-27 23:12   ` Paul Colquhoun
  2022-12-31  6:07   ` Walter Dnes
  6 siblings, 2 replies; 18+ messages in thread
From: Walter Dnes @ 2022-12-27 20:36 UTC (permalink / raw
  To: gentoo-user

  I gave up on searching Google, and decided to nuke+repave.  I'm sending
from my backup ("successor") machine.  The original machine now has basic
install plus xorg-server plus icewm plus xterm.  The titles on the xterm
window bars are OK, i.e. they are *NOT* missing every second letter.  I
still have to install 74 apps from the backup copy I made of "world" and
configure them.

  I fear that I may have to do the same with the backup machine.  I run
the same configs on both machines.  I haven't updated the backup machine
for 63 days, according to the warnings.  Hopefully correcting make.conf
right now will save me a second reinstall.

-- 
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] 18+ messages in thread

* Re: [gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
  2022-12-27 20:36 ` [gentoo-user] [SOLVED... THE HARD WAY] " Walter Dnes
@ 2022-12-27 23:12   ` Paul Colquhoun
  2022-12-28 14:57     ` Walter Dnes
  2022-12-31  6:07   ` Walter Dnes
  1 sibling, 1 reply; 18+ messages in thread
From: Paul Colquhoun @ 2022-12-27 23:12 UTC (permalink / raw
  To: gentoo-user

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

On Wednesday, December 28, 2022 7:36:38 A.M. AEDT Walter Dnes wrote:
>   I gave up on searching Google, and decided to nuke+repave.  I'm sending
> from my backup ("successor") machine.  The original machine now has basic
> install plus xorg-server plus icewm plus xterm.  The titles on the xterm
> window bars are OK, i.e. they are *NOT* missing every second letter.  I
> still have to install 74 apps from the backup copy I made of "world" and
> configure them.
> 
>   I fear that I may have to do the same with the backup machine.  I run
> the same configs on both machines.  I haven't updated the backup machine
> for 63 days, according to the warnings.  Hopefully correcting make.conf
> right now will save me a second reinstall.


Did you try the not quite so hard "emerge --emptytree -a world" first?

It just recompiles your whole current system again, to make sure everything is up to date 
and has the current set of Use flags. Skips all the initial installation steps, and keeps all 
your /etc config customisations.

-- 
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: 2849 bytes --]

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

* Re: [gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
  2022-12-27 23:12   ` Paul Colquhoun
@ 2022-12-28 14:57     ` Walter Dnes
  0 siblings, 0 replies; 18+ messages in thread
From: Walter Dnes @ 2022-12-28 14:57 UTC (permalink / raw
  To: gentoo-user

On Wed, Dec 28, 2022 at 10:12:51AM +1100, Paul Colquhoun wrote

> Did you try the not quite so hard "emerge --emptytree -a world" first?

  Yes; that was one of my attempts to fix the problem.

-- 
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] 18+ messages in thread

* Re: [gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
  2022-12-27 20:36 ` [gentoo-user] [SOLVED... THE HARD WAY] " Walter Dnes
  2022-12-27 23:12   ` Paul Colquhoun
@ 2022-12-31  6:07   ` Walter Dnes
  2022-12-31 11:21     ` Peter Humphrey
  1 sibling, 1 reply; 18+ messages in thread
From: Walter Dnes @ 2022-12-31  6:07 UTC (permalink / raw
  To: gentoo-user

On Tue, Dec 27, 2022 at 03:36:38PM -0500, Walter Dnes wrote

>   I fear that I may have to do the same with the backup machine.  I run
> the same configs on both machines.  I haven't updated the backup machine
> for 63 days, according to the warnings.  Hopefully correcting make.conf
> right now will save me a second reinstall.

  I corrected make.conf, ran emptytree, and then updated the
backup/successor machine.  The warnings were now 66 days since last sync.
The backup runs behind the main desktop, so I seem to have caught the
problem in time on this machine.  After the update, X runs OK with
window titles showing every letter, and no warnings about libpcre.  All
is good.

  The backup machine will be updated once a month "whether it needs it
or not".  Generally the same for my main desktop, but... I have Netflix
which requires Google-Chrome, which will beg for updates at random
intervals, so the main machine will have extra updates.  Pale Moon is my
"daily driver" web browser.  Google-Chrome is for Netflix only.

-- 
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] 18+ messages in thread

* Re: [gentoo-user] [SOLVED... THE HARD WAY] Major problems with libpcre / UTF8
  2022-12-31  6:07   ` Walter Dnes
@ 2022-12-31 11:21     ` Peter Humphrey
  0 siblings, 0 replies; 18+ messages in thread
From: Peter Humphrey @ 2022-12-31 11:21 UTC (permalink / raw
  To: gentoo-user

On Saturday, 31 December 2022 06:07:35 GMT Walter Dnes wrote:

>   The backup machine will be updated once a month "whether it needs it
> or not". 

:)

-- 
Regards,
Peter.





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

end of thread, other threads:[~2022-12-31 11:22 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-15 20:52 [gentoo-user] Major problems with libpcre / UTF8 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
2022-12-27 20:36 ` [gentoo-user] [SOLVED... THE HARD WAY] " Walter Dnes
2022-12-27 23:12   ` Paul Colquhoun
2022-12-28 14:57     ` Walter Dnes
2022-12-31  6:07   ` Walter Dnes
2022-12-31 11:21     ` Peter Humphrey

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