Skip to main content
Topic: gcolor3 broken on recent update, undefined symbol error (Read 512 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

gcolor3 broken on recent update, undefined symbol error

Hi all, so a recent update to gcolor3 version 2.4.0-6 causes a breaking change. Invoking gcolor3 from the terminal returns this error message:

Code: [Select]
gcolor3: symbol lookup error: gcolor3: undefined symbol: g_once_init_enter_pointer

I looked a bit into it, but not much, tbh. I might be missing a new needed dependency?

Anyways, downgrading back to 2.4.0-5 fixes the problem for now. I'll add it to IgnorePkg as well.

As always, any and all advice or help is greatly appreciated. Thanks as always in advance.

 

Re: gcolor3 broken on recent update, undefined symbol error

Reply #1
I had exactly the same problem:

Code: [Select]
$ gcolor3
gcolor3: symbol lookup error: gcolor3: undefined symbol: g_once_init_enter_pointer

Rebuilding the package with makepkg solved the issue for me!  ;)

Re: gcolor3 broken on recent update, undefined symbol error

Reply #2
I had exactly the same problem:

Code: [Select]
$ gcolor3
gcolor3: symbol lookup error: gcolor3: undefined symbol: g_once_init_enter_pointer

Rebuilding the package with makepkg solved the issue for me!  ;)

I see, I don't usually use makepkg except when updating paru, the AUR helper. Are you installing gcolor3 from the AUR? All searches on the AUR for gcolor3 appear orphaned. Otherwise the archwiki page on makepkg does not make it obvious on how I can build packages that were downloaded via pacman (which are binaries and thusly don't usually have the source code to rebuild).

My apologies, I don't mean to be obtuse, I'm just looking for some clarification.

Thank You for your suggestion!

Re: gcolor3 broken on recent update, undefined symbol error

Reply #3
I guess you can down load the repo version from one or other of the standard places eg

https://gitlab.archlinux.org/archlinux/packaging/packages/gcolor3

and then build from the source.

I see that archlinux has two binarie packages, but both seem to suffer from the missing symbol issue.

I can build this in archlinux if I also install appstream-glib and the result works with some minor errors
Code: [Select]
$ gcolor3

** (gcolor3:44330): WARNING **: 16:00:13.456: Error opening file: No such file or directory. Colors likely won't be saved, unless this is the first run

** (gcolor3:44330): WARNING **: 16:00:13.564: Cannot count number of items: Key file does not have group “Colors”


** (gcolor3:44330): WARNING **: 16:00:13.564: Cannot count number of items: Key file does not have group “Colors”
however, I lready have gcolor2 and prefer that on my systems.