gnome-power-manager-2.24.4-r1 failed to build. Here's the snippet: ====== libtool: link: i686-pc-linux-gnu-gcc -O2 -march=prescott -pipe -Wl,-O1 -o gnome-power-manager egg-color.o egg-debug.o egg-console-kit.o gpm-dpms.o gpm-notify.o gpm-engine.o gpm-phone.o gpm-cell.o gpm-cell-unit.o gpm-cell-array.o gpm-warnings.o gpm-backlight.o gpm-prefs-server.o gpm-srv-brightness-kbd.o gpm-srv-screensaver.o gpm-conf.o gpm-idle.o gpm-load.o gpm-profile.o gpm-control.o gpm-refcount.o gpm-button.o gpm-brightness.o gpm-brightness-hal.o gpm-brightness-xrandr.o gpm-brightness-kbd.o gpm-light-sensor.o gpm-main.o gpm-manager.o gpm-ac-adapter.o gpm-tray-icon.o gpm-marshal.o gpm-common.o gpm-screensaver.o gpm-sound.o gpm-networkmanager.o gpm-info.o gpm-array.o gpm-array-float.o gpm-inhibit.o gpm-graph-widget.o gpm-feedback-widget.o -pthread -pthread -pthread /usr/lib/libgstreamer-0.10.so /usr/lib/libwnck-1.so /usr/lib/libstartup-notification-1.so /usr/lib/libXRes.so /usr/lib/libpanel-applet-2.so /usr/lib/libglade-2.0.so /usr/lib/libgnomeui-2.so /usr/lib/libgnome-keyring.so /usr/lib/libbonoboui-2.so /usr/lib/libSM.so -luuid /usr/lib/libICE.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgailutil.so /usr/lib/libXi.so /usr/lib/libXcursor.so /usr/lib/libXcomposite.so /usr/lib/libXdamage.so /usr/lib/libXfixes.so /usr/lib/libgnome-2.so /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lnsl -lssl -lcrypto /usr/lib/libavahi-glib.so /usr/lib/libavahi-client.so /usr/lib/libavahi-common.so -lutil /usr/lib/libgconf-2.so /usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/libpopt.so /usr/lib/libart_lgpl_2.so /usr/lib/libbonobo-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libhal.so /usr/lib/libXrandr.so -lresolv /usr/lib/libXext.so ../libhal-glib/.libs/libhal-gdevice.a ../libhal-glib/.libs/libhal-gdevicestore.a ../libhal-glib/.libs/libhal-gmanager.a ../libhal-glib/.libs/libhal-gpower.a ../libdbus-glib/.libs/libdbus-monitor-session.a ../libdbus-glib/.libs/libdbus-monitor-system.a ../libdbus-glib/.libs/libdbus-watch.a ../libdbus-glib/.libs/libdbus-proxy.a /usr/lib/libgthread-2.0.so -lpthread -lrt /usr/lib/libnotify.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libdbus-glib-1.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libcairo.so /usr/lib/libpixman-1.so /usr/lib/libpng12.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libpango-1.0.so -lm /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libdbus-1.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -pthread gpm-prefs-core.o: In function `gpm_prefs_setup_processor_combgpm-prefs-core.o: In function `gpm_prefs_setup_processor_combgpm-prefs-core.o: In function `gpm_prefs_setup_processor_combgpm-prefs-core.o: In function `gpm_prefs_setup_processor_combo': /var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4/src/gpm-prefs-core.c:784: undefined reference to `hal_gcpufreq_string_to_enum' gpm-prefs-core.o: In function `gpm_prefs_init': /var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4/src/gpm-prefs-core.c:1236: undefined reference to `hal_gcpufreq_new' /var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4/src/gpm-prefs-core.c:1268: undefined reference to `hal_gcpufreq_get_governors' collect2: ld returned 1 exit status make[4]: *** [gnome-power-preferences] Error 1 make[4]: *** Waiting for unfinished jobs.... gpm-manager.o: In function `gpm_manager_init': /var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4/src/gpm-manager.c:1754: undefined reference to `gpm_cpufreq_new' collect2: ld returned 1 exit status make[4]: *** [gnome-power-manager] Error 1 make[4]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/work/gnome-power-manager-2.24.4' make: *** [all] Error 2 * * ERROR: gnome-extra/gnome-power-manager-2.24.4-r1 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2693: Called gnome2_src_compile * environment, line 2049: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/gnome-extra:gnome-power-manager-2.24.4-r1:20090323-130716.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-2.24.4-r1/temp/environment'. * Reproducible: Always $ sudo emerge --info Portage 2.2_rc26 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r4-i686-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-glibc2.0 Timestamp of tree: Mon, 23 Mar 2009 06:45:01 +0000 app-shells/bash: 4.0_p10-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US" LC_ALL="en_US" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j2" 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.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa artworkextra automount avahi bash-completion beagle berkdb bluetooth branding bzip2 cairo cdda cddb cdr cjk cleartype cli cracklib crypt cups curl dbus device-mapper dri dvd dvdr dvdread eds emboss encode epiphany esd exif fam ffmpeg flac fortran gd gdbm gif gnome gnome-keyring gnomecd gpm gs gstreamer gtk gtkhtml guile hal iconv inotify ipv6 isdnlog java jpeg keyring ldap libnotify loop-aes lzma lzo mad mdnsresponder-compat midi mikmod mmx mono mp3 mpeg mudflap nautilus ncurses networking nls nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd profile python quicktime readline reflection reiserfs rtc sdl session sound spell spl sse sse2 ssl startup-notification svg symlink sysfs tcpd threads tiff truetype unicode usb utils vorbis win32codecs x86 xattr xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 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" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 185980 [details] build log for this error
I am seeing the same problem. It looks like the patches that were added to include cpufreq support don't patch the Makefile.in files. Thanks, Anthony
Strange, the error is no longer reproducible. Steps taken: 1. rm -rf /var/tmp/portage/gnome-extra/gnome-power-manager 2. emerge gnome-power-manager At this point, the install completed successfully. No other changes were made.
I'm having the same problem and deleting /var/tmp/portage/gnome-extra/gnome-power-manager didn't help.
Same here -- clearing /var/tmp/portage doesn't resolve this.
No when i wrote this patches the Makefile.am is also patched, the problem is : the developper whose integrate my patches forgetten to add a call to "eautoreconf" in src_unpack function in the ebuild. Otherwises Makefile.in and Makefile are not up-to-date, and LDFLAGS to the libhal-glib directory sources are not included for compile. @nirbeek: can you re-add eautoreconf in src_unpack ? ;) (you or an other dev :) )
should be fixed now, without a bump.