Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656820 - gnome-base/gnome-control-center-3.24.4 link failure
Summary: gnome-base/gnome-control-center-3.24.4 link failure
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-29 04:55 UTC by John Covici
Modified: 2021-01-09 17:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge-info.txt,16.62 KB, text/plain)
2018-05-29 04:55 UTC, John Covici
Details
complete build of gnome-control-center (gnome-control-center-complete-build.log,605.24 KB, text/plain)
2018-05-29 04:59 UTC, John Covici
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Covici 2018-05-29 04:55:17 UTC
Created attachment 533912 [details]
emerge info

the following link fails
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb -Wl,-O1 -o gnome-control-center resources.o main.o cc-application.o cc-shell-log.o cc-shell-category-view.o cc-shell-item-view.o cc-editable-entry.o cc-panel-loader.o cc-panel.o cc-shell.o hostname-helper.o cc-hostname-entry.o list-box-helper.o cc-window.o -pthread -Wl,--export-dynamic  -Wl,--as-needed ./.libs/libshell.a -L/usr/lib ../libgd/.libs/libgd.a ../panels/common/.libs/liblanguage.a ../panels/common/.libs/libdevice.a ../panels/background/.libs/libbackground.a -lgrilo-0.3 ../panels/datetime/.libs/libdate_time.a ../panels/display/.libs/libdisplay.a ../panels/info/.libs/libinfo.a -lgtop-2.0 ../panels/keyboard/.libs/libkeyboard.a ../panels/mouse/.libs/libmouse-properties.a -lXi ../panels/notifications/.libs/libnotifications.a ../panels/power/.libs/libpower.a -lupower-glib ../panels/privacy/.libs/libprivacy.a ../panels/region/.libs/libregion.a -libus-1.0 ../panels/search/.libs/libsearch.a ../panels/sharing/.libs/libsharing.a ../panels/sound/.libs/libsound.a -lxml2 -lcanberra-gtk3 -lX11 -lcanberra -lpulse-mainloop-glib -lpulse ../panels/universal-access/.libs/libuniversal-access.a ../panels/user-accounts/.libs/libuser-accounts.a -L/lib64 -laccountsservice -lfontconfig -lfreetype -lpwquality ../panels/printers/.libs/libprinters.a -lsmbclient -lcups -lgnutls -lpthread -lcrypt -lz ../panels/network/.libs/libnetwork.a -lgmodule-2.0 -lpolkit-gobject-1 -lnma -lnm -lmm-glib ../panels/bluetooth/.libs/libbluetooth.a -lgnome-bluetooth ../panels/color/.libs/libcolor.a -lcolord-gtk -lcolord -lcolordprivate -lsoup-2.4 -lgnome-desktop-3 ../panels/online-accounts/.libs/libonline-accounts.a -lgthread-2.0 -lgoa-backend-1.0 -lgoa-1.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 /usr/lib/libatk-1.0.so -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm -pthread
../panels/mouse/.libs/libmouse-properties.a(gsd-device-manager.o): In function `gsd_device_manager_get':
/var/tmp/portage/gnome-base/gnome-control-center-3.24.4/work/gnome-control-center-3.24.4/panels/common/gsd-device-manager.c:280: undefined reference to `gsd_udev_device_manager_get_type'
collect2: error: ld returned 1 exit status
Comment 1 John Covici 2018-05-29 04:59:03 UTC
Created attachment 533914 [details]
complete build of gnome-control-center
Comment 2 Andrew Telford 2018-06-12 17:53:40 UTC
I also had this problem and think it is caused by inconsistent use of the "wayland" use flag. Looking at the code, it looks like the missing function is called inside a "#ifdef WAYLAND" block.

I was compiling gnome-control-center with  "-wayland" but some of the dependencies had been compiled with "wayland".

When I removed the following lines from my package.use:

   x11-libs/gtk+ wayland
   media-libs/clutter-gtk wayland
   >=media-libs/cogl-1.22.2 wayland
   >=media-libs/clutter-1.26.2 wayland
   >=media-libs/mesa-17.1.5 wayland


and recompiled all affected packages, then gnome-control-center now compiles.

I had to recompile ibus manually to get the post_inst compile of gtk+ to complete.
Comment 3 John Covici 2018-10-12 13:36:56 UTC
3.26.2 has the same error.