Re: [gentoo-user] Major problems with libpcre / UTF8
Fix this Dave On Mon, Dec 26, 2022, 3:00 AM David Rosenbaum wrote: > > > Dave > > On Thu, Dec 15, 2022, 4:01 PM ralfconn 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 >> >> >>
Re: [gentoo-user] Major problems with libpcre / UTF8
Dave On Thu, Dec 15, 2022, 4:01 PM ralfconn 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 > > >
Re: [gentoo-user] Major problems with libpcre / UTF8
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.
Re: [gentoo-user] Major problems with libpcre / UTF8
On Saturday, December 17, 2022 6:05:08 A.M. AEDT Walter Dnes wrote: > On Fri, Dec 16, 2022 at 06:46:30PM +, 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
Re: [gentoo-user] Major problems with libpcre / UTF8
On Fri, Dec 16, 2022 at 06:46:30PM +, 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.
Re: [gentoo-user] Major problems with libpcre / UTF8
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 signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Major problems with libpcre / UTF8
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.
Re: [gentoo-user] Major problems with libpcre / UTF8
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/aec318b21018da25ba4328de7856
Re: [gentoo-user] Major problems with libpcre / UTF8
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 signature.asc Description: PGP signature
Re: [gentoo-user] Major problems with libpcre / UTF8
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 (0x7f6672c58000) libpcre2-8.so.0 => /usr/lib64/libpcre2-8.so.0 (0x7f66728c7000) # 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
Re: [gentoo-user] Major problems with libpcre / UTF8
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.
Re: [gentoo-user] Major problems with libpcre / UTF8
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
Re: [gentoo-user] Major problems with libpcre / UTF8
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)