Rebuilding my system after updating gcc from 4.1.0-r1 to 4.1.1, I get the following errors when building gnome-python-extras: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.4 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgda-1.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pygtk-2.0 -march=k8 -O2 -pipe -ggdb -g -g -g -Wall -fno-strict-aliasing -MT gda_la-gda.lo -MD -MP -MF .deps/gda_la-gda.Tpo -c gda.c -fPIC -DPIC -o .libs/gda_la-gda.o In file included from /usr/include/libgda-1.2/libgda/gda-field.h:28, from /usr/include/libgda-1.2/libgda/gda-row.h:28, from /usr/include/libgda-1.2/libgda/gda-data-model.h:31, from /usr/include/libgda-1.2/libgda/gda-connection.h:29, from /usr/include/libgda-1.2/libgda/gda-server-provider.h:28, from gda.override:6: /usr/include/libgda-1.2/libgda/gda-value.h:183: warning: type qualifiers ignored on function return type gda.c: In function '_wrap_gda_field_attributes_get_default_value': gda.c:856: warning: assignment discards qualifiers from pointer target type gda.c: In function '_wrap_gda_parameter_get_value': gda.c:1050: warning: assignment discards qualifiers from pointer target type gda.c: In function '_wrap_gda_value_get_gobject': gda.c:1689: error: expected identifier or '(' before '-' token gda.c:1691: error: 'ret' undeclared (first use in this function) gda.c:1691: error: (Each undeclared identifier is reported only once gda.c:1691: error: for each function it appears in.) gda.override: In function '_wrap_gda_connection_execute_command': gda.override:203: warning: unused variable 'kwlist' gda.c: In function '_wrap_gda_data_model_get_row': gda.c:3167: warning: assignment discards qualifiers from pointer target type gda.c: In function '_wrap_gda_data_model_get_value_at': gda.c:3181: warning: assignment discards qualifiers from pointer target type gda.c: In function '_wrap_gda_data_model_hash_get_value_at': gda.c:3441: warning: assignment discards qualifiers from pointer target type gda.c: In function '_wrap_gda_data_model_hash_get_row': gda.c:3455: warning: assignment discards qualifiers from pointer target type gda.c: In function '_wrap_gda_data_model_list_append_value': gda.c:3836: warning: assignment discards qualifiers from pointer target type make[2]: *** [gda_la-gda.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-python-extras-2.14.0/work/gnome-python-extras-2.14.0/gda' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-python-extras-2.14.0/work/gnome-python-extras-2.14.0' make: *** [all] Error 2 !!! ERROR: dev-python/gnome-python-extras-2.14.0 failed. I have libgda-1.2.3 installed. This version of gnome-python-extras built under 4.1.0. Neither package version has changed. Portage 2.1_rc4 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-ck11 x86_64) ================================================================= System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r1, 2.16.93 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -ggdb" 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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -ggdb -ffriend-injection" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="autoconfig ccache confcache distlocks parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" PKGDIR="/var/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/bmg-main /usr/local/xgl-coffee /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dbus debug dri dvd dvdr eds emboss encode esd firefox flac foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap lzw lzw-tiff mad mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl pic png pppd python qt quicktime readline reflection ruby samba sdl session spell spl sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml xml2 xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en userland_GNU video_cards_vesa video_cards_nvidia" Unset: CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS
I should also mention I tried building both libgda and gnome-python-extras with USE="-debug" with no difference in the result.
Created attachment 88726 [details] my emerge info this is my emerge info. I have the exact same problem described in this bug
Comment on attachment 88726 [details] my emerge info my emerge info. i have the exact same problem with a amd64 system running gentoo-sources2.6.16-r9
Created attachment 90430 [details] working ~x86 emerge info This error doesn't occur on my ~x86 system. Emerge --info attached.
gnome-python-extras-2.14.0-r1 compiled without any problems.
Now downgrading to 2.14.0 works as well. libgda did not change in the interim, nor did I rebuild or otherwise make any changes to gcc 4.1.1. I just *love* ghost bugs. 8-p
Marking as fixed as per the reporter's comment.