From qboosh at pld-linux.org Wed May 10 17:58:20 2023 From: qboosh at pld-linux.org (Jakub Bogusz) Date: Wed, 10 May 2023 17:58:20 +0200 Subject: itstool 2.0.7 vs [packages/mate-utils] up to 1.26.1 In-Reply-To: <8aa16867d2911b7b77adf7d0041e2b455f560fc9_refs_heads_master@pld-linux.org> References: <310097fe4a4aa1cf68a1efe6220a30c886e06c34_refs_heads_master@pld-linux.org> <8aa16867d2911b7b77adf7d0041e2b455f560fc9_refs_heads_master@pld-linux.org> Message-ID: <20230510155820.GA10561@mail> On Wed, May 10, 2023 at 10:07:32AM +0200, atler wrote: > commit 8aa16867d2911b7b77adf7d0041e2b455f560fc9 > Author: Jan Palus > Date: Wed May 10 10:07:19 2023 +0200 > > up to 1.26.1 > > mate-utils.spec | 4 ++-- It (usually) fails for me with itstool 2.0.7. With itstool 2.0.6 it succeeded. ``` if ! test -d "pt/"; then mkdir "pt/"; fi if test -d "C"; then d="../"; else d="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/"; fi; \ mo="pt/pt.mo"; \ if test -f "${mo}"; then mo="../${mo}"; else mo="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/${mo}"; fi; \ (cd "pt/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \ touch "pt/pt.stamp" Memory fault ``` or ``` if ! test -d "pt/"; then mkdir "pt/"; fi if test -d "C"; then d="../"; else d="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/"; fi; \ mo="pt/pt.mo"; \ if test -f "${mo}"; then mo="../${mo}"; else mo="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/${mo}"; fi; \ (cd "pt/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \ touch "pt/pt.stamp" Traceback (most recent call last): File "/usr/bin/itstool", line 1647, in doc.merge_translations(translations, opts.lang, strict=opts.strict) File "/usr/bin/itstool", line 1016, in merge_translations lcnode.setProp(attr, origlang) File "/usr/lib/python3.10/site-packages/libxml2.py", line 3640, in setProp if ret is None:raise treeError('xmlSetProp() failed') libxml2.treeError: xmlSetProp() failed ``` (sometimes it succeeds) -- Jakub Bogusz http://qboosh.pl/ From atler at pld-linux.org Wed May 10 18:05:21 2023 From: atler at pld-linux.org (Jan Palus) Date: Wed, 10 May 2023 18:05:21 +0200 Subject: itstool 2.0.7 vs [packages/mate-utils] up to 1.26.1 In-Reply-To: <20230510155820.GA10561@mail> References: <310097fe4a4aa1cf68a1efe6220a30c886e06c34_refs_heads_master@pld-linux.org> <8aa16867d2911b7b77adf7d0041e2b455f560fc9_refs_heads_master@pld-linux.org> <20230510155820.GA10561@mail> Message-ID: <3bbic53vc52eh6kmv2r33ulajmugs753cvg447rfggcasprwu7@palneb3b6qxp> On 10.05.2023 17:58, Jakub Bogusz wrote: > On Wed, May 10, 2023 at 10:07:32AM +0200, atler wrote: > > commit 8aa16867d2911b7b77adf7d0041e2b455f560fc9 > > Author: Jan Palus > > Date: Wed May 10 10:07:19 2023 +0200 > > > > up to 1.26.1 > > > > mate-utils.spec | 4 ++-- > > It (usually) fails for me with itstool 2.0.7. With itstool 2.0.6 it succeeded. > > > ``` > if ! test -d "pt/"; then mkdir "pt/"; fi > if test -d "C"; then d="../"; else d="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/"; fi; \ > mo="pt/pt.mo"; \ > if test -f "${mo}"; then mo="../${mo}"; else mo="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/${mo}"; fi; \ > (cd "pt/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \ > touch "pt/pt.stamp" > Memory fault > ``` > > or > > ``` > if ! test -d "pt/"; then mkdir "pt/"; fi > if test -d "C"; then d="../"; else d="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/"; fi; \ > mo="pt/pt.mo"; \ > if test -f "${mo}"; then mo="../${mo}"; else mo="/home/comp/rpm/BUILD/mate-utils-1.26.1/gsearchtool/help/${mo}"; fi; \ > (cd "pt/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \ > touch "pt/pt.stamp" > Traceback (most recent call last): > File "/usr/bin/itstool", line 1647, in > doc.merge_translations(translations, opts.lang, strict=opts.strict) > File "/usr/bin/itstool", line 1016, in merge_translations > lcnode.setProp(attr, origlang) > File "/usr/lib/python3.10/site-packages/libxml2.py", line 3640, in setProp > if ret is None:raise treeError('xmlSetProp() failed') > libxml2.treeError: xmlSetProp() failed > ``` > > (sometimes it succeeds) Actually I was seeing the same with itstool 2.0.6 and found multiple reports about the very issue with main one being (with root cause somewhat identified dating back to 2.0.4): https://github.com/itstool/itstool/issues/36 Upgraded to 2.0.7 only because noticed there is a newer version and sadly none of the changes between 2.0.6 and 2.0.7 seems to either improve or regress memory issues. From zawadaa at gmail.com Thu May 25 12:04:12 2023 From: zawadaa at gmail.com (Andrzej Zawadzki) Date: Thu, 25 May 2023 12:04:12 +0200 Subject: remmina not working after llvm upgrade Message-ID: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> Hi! $ remmina ** Message: 11:54:59.423: Remmina does not log all output statements. Turn on more verbose output by using "G_MESSAGES_DEBUG=all" as an environment variable. More info available on the Remmina wiki at: [1]https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging Load modules from /usr/lib64/remmina/plugins Remmina plugin glibsecret (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 2000. The glibsecret secret plugin has been initialized and it will be your default secret plugin (org.remmina.Remmina:9625): Gtk-WARNING **: 11:55:00.227: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem : CommandLine Error: Option 'use-dbg-addr' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options Aborted (core dumped) Rebuild needed? -- Andrzej Zawadzki References 1. https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging From atler at pld-linux.org Thu May 25 12:35:38 2023 From: atler at pld-linux.org (Jan Palus) Date: Thu, 25 May 2023 12:35:38 +0200 Subject: remmina not working after llvm upgrade In-Reply-To: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> References: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> Message-ID: <5kpocmwvdui2bcw5hhbyfhjwakmurn27psrw2nrlpry2m2bajy@37resp635v6d> On 25.05.2023 12:04, Andrzej Zawadzki wrote: > Hi! > > $ remmina > ** Message: 11:54:59.423: Remmina does not log all output statements. > Turn on more verbose output by using "G_MESSAGES_DEBUG=all" as an > environment variable. > More info available on the Remmina wiki at: > [1]https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging > Load modules from /usr/lib64/remmina/plugins > Remmina plugin glibsecret (type=Secret) has been registered, but is not > yet initialized/activated. The initialization order is 2000. > The glibsecret secret plugin has been initialized and it will be your > default secret plugin > (org.remmina.Remmina:9625): Gtk-WARNING **: 11:55:00.227: > gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem > : CommandLine Error: Option 'use-dbg-addr' registered more than once! > LLVM ERROR: inconsistency in registered CommandLine options > Aborted (core dumped) > Rebuild needed? Works fine for me. I doubt Remmina has anything to do with LLVM directly so rebuild wouldn't change anything. Judging by Google results this could possibly be coming from a Mesa driver. Did you restart your GUI session (X/Wayland) after an upgrade to make sure new driver is running? From zawadaa at gmail.com Thu May 25 13:14:09 2023 From: zawadaa at gmail.com (Andrzej Zawadzki) Date: Thu, 25 May 2023 13:14:09 +0200 Subject: remmina not working after llvm upgrade In-Reply-To: <5kpocmwvdui2bcw5hhbyfhjwakmurn27psrw2nrlpry2m2bajy@37resp635v6d> References: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> <5kpocmwvdui2bcw5hhbyfhjwakmurn27psrw2nrlpry2m2bajy@37resp635v6d> Message-ID: <9d4bc7cb-cc69-062d-cc3f-e96948d49160@gmail.com> On 25.05.2023 12:35, Jan Palus wrote: On 25.05.2023 12:04, Andrzej Zawadzki wrote: Hi! $ remmina ** Message: 11:54:59.423: Remmina does not log all output statements. Turn on more verbose output by using "G_MESSAGES_DEBUG=all" as an environment variable. More info available on the Remmina wiki at: [1][1]https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging Load modules from /usr/lib64/remmina/plugins Remmina plugin glibsecret (type=Secret) has been registered, but is not yet initialized/activated. The initialization order is 2000. The glibsecret secret plugin has been initialized and it will be your default secret plugin (org.remmina.Remmina:9625): Gtk-WARNING **: 11:55:00.227: gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem : CommandLine Error: Option 'use-dbg-addr' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options Aborted (core dumped) Rebuild needed? Works fine for me. I doubt Remmina has anything to do with LLVM directly so rebuild wouldn't change anything. Judging by Google results this could possibly be coming from a Mesa driver. Did you restart your GUI session (X/Wayland) after an upgrade to make sure new driver is running? Yes, that's after reboot. Could be Mesa, it's upgraded too.. -- Andrzej Zawadzki References 1. https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging From atler at pld-linux.org Thu May 25 14:59:56 2023 From: atler at pld-linux.org (Jan Palus) Date: Thu, 25 May 2023 14:59:56 +0200 Subject: remmina not working after llvm upgrade In-Reply-To: <9d4bc7cb-cc69-062d-cc3f-e96948d49160@gmail.com> References: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> <5kpocmwvdui2bcw5hhbyfhjwakmurn27psrw2nrlpry2m2bajy@37resp635v6d> <9d4bc7cb-cc69-062d-cc3f-e96948d49160@gmail.com> Message-ID: On 25.05.2023 13:14, Andrzej Zawadzki wrote: > On 25.05.2023 12:35, Jan Palus wrote: > > On 25.05.2023 12:04, Andrzej Zawadzki wrote: > > Hi! > > $ remmina > ** Message: 11:54:59.423: Remmina does not log all output statements. > Turn on more verbose output by using "G_MESSAGES_DEBUG=all" as an > environment variable. > More info available on the Remmina wiki at: > [1][1]https://gitlab.com/Remmina/Remmina/-/wikis/Usage/Remmina-debugging > Load modules from /usr/lib64/remmina/plugins > Remmina plugin glibsecret (type=Secret) has been registered, but is not > yet initialized/activated. The initialization order is 2000. > The glibsecret secret plugin has been initialized and it will be your > default secret plugin > (org.remmina.Remmina:9625): Gtk-WARNING **: 11:55:00.227: > gtk_menu_attach_to_widget(): menu already attached to GtkMenuItem > : CommandLine Error: Option 'use-dbg-addr' registered more than once! > LLVM ERROR: inconsistency in registered CommandLine options > Aborted (core dumped) > Rebuild needed? > > Works fine for me. I doubt Remmina has anything to do with LLVM > directly so rebuild wouldn't change anything. Judging by Google results > this could possibly be coming from a Mesa driver. Did you restart your > GUI session (X/Wayland) after an upgrade to make sure new driver is > running? > > Yes, that's after reboot. Could be Mesa, it's upgraded too.. Do you mind sharing output (remmina.strace) of: strace -o remmina.strace -f -e '/open.*' -z remmina From krzysztof at mrozowicz.eu Thu May 25 17:41:24 2023 From: krzysztof at mrozowicz.eu (Krzysztof Mrozowicz) Date: Thu, 25 May 2023 15:41:24 +0000 Subject: remmina not working after llvm upgrade In-Reply-To: References: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> <5kpocmwvdui2bcw5hhbyfhjwakmurn27psrw2nrlpry2m2bajy@37resp635v6d> <9d4bc7cb-cc69-062d-cc3f-e96948d49160@gmail.com> Message-ID: <0102018853926a8a-7ce6abdd-1a3f-4e01-9bce-1bb010477e62-000000@eu-west-1.amazonses.com> Dnia 2023-05-25, o godz. 14:59:56 Jan Palus napisa?(a): > > > > Yes, that's after reboot. Could be Mesa, it's upgraded too.. > > Do you mind sharing output (remmina.strace) of: > > strace -o remmina.strace -f -e '/open.*' -z remmina I observe a similar problem on my computer. The strace file can be found at https://pastebin.com/KuXzXaYP Regards -- Krzysiek From atler at pld-linux.org Fri May 26 02:18:31 2023 From: atler at pld-linux.org (Jan Palus) Date: Fri, 26 May 2023 02:18:31 +0200 Subject: remmina not working after llvm upgrade In-Reply-To: <0102018853926a8a-7ce6abdd-1a3f-4e01-9bce-1bb010477e62-000000@eu-west-1.amazonses.com> References: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> <5kpocmwvdui2bcw5hhbyfhjwakmurn27psrw2nrlpry2m2bajy@37resp635v6d> <9d4bc7cb-cc69-062d-cc3f-e96948d49160@gmail.com> <0102018853926a8a-7ce6abdd-1a3f-4e01-9bce-1bb010477e62-000000@eu-west-1.amazonses.com> Message-ID: On 25.05.2023 15:41, Krzysztof Mrozowicz via pld-devel-en wrote: > Dnia 2023-05-25, o godz. 14:59:56 > Jan Palus napisa?(a): > > > > > > > Yes, that's after reboot. Could be Mesa, it's upgraded too.. > > > > Do you mind sharing output (remmina.strace) of: > > > > strace -o remmina.strace -f -e '/open.*' -z remmina > > I observe a similar problem on my computer. The strace file can be > found at https://pastebin.com/KuXzXaYP Thank you both for sharing strace output. Can you try upgrading SPIRV-LLVM-Translator* spirv-tools* and Mesa* and see if it helps? From zawadaa at gmail.com Fri May 26 09:24:29 2023 From: zawadaa at gmail.com (Andrzej Zawadzki) Date: Fri, 26 May 2023 09:24:29 +0200 Subject: remmina not working after llvm upgrade In-Reply-To: References: <5f579f13-9f5f-c8bb-eca4-a70ac89b0ad4@gmail.com> <5kpocmwvdui2bcw5hhbyfhjwakmurn27psrw2nrlpry2m2bajy@37resp635v6d> <9d4bc7cb-cc69-062d-cc3f-e96948d49160@gmail.com> <0102018853926a8a-7ce6abdd-1a3f-4e01-9bce-1bb010477e62-000000@eu-west-1.amazonses.com> Message-ID: <18b25724-8e51-1666-729b-7322005ce1bf@gmail.com> On 26.05.2023 02:18, Jan Palus wrote: On 25.05.2023 15:41, Krzysztof Mrozowicz via pld-devel-en wrote: Dnia 2023-05-25, o godz. 14:59:56 Jan Palus [1] napisal/(a): Yes, that's after reboot. Could be Mesa, it's upgraded too.. Do you mind sharing output (remmina.strace) of: strace -o remmina.strace -f -e '/open.*' -z remmina I observe a similar problem on my computer. The strace file can be found at [2]https://pastebin.com/KuXzXaYP Thank you both for sharing strace output. Can you try upgrading SPIRV-LLVM-Translator* spirv-tools* and Mesa* and see if it helps? Works!!!! Thanks! Now I can log into my favorite OS ;-) -- Andrzej Zawadzki References 1. mailto:atler at pld-linux.org 2. https://pastebin.com/KuXzXaYP