View previous topic :: View next topic |
Author |
Message |
cesarguere n00b
Joined: 05 Nov 2016 Posts: 53 Location: Buenos Aires, Argentina
|
Posted: Wed Aug 16, 2017 5:51 pm Post subject: [SOLVED] Problems compiling some gnome 3.24 updates |
|
|
I'm trying to update the new gnome 3.24 packages and I'm having problems with several ebuilds that will not let me finish the update.
Code: | server.c: In function ‘lo_server_resolve_hostname’:
server.c:303:10: error: ‘it’ undeclared (first use in this function)
for (it = ai; it; it = it->ai_next) {
^~
server.c:303:10: note: each undeclared identifier is reported only once for each function it appears in
server.c:303:15: error: ‘ai’ undeclared (first use in this function)
for (it = ai; it; it = it->ai_next) {
^~
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -march=core-avx-i -O2 -pipe -c -o liblo_la-bundle.lo `test -f 'bundle.c' || echo './'`bundle.c
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -march=core-avx-i -O2 -pipe -c bundle.c -fPIC -DPIC -o .libs/liblo_la-bundle.o
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -march=core-avx-i -O2 -pipe -c -o liblo_la-timetag.lo `test -f 'timetag.c' || echo './'`timetag.c
make[3]: *** [Makefile:823: liblo_la-server.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -I.. -march=core-avx-i -O2 -pipe -c timetag.c -fPIC -DPIC -o .libs/liblo_la-timetag.o
make[3]: Leaving directory '/var/tmp/portage/media-libs/liblo-0.29/work/liblo-0.29/src'
make[2]: *** [Makefile:964: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/liblo-0.29/work/liblo-0.29/src'
make[1]: *** [Makefile:469: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-libs/liblo-0.29/work/liblo-0.29'
make: *** [Makefile:378: all] Error 2
* ERROR: media-libs/liblo-0.29::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/liblo-0.29::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/liblo-0.29::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/liblo-0.29/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/liblo-0.29/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/liblo-0.29/work/liblo-0.29'
* S: '/var/tmp/portage/media-libs/liblo-0.29/work/liblo-0.29'
>>> Failed to emerge media-libs/liblo-0.29, Log file: |
Code: | checking whether to enable the threaded resolver... yes
checking whether to use POSIX threads for threaded resolver... no
configure: error: Threaded resolver enabled but no thread library found
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/curl-7.55.1/work/curl-7.55.1-abi_x86_64.amd64/config.log
* ERROR: net-misc/curl-7.55.1::gentoo failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 115: Called src_configure
* environment, line 3038: Called multilib-minimal_src_configure
* environment, line 2265: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
* environment, line 2479: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2195: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
* environment, line 2193: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
* environment, line 493: Called multilib-minimal_abi_src_configure
* environment, line 2259: Called multilib_src_configure
* environment, line 2734: Called econf '--enable-crypto-auth' '--enable-dict' '--enable-file' '--enable-ftp' '--enable-gopher' '--enable-http' '--enable-imap' '--enable-ldap' '--enable-ldaps' '--disable-ntlm-wb' '--enable-pop3' '--enable-rt' '--enable-rtsp' '--disable-smb' '--without-libssh2' '--enable-smtp' '--enable-telnet' '--enable-tftp' '--enable-tls-srp' '--disable-ares' '--enable-cookies' '--enable-hidden-symbols' '--enable-ipv6' '--enable-largefile' '--without-libpsl' '--enable-manual' '--enable-proxy' '--disable-soname-bump' '--disable-sspi' '--disable-static' '--disable-threaded-resolver' '--disable-pthreads' '--disable-versioned-symbols' '--without-cyassl' '--without-darwinssl' '--without-libidn2' '--without-gssapi' '--without-libmetalink' '--without-nghttp2' '--without-librtmp' '--without-spnego' '--without-winidn' '--with-zlib' '--without-axtls' '--without-gnutls' '--without-mbedtls' '--without-nss' '--without-polarssl' '--without-ssl' '--without-winssl' '--without-ca-fallback' '--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt' '--with-ssl' '--with-ca-path=/etc/ssl/certs'
* phase-helpers.sh, line 665: Called __helpers_die 'econf failed'
* isolated-functions.sh, line 117: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=net-misc/curl-7.55.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/curl-7.55.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/curl-7.55.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.55.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/curl-7.55.1/work/curl-7.55.1-abi_x86_64.amd64'
* S: '/var/tmp/portage/net-misc/curl-7.55.1/work/curl-7.55.1'
>>> Failed to emerge net-misc/curl-7.55.1, Log file:
|
Code: | contacts-address-map.vala:55.50-55.72: warning: Champlain.MAP_SOURCE_OSM_MAPQUEST is deprecated
contacts-address-map.vala:68.41-68.69: warning: Gdk.Cursor.new has been deprecated since 3.16
contacts-contact-editor.vala:680.19-680.30: error: Expected initializer of type `Folks.AbstractFieldDetails<string>' but got `Folks.PostalAddressFieldDetails'
rows.set (row, { detail_field });
^^^^^^^^^^^^
contacts-contact-editor.vala:680.17-680.17: error: Invalid type for argument 2
rows.set (row, { detail_field });
^
contacts-contact-editor.vala:687.23-687.26: error: Expected initializer of type `Folks.AbstractFieldDetails<string>' but got `Folks.PostalAddressFieldDetails'
rows.set (row, { addr });
^^^^
contacts-contact-editor.vala:687.21-687.21: error: Invalid type for argument 2
rows.set (row, { addr });
^
contacts-contact-pane.vala:314.17-314.72: warning: unhandled error `GLib.Error'
var pix = icon_theme.load_icon ("avatar-default-symbolic", 144, 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
contacts-contact-pane.vala:480.15-486.55: error: Too many arguments for specified format
Compilation failed: 5 error(s), 13 warning(s)
make[2]: *** [Makefile:801: gnome_contacts_vala.stamp] Error 1
make[2]: *** Waiting for unfinished jobs....
Compilation succeeded - 9 warning(s)
mv -f gnome_contacts_search_provider_vala.stamp-t gnome_contacts_search_provider_vala.stamp
make[2]: Leaving directory '/var/tmp/portage/gnome-extra/gnome-contacts-3.22.1/work/gnome-contacts-3.22.1/src'
make[1]: *** [Makefile:491: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-extra/gnome-contacts-3.22.1/work/gnome-contacts-3.22.1'
make: *** [Makefile:423: all] Error 2
* ERROR: gnome-extra/gnome-contacts-3.22.1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=gnome-extra/gnome-contacts-3.22.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=gnome-extra/gnome-contacts-3.22.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/gnome-extra/gnome-contacts-3.22.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-contacts-3.22.1/temp/environment'.
* Working directory: '/var/tmp/portage/gnome-extra/gnome-contacts-3.22.1/work/gnome-contacts-3.22.1'
* S: '/var/tmp/portage/gnome-extra/gnome-contacts-3.22.1/work/gnome-contacts-3.22.1'
>>> Failed to emerge gnome-extra/gnome-contacts-3.22.1, Log file:
|
My settings:
Code: | Portage 2.3.7 (python 2.7.13-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r3, 4.12.4-gentoo x86_64)
=================================================================
System uname: Linux-4.12.4-gentoo-x86_64-Intel-R-_Core-TM-_i5-3470_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem: 8126272 total, 5827004 free
KiB Swap: 2372604 total, 2372604 free
Timestamp of repository gentoo: Wed, 16 Aug 2017 00:45:01 +0000
Head commit of repository gentoo: 9361a977a1886d798dedd879f0caf3669bb32d36
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash: 4.4_p12::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.1-r1::gentoo
dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo
dev-util/cmake: 3.9.1::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.4.1-r1::gentoo
sys-apps/openrc: 0.28::gentoo
sys-apps/sandbox: 2.10-r4::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils: 2.28.1::gentoo
sys-devel/gcc: 6.4.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r4::gentoo
sys-devel/make: 4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.25-r3::gentoo
Repositories:
x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
betagarden
location: /var/lib/layman/betagarden
masters: gentoo
priority: 50
elementary
location: /var/lib/layman/elementary
masters: gentoo
priority: 50
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: 50
gentoo-zh
location: /var/lib/layman/gentoo-zh
masters: gentoo
priority: 50
jorgicio
location: /var/lib/layman/jorgicio
masters: gentoo
priority: 50
sabayon
location: /var/lib/layman/sabayon
masters: gentoo
priority: 50
steam-overlay
location: /var/lib/layman/steam-overlay
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_AR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds egl emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 joystick jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session spell ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="es es-AR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es-AR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
What could be the problem?
Thanks.
Last edited by cesarguere on Thu Aug 17, 2017 12:41 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Wed Aug 16, 2017 5:56 pm Post subject: |
|
|
For liblo read here.
For curl read here.
For gnome-contacts see this bug (not sure if it's same problem) _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Wed Aug 16, 2017 9:23 pm Post subject: |
|
|
(notice: i'm not the thread opener but i got almost the same problems and didn't want to open a new thread. hope it's OK )
thanks.
i overcomed curl with the patch and i also succeeded to emerge gnome-contacts after removing vala-0.36.4 and also remove from package.accept_keywords the line:
=dev-lang/vala-0.36.4
as "suggested" here:
https://bugs.gentoo.org/show_bug.cgi?id=627986
but now i stuck in emerging gnome-settings-daemon-3.24.3
i get error:
Code: | gsd-device-manager-udev.c:27:28: fatal error: gdk/gdkwayland.h: No such file or directory
compilation terminated.
make[4]: *** [Makefile:698: libcommon_la-gsd-device-manager-udev.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[3]: *** [Makefile:497: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[2]: *** [Makefile:491: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins'
make[1]: *** [Makefile:539: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3'
make: *** [Makefile:471: all] Error 2
* ERROR: gnome-base/gnome-settings-daemon-3.24.3::gentoo failed (compile phase):
* emake failed
|
|
|
Back to top |
|
|
cesarguere n00b
Joined: 05 Nov 2016 Posts: 53 Location: Buenos Aires, Argentina
|
Posted: Thu Aug 17, 2017 12:29 am Post subject: |
|
|
fedeliallalinea wrote: | For liblo read here.
For curl read here.
For gnome-contacts see this bug (not sure if it's same problem) |
That solved the problem and could finish compiling the complete upgrade with no more errors!!!
Thank you!! |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Thu Aug 17, 2017 2:50 am Post subject: |
|
|
papandreoos wrote: | but now i stuck in emerging gnome-settings-daemon-3.24.3
i get error:
Code:
gsd-device-manager-udev.c:27:28: fatal error: gdk/gdkwayland.h: No such file or directory
compilation terminated.
make[4]: *** [Makefile:698: libcommon_la-gsd-device-manager-udev.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[3]: *** [Makefile:497: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[2]: *** [Makefile:491: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins'
make[1]: *** [Makefile:539: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3'
make: *** [Makefile:471: all] Error 2
* ERROR: gnome-base/gnome-settings-daemon-3.24.3::gentoo failed (compile phase):
* emake failed
|
"gdk/gdkwayland.h" is defined by building x11-libs/gtk+ with the wayland flag. This will require USE flag changes for other packages. If you are using x11-drivers/nvidia-drivers you may need to start gdm twice. |
|
Back to top |
|
|
Faraclas Tux's lil' helper
Joined: 08 Dec 2014 Posts: 117
|
Posted: Thu Aug 17, 2017 4:59 am Post subject: |
|
|
I am having the same issue. Why do we need to rebuild anything with the wayland flag if we are not using Wayland? Is there a way around this without adding Wayland? |
|
Back to top |
|
|
Faraclas Tux's lil' helper
Joined: 08 Dec 2014 Posts: 117
|
Posted: Thu Aug 17, 2017 6:37 am Post subject: |
|
|
So I explicitly set -wayland for gnome-settings-daemon and it fails instead as follows:
Code: | In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32:0,
from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from gsd-device-manager-x11.c:25:
/usr/include/gtk-3.0/gdk/gdkdevicemanager.h:41:14: note: declared here
GList * gdk_device_manager_list_devices (GdkDeviceManager *device_manager,
^
gsd-device-manager-x11.c: In function ‘gsd_x11_device_manager_init’:
gsd-device-manager-x11.c:185:2: warning: ‘gdk_display_get_device_manager’ is deprecated: Use 'gdk_display_get_default_seat' instead [-Wdeprecated-declarations]
manager->device_manager = gdk_display_get_device_manager (display);
^
In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from gsd-device-manager-x11.c:25:
/usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here
GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
^
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon -I../../gnome-settings-daemon -I../../data/ -pthread -I/usr/include/gtk-3.0 -I/usr/include/gnome-desktop-3.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gsettings-desktop-schemas -march=core-avx2 -O2 -pipe -c gsd-device-manager-udev.c -fPIC -DPIC -o .libs/libcommon_la-gsd-device-manager-udev.o
gsd-device-mapper.c: In function ‘monitor_to_output’:
gsd-device-mapper.c:210:3: warning: ‘gdk_screen_get_monitor_at_point’ is deprecated: Use 'gdk_display_get_monitor_at_point' instead [-Wdeprecated-declarations]
if (monitor_num == gdk_screen_get_monitor_at_point (mapper->screen, x, y))
^
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from /usr/include/gtk-3.0/gtk/gtkx.h:27,
from gsd-device-mapper.c:23:
/usr/include/gtk-3.0/gdk/gdkscreen.h:87:15: note: declared here
gint gdk_screen_get_monitor_at_point (GdkScreen *screen,
^
gsd-device-mapper.c: In function ‘monitor_for_output’:
gsd-device-mapper.c:480:2: warning: ‘gdk_screen_get_monitor_at_point’ is deprecated: Use 'gdk_display_get_monitor_at_point' instead [-Wdeprecated-declarations]
return gdk_screen_get_monitor_at_point (screen, x, y);
^
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from /usr/include/gtk-3.0/gtk/gtkx.h:27,
from gsd-device-mapper.c:23:
/usr/include/gtk-3.0/gdk/gdkscreen.h:87:15: note: declared here
gint gdk_screen_get_monitor_at_point (GdkScreen *screen,
^
gsd-device-mapper.c: In function ‘output_get_dimensions’:
gsd-device-mapper.c:496:2: warning: ‘gdk_screen_get_monitor_width_mm’ is deprecated: Use 'gdk_monitor_get_width_mm' instead [-Wdeprecated-declarations]
*width = gdk_screen_get_monitor_width_mm (screen, monitor_num);
^
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from /usr/include/gtk-3.0/gtk/gtkx.h:27,
from gsd-device-mapper.c:23:
/usr/include/gtk-3.0/gdk/gdkscreen.h:94:15: note: declared here
gint gdk_screen_get_monitor_width_mm (GdkScreen *screen,
^
gsd-device-mapper.c:497:2: warning: ‘gdk_screen_get_monitor_height_mm’ is deprecated: Use 'gdk_monitor_get_height_mm' instead [-Wdeprecated-declarations]
*height = gdk_screen_get_monitor_height_mm (screen, monitor_num);
^
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from /usr/include/gtk-3.0/gtk/gtkx.h:27,
from gsd-device-mapper.c:23:
/usr/include/gtk-3.0/gdk/gdkscreen.h:97:15: note: declared here
gint gdk_screen_get_monitor_height_mm (GdkScreen *screen,
^
gsd-device-manager-udev.c:27:28: fatal error: gdk/gdkwayland.h: No such file or directory
compilation terminated.
make[4]: *** [Makefile:698: libcommon_la-gsd-device-manager-udev.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[3]: *** [Makefile:497: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[2]: *** [Makefile:491: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins'
make[1]: *** [Makefile:539: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3'
make: *** [Makefile:471: all] Error 2
* ERROR: gnome-base/gnome-settings-daemon-3.24.3::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=gnome-base/gnome-settings-daemon-3.24.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=gnome-base/gnome-settings-daemon-3.24.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/temp/environment'.
* Working directory: '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3'
* S: '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3'
* Messages for package gnome-base/gnome-settings-daemon-3.24.3:
* ERROR: gnome-base/gnome-settings-daemon-3.24.3::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=gnome-base/gnome-settings-daemon-3.24.3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=gnome-base/gnome-settings-daemon-3.24.3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/temp/environment'.
* Working directory: '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3'
* S: '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3' |
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Thu Aug 17, 2017 6:49 am Post subject: |
|
|
@Faraclas: see this _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Thu Aug 17, 2017 8:44 am Post subject: |
|
|
same problem here.
i added wayland to package.use at the line: x11-libs/gtk+
update world and now he want me to add this to continue:
Code: | # required by gnome-base/gnome-session-3.24.1::gentoo
# required by gnome-base/gnome-core-apps-3.24.0::gentoo
# required by gnome-base/gnome-3.24.0::gentoo
# required by @selected
# required by @world (argument)
>=media-libs/mesa-17.0.6 wayland
# required by media-libs/mesa-17.0.6::gentoo[wayland]
# required by gnome-base/gnome-session-3.24.1::gentoo
# required by gnome-base/gnome-core-apps-3.24.0::gentoo
# required by gnome-base/gnome-3.24.0::gentoo
# required by @selected
# required by @world (argument)
>=dev-libs/wayland-1.13.0 abi_x86_32
|
so i did and again update world and now i get warning:
Code: | WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
x11-libs/gtk+:3
(x11-libs/gtk+-3.22.16:3/3::gentoo, ebuild scheduled for merge) conflicts with
>=x11-libs/gtk+-3.21.0:3[X,introspection,-wayland] required by (media-libs/clutter-gtk-1.8.2:1.0/1.0::gentoo, installed)
^^^^^^^^
|
but i can continue the update so i did.
but even after enabling and installing wayland, when the upgrade want to install gnome-settings-daemon, it failes with the same error:
Code: | gsd-device-manager-udev.c:27:28: fatal error: gdk/gdkwayland.h: No such file or directory
compilation terminated.
make[4]: *** [Makefile:698: libcommon_la-gsd-device-manager-udev.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[3]: *** [Makefile:497: all] Error 2
make[3]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins/common'
make[2]: *** [Makefile:491: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3/plugins'
make[1]: *** [Makefile:539: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gnome-settings-daemon-3.24.3/work/gnome-settings-daemon-3.24.3'
make: *** [Makefile:471: all] Error 2
* ERROR: gnome-base/gnome-settings-daemon-3.24.3::gentoo failed (compile phase):
* emake failed
|
|
|
Back to top |
|
|
Faraclas Tux's lil' helper
Joined: 08 Dec 2014 Posts: 117
|
Posted: Thu Aug 17, 2017 2:07 pm Post subject: |
|
|
Yep, I ran into the above as well. It is important to solve the conflict so gtk+ gets rebuilt or else the error will persist. Here are the changes I made to keywords and use flags:
Code: | Keyword
=dev-libs/wayland-protocols-1.10 ~amd64
Use
x11-libs/gtk+ abi_x86_32 wayland #added wayland
>=x11-libs/libxkbcommon-0.7.1 abi_x86_32
>=dev-libs/wayland-1.13.0 abi_x86_32
>=media-libs/mesa-17.2.0_rc4 wayland
>=media-libs/cogl-1.22.2 wayland
>=media-libs/clutter-1.26.2 wayland
media-libs/clutter-gtk wayland |
After this gtk+ got rebuilt and the rest of the packages built without error. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Thu Aug 17, 2017 2:21 pm Post subject: |
|
|
Faraclas wrote: | Yep, I ran into the above as well. It is important to solve the conflict so gtk+ gets rebuilt or else the error will persist. Here are the changes I made to keywords and use flags:
Code: | Keyword
=dev-libs/wayland-protocols-1.10 ~amd64
Use
x11-libs/gtk+ abi_x86_32 wayland #added wayland
>=x11-libs/libxkbcommon-0.7.1 abi_x86_32
>=dev-libs/wayland-1.13.0 abi_x86_32
>=media-libs/mesa-17.2.0_rc4 wayland
>=media-libs/cogl-1.22.2 wayland
>=media-libs/clutter-1.26.2 wayland
media-libs/clutter-gtk wayland |
After this gtk+ got rebuilt and the rest of the packages built without error. |
thanks!
i managed to sort of solve this without wayland.
i revert back to previous state before installing wayland:
remove USE flag wayland from gtk+
also remove wayland USE flag from mesa and remove this line completely:
>=dev-libs/wayland-1.13.0 abi_x86_32
then i uninstalled wayland.
now in package.accept_keywords i comment out the line:
=gnome-base/gnome-settings-daemon-3.24.3 ~amd64
and replaced it with:
=gnome-base/gnome-settings-daemon-3.24.2 ~amd64
after that i continue to upgrade world and now everything was compiled without error |
|
Back to top |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Thu Aug 17, 2017 6:08 pm Post subject: |
|
|
papandreoos wrote: | but now i stuck in emerging gnome-settings-daemon-3.24.3 |
jburns wrote: | "gdk/gdkwayland.h" is defined by building x11-libs/gtk+ with the wayland flag. This will require USE flag changes for other packages. If you are using x11-drivers/nvidia-drivers you may need to start gdm twice. |
Faraclas wrote: | I am having the same issue. Why do we need to rebuild anything with the wayland flag if we are not using Wayland? Is there a way around this without adding Wayland? |
What you actually want is a patch like this which implements appropriate code guards.
For reference, see GNOME bug #780544 which shows a similar issue with GNOME Control Center. _________________ Dantrell B. |
|
Back to top |
|
|
Faraclas Tux's lil' helper
Joined: 08 Dec 2014 Posts: 117
|
Posted: Thu Aug 17, 2017 6:24 pm Post subject: |
|
|
Very nice! |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Thu Aug 17, 2017 8:17 pm Post subject: |
|
|
dantrell wrote: | papandreoos wrote: | but now i stuck in emerging gnome-settings-daemon-3.24.3 |
jburns wrote: | "gdk/gdkwayland.h" is defined by building x11-libs/gtk+ with the wayland flag. This will require USE flag changes for other packages. If you are using x11-drivers/nvidia-drivers you may need to start gdm twice. |
Faraclas wrote: | I am having the same issue. Why do we need to rebuild anything with the wayland flag if we are not using Wayland? Is there a way around this without adding Wayland? |
What you actually want is a patch like this which implements appropriate code guards.
For reference, see GNOME bug #780544 which shows a similar issue with GNOME Control Center. |
very nice indeed.
it's working**.
thank you!
** by working i mean i successfully compiled gnome-settings-daemon-3.24.3 |
|
Back to top |
|
|
jburns Veteran
Joined: 18 Jan 2007 Posts: 1214 Location: Massachusetts USA
|
Posted: Thu Aug 17, 2017 11:29 pm Post subject: |
|
|
The problem I had where I had to manually start gdm was due to a change in location for the gdm.service file. It was fixed by Code: | systemctl disable gdm.service
systemctl enable gdm.service |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|