when i try to upgrade my system, i get the following error due installing gnome-power-manager CC egg-dbus-proxy.lo CC egg-dbus-monitor.lo CC egg-debug.lo CC hal-marshal.lo CC hal-device.lo CC hal-manager.lo CCLD libhal.la make[3]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1/libhal-glib' make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1/libhal-glib' Making all in src make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1/src' libtool --mode=execute dbus-binding-tool \ --prefix=gpm_manager \ --mode=glib-server \ --output=org.gnome.PowerManager.h \ ./org.gnome.PowerManager.xml libtool --mode=execute dbus-binding-tool \ --prefix=gpm_backlight \ --mode=glib-server \ --output=org.gnome.PowerManager.Backlight.h \ ./org.gnome.PowerManager.Backlight.xml make all-am make[3]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1/src' CC egg-color.o CC egg-debug.o CC egg-unique.o CC egg-precision.o CC egg-array-float.o CC egg-idletime.o CC egg-dbus-proxy.o CC egg-dbus-monitor.o CC egg-discrete.o CC egg-console-kit.o CC gpm-common.o CC gpm-marshal.o CC gpm-upower.o AR libgpmshared.a CC gnome_power_manager-gpm-dpms.o cc1: error: unrecognized command line option "-Wclobbered" cc1: error: unrecognized command line option "-Wempty-body" cc1: error: unrecognized command line option "-Wignored-qualifiers" cc1: error: unrecognized command line option "-Wtype-limits" cc1: error: unrecognized command line option "-Wmissing-parameter-type" cc1: error: unrecognized command line option "-Woverride-init" make[3]: *** [gnome_power_manager-gpm-dpms.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1' make: *** [all] Error 2 * ERROR: gnome-extra/gnome-power-manager-2.30.1 failed: * compile failure * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3188: Called gnome2_src_compile * environment, line 2501: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =gnome-extra/gnome-power-manager-2.30.1', * the complete build log and the output of 'emerge -pqv =gnome-extra/gnome-power-manager-2.30.1'. * The complete build log is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/temp/environment'. * S: '/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/work/gnome-power-manager-2.30.1' >>> Failed to emerge gnome-extra/gnome-power-manager-2.30.1, Log file: >>> '/var/tmp/portage/gnome-extra/gnome-power-manager-2.30.1/temp/build.log' Reproducible: Always
Please attach full build.log and "emerge --info" output
buildlog http://pastebin.com/RSxaHLBp emerge --info http://pastebin.com/uyAHa7iH
Created attachment 253543 [details] build.log Better provide them directly here to not rely on external resources. asdsadsa ~ # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.11.2-r0, 2.6.30-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r7-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 26 Oct 2010 14:30:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.4-r6, 2.5.4-r3, 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.1.2, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt ctype cups cxx dbus device-mapper dri dts dvd dvdr emboss encode exif extras fam firefox flac fortran fts3 gd gdbm gdu gif gpm gtk hal iconv ipv6 jpeg kde kdrive lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session sip spell sqlite ssl startup-notification svg symlink sysfs tcpd tiff truetype unicode usb vorbis wav x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS asdsadsa ~ #
This is caused by you running an old gcc. The problem is that even passing --enable-compile-warnings=no doesn't stop configure from passing -W* options :-/
There is little change upstream would care about such an old gcc and so do I unless there is a really good reason to. Please explain why you are using an old gcc (an add your emerge --info).
So, any reasons to use this old gcc when at least 4.3.4 is stable on all platforms (4.4.4 for hppa) ?
what does that mean? do i simple upgrade my old gcc and all works fine?
you most likely already have a newer gcc on your machine you just have to select it and the problem will be gone. To do that, check the output of: # gcc-config -l then select a more recent gcc (for example): # gcc-config 2 This is all explained in gcc upgrade guide.
(In reply to comment #5) > There is little change upstream would care about such an old gcc and so do I > unless there is a really good reason to. Please explain why you are using an > old gcc (an add your emerge --info). > "WONTFIX" then?
well since we didn't get any explanation for using 4.1 vs. any more recent gcc revision, closing wontfix.