While attempting to rebuild @system after upgrading sys-devel/gcc to 7.30, I receive the following build failure libtool: link: x86_64-pc-linux-gnu-gcc -march=skylake -O2 -pipe -Wall -Wl,-O1 -o .libs/gtk-query-immodules-2.0 queryimmodules.o -Wl,--export-dynamic -pthread -Wl,--as-needed ./.libs/libgtk-x11-2.0.so /var/tmp/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31-abi_x86_64.amd64/gdk/.libs/libgdk-x11-2.0.so ../gdk/.libs/libgdk-x11-2.0.so -lXrender -lXi -lXrandr -lXcursor -lXext -lpangocairo-1.0 -lX11 -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lm -lgmodule-2.0 -lglib-2.0 -pthread ./.libs/libgtk-x11-2.0.so: undefined reference to `_gtk_marshal_BOOLEAN__BOXED_BOXED' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:2479: gtk-query-immodules-2.0] Error 1 make[4]: *** Waiting for unfinished jobs.... /var/tmp/portage/x11-libs/gtk+-2.24.31-r1/work/gtk+-2.24.31/gtk/gtkpapersize.c:476: mismatched #endif gtk/gtkaboutdialog.c:1109: Warning: Gtk: missing ":" at column 28: * @copyright: (allow-none) the copyright string which repeats.... Ive attached the build.log. Emerge --info to follow. I suspect this is relatited to 7.30 somehow, as this compiled with 6
# emerge --info x11-libs/gtk+:2 Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r7, 4.9.95-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.9.95-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700K_CPU_@_4.20GHz-with-gentoo-2.4.1 KiB Mem: 65977732 total, 49783616 free KiB Swap: 67108860 total, 67108860 free Timestamp of repository gentoo: Mon, 25 Jun 2018 03:30:01 +0000 Head commit of repository gentoo: 22da60c8d1dcc041529ae3b8ee62eda2b336a029 sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p2) 2.30.0 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo sys-devel/binutils: 2.30-r2::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: local location: /usr/local/portage masters: gentoo pinkbyte location: /var/lib/layman/pinkbyte masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=skylake -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=skylake -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" 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="ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://cosmos.illinois.edu/pub/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j8" 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 audit berkdb bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr clang cli client colord corefonts crypt cups curl cxx dbus deprecated dhcpcd dri dts dvd dvdr eds elfutils emboss encode evo exif f2fs fam fat flac fontconfig fortran fuse gdbm gdm gif glamor gles gnome gnome-keyring gnome-online-accounts gnuefi gnutls gold google gpm graphite gstreamer gtk hfs iconv icu importd introspection jfs jpeg jpeg2k lcms ldap libcanberra libkms libnotify libsecret libtirpc lto lua lzma mad minizip mng modules mount mp3 mp4 mpeg multilib nat nautilus ncurses networkmanager nls nptl ntfs odbc ogg opengl openmp openssl pam pango pch pcre pdf plotutils plymouth png policykit ppds printsupport pulseaudio python qt3support qt4 qt5 raw readline reiser4 reiserfs sdl seccomp spell ssl startup-notification svg systemd sysv-utils tcl tcpd threads tiff tk tools tracker truetype udev udf udisks unicode upower usb uvm vala vorbis wayland-compositor webkit wifi wxwidgets x264 xattr xcb xfs 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="openssl" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev mouse keyboard libinput" KERNEL="linux" L10N="en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= x11-libs/gtk+-2.24.31-r1::gentoo was built with the following: USE="cups introspection (-aqua) -examples -test -vim-syntax -xinerama" ABI_X86="(64) -32 (-x32)"
I attempted to attach the build.log, but it's greater than the limit. Let me know if you still need it.
Upgrading x11-libs/gtk+:2 to unstable (2.24.32) solves the issue. Should I update this to a Stabilization request?
*** This bug has been marked as a duplicate of bug 629778 ***
As per the bug this is a duplicate of - The problem should only happen with a dev-libs/glib that isn't stable yet either, so if mixing keyword visibility already. Though a stabilization round, that'll include the newer gtk+:2, will be done soon.