Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 483452

Summary: net-libs/gnome-online-accounts-3.8.3 fails to build: libsoup-2.4.so: undefined reference to g_type_class_adjust_private_offset
Product: Gentoo Linux Reporter: Cynede (RETIRED) <cynede>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description Cynede (RETIRED) gentoo-dev 2013-09-03 04:42:54 UTC
build.log and emerge --info attached


Reproducible: Always
Comment 1 Cynede (RETIRED) gentoo-dev 2013-09-03 04:43:16 UTC
Created attachment 357724 [details]
build.log
Comment 2 Cynede (RETIRED) gentoo-dev 2013-09-03 04:43:35 UTC
Created attachment 357726 [details]
emerge --info
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-09-03 04:57:38 UTC
(In reply to Heather from comment #1)

This line:

> /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../lib/libsoup-2.4.so: undefined reference to `g_type_class_adjust_private_offset'

seems to indicate that you had built libsoup against glib-2.37 (or glib-9999), and then later downgraded to glib-2.36.x when building gnome-online-accounts. Or perhaps, that you had installed using libsoup-2.43 (or libsoup-9999).

Please make sure that you are using glib-2.36.4; re-emerge libsoup-2.42.2-r1; and check if that fixes the problem.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-09-03 04:59:42 UTC
These sorts of issues, by the way, are the reason why downgrading glib is generally not recommended.
Comment 5 Cynede (RETIRED) gentoo-dev 2013-09-03 05:24:46 UTC
(In reply to Alexandre Rostovtsev from comment #4)
> These sorts of issues, by the way, are the reason why downgrading glib is
> generally not recommended.

You're right, I think it's because my glib downgrade. I still wonder why is this happened because I used to rebuild libsoup before. Closing issue, will try to resolve situation by myself.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-09-03 05:39:52 UTC
After downgrading from glib-2.37 to 2.36, you might need to re-emerge every package that uses glib somewhere and which you had emerged during the time period when glib-2.37 was installed on your system.

If you are careful and look at your emerge.log, this is certainly doable. Unfortunately, sometimes people make mistakes and e.g. forget to rebuild something important like dbus-glib - and then their system would fail to boot.
Comment 7 Cynede (RETIRED) gentoo-dev 2013-09-03 05:47:51 UTC
Right, thanks. Now it's clear for me.
Anyways I'll keep trying to get 3.9.90 to work.
Just... used to try downgrade from it.