When I try emergeing any version (so far tried gtk+2.12.8-r2 and gtk+2.12.10 and gtk+2.12.10-r1) of gtk+ here is the result. Also have tried useing gcc version 4.0 4.1 4.2.4 creating im-multipress.la (cd .libs && rm -f im-multipress.la && ln -s ../im-multipress.la im-multipress.la) ../../gtk/gtk-query-immodules-2.0 im-xim.la im-am-et.la im-cedilla.la im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-thai.la im-ti-er.la im-ti-et.la im-viqr.la im-multipress.la > gtk.immodules /bin/sh: line 1: 15538 Segmentation fault ../../gtk/gtk-query-immodules-2.0 im-xim.la im-am-et.la im-cedilla.la im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-thai.la im-ti-er.la im-ti-et.la im-viqr.la im-multipress.la > gtk.immodules make[3]: *** [gtk.immodules] Error 139 make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/modules/input' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10' make: *** [all] Error 2 * * ERROR: x11-libs/gtk+-2.12.10-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2917: Called die * The specific snippet of code: * emake || die "compile failed" * The die message: * compile failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/temp/environment'. if you then cd to /var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10 and go grace gtk+-2.12.10# make .... /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libGL.so.1.2, needed by /usr/lib64/libglitz-glx.so, may conflict with libGL.so.1 creating doc-shooter make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/docs/tools' make[3]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/docs' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/docs' make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/docs' Making all in m4macros make[2]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/m4macros' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10/m4macros' make[2]: Entering directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10' rm -f gdk-x11-2.0.pc && \ cp gdk-2.0.pc gdk-x11-2.0.pc rm -f gtk+-x11-2.0.pc && \ cp gtk+-2.0.pc gtk+-x11-2.0.pc make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10' make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.10-r1/work/gtk+-2.12.10' .... it compiles fine. I have tried it from source downloaded from gnome-devel and to make it compile and install you have to 1. ./configure 2. make ( then wait till it segfaults) 3. make 4. make install I have reinstalled the system 5 times now with the same result. Reproducible: Always Steps to Reproduce: 1.Install Gentoo 2008.0 amd64 on core2duo machine 2.get the latest portage 3.try emerge gtk+ Linux grace 2.6.25-gentoo-r6 #2 SMP Sun Jul 13 01:53:59 MST 2008 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j5" FEATURES="keepwork keeptemp" USE="nvidia xvmc -gtk acpi dvd a52 dvdr cdr fbcon jpeg mpeg mmx opengl ithreads spell alsa sse sse2 sse3 ieee1394 threads X gtk2 -kde truetype png glitz svg pdf gif win32codecs" #GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/ " #GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/pub/gentoo/ " PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects" Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.2.4, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64) ================================================================= System uname: 2.6.25-gentoo-r6 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz Timestamp of tree: Fri, 11 Jul 2008 23:36:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks keeptemp keepwork metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 acl acpi alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dri dvd dvdr fbcon fortran gdbm gif glitz gpm gtk2 iconv ieee1394 ipv6 isdnlog ithreads jpeg midi mmx mpeg mudflap multilib ncurses nls nptl nptlonly nvidia opengl openmp pam pcre pdf perl png pppd python readline reflection session spell spl sse sse2 sse3 ssl svg tcpd threads truetype unicode xorg xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Reinstalling the nvidia driver fixed the problem for me ... Hopes it helps
Same problem here, when I unmerged gtk+ and tried re-emerging it from scratch. x86 (not amd64), gtk+-2.14.4, nvidia-drivers-177.80 Reinstalling the same version of nvidia-drivers did not fix it. But "eselect opengl set xorg-x11" before emerging gtk+ did work. (And now that the compiling is done, I can "eselect opengl set nvidia" to get OpenGL acceleration back.) Thanks for the hint Gilles.
a full build.log and accompagniing emerge --info would be nice (especially if it is against a recent release of gtk+)
*** Bug 269229 has been marked as a duplicate of this bug. ***
closing needinfo per comment #4. Please don't hesitate to reopen this bug once information has been provided. Thanks.
Created attachment 210823 [details] Emerge --info
Created attachment 210825 [details] Build log for gtk+-2.14.7-r2
Created attachment 210826 [details] Build log for gtk+-2.16.6
if this is still happening in recent gtk+ in tree ?
Check your cairo build options: --enable-gl was causing this gtk+-2 segfault for me. Bizarre.
The segfault still happens with gtk+-2.22.1-r1 and nvidia-drivers-260.19.29 or nvidia-drivers-260.19.36, regardless which gcc or cflags (tried 4.5.2 and 4.6). Temporarily switching opengl to xorg-x11 helped here too.