Compiling g-p-m-3.2.1 fails as follows: >>> Source configured. >>> Compiling source in /var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1 ... make -j8 make all-recursive make[1]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1' Making all in src make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1/src' CC gnome_power_statistics-gpm-array-float.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/libupower-glib -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib64"\" -DVERSION="\"3.2.1\"" -DGPM_DATA=\"/usr/share/gnome-power-manager\" -DGTKBUILDERDIR=\"/usr/share/gnome-power-manager\" -DUP_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"PowerManager\" -I.. -fexceptions -Wall -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body -Wignored-qualifiers -Wtype-limits -Wdeclaration-after-statement -Wshadow -Winline -Wmissing-parameter-type -Woverride-init -Wno-strict-aliasing -O2 -pipe -march=amdfam10 -c -o gnome_power_statistics-gpm-array-float.o `test -f 'gpm-array-float.c' || echo './'`gpm-array-float.c CC gnome_power_statistics-gpm-statistics.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/libupower-glib -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib64"\" -DVERSION="\"3.2.1\"" -DGPM_DATA=\"/usr/share/gnome-power-manager\" -DGTKBUILDERDIR=\"/usr/share/gnome-power-manager\" -DUP_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"PowerManager\" -I.. -fexceptions -Wall -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body -Wignored-qualifiers -Wtype-limits -Wdeclaration-after-statement -Wshadow -Winline -Wmissing-parameter-type -Woverride-init -Wno-strict-aliasing -O2 -pipe -march=amdfam10 -c -o gnome_power_statistics-gpm-statistics.o `test -f 'gpm-statistics.c' || echo './'`gpm-statistics.c CC gnome_power_statistics-gpm-point-obj.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/libupower-glib -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib64"\" -DVERSION="\"3.2.1\"" -DGPM_DATA=\"/usr/share/gnome-power-manager\" -DGTKBUILDERDIR=\"/usr/share/gnome-power-manager\" -DUP_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"PowerManager\" -I.. -fexceptions -Wall -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body -Wignored-qualifiers -Wtype-limits -Wdeclaration-after-statement -Wshadow -Winline -Wmissing-parameter-type -Woverride-init -Wno-strict-aliasing -O2 -pipe -march=amdfam10 -c -o gnome_power_statistics-gpm-point-obj.o `test -f 'gpm-point-obj.c' || echo './'`gpm-point-obj.c CC gnome_power_statistics-gpm-graph-widget.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/libupower-glib -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\"/usr/share\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib64"\" -DVERSION="\"3.2.1\"" -DGPM_DATA=\"/usr/share/gnome-power-manager\" -DGTKBUILDERDIR=\"/usr/share/gnome-power-manager\" -DUP_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"PowerManager\" -I.. -fexceptions -Wall -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wclobbered -Wempty-body -Wignored-qualifiers -Wtype-limits -Wdeclaration-after-statement -Wshadow -Winline -Wmissing-parameter-type -Woverride-init -Wno-strict-aliasing -O2 -pipe -march=amdfam10 -c -o gnome_power_statistics-gpm-graph-widget.o `test -f 'gpm-graph-widget.c' || echo './'`gpm-graph-widget.c CCLD gnome-power-statistics make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1/src' Making all in po make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1/po' file=`echo tr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file tr.po file=`echo en_GB | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/gmsgfmt -o $file en_GB.po make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1/po' Making all in man make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1/man' docbook2man gnome-power-statistics.sgml &> /dev/null make[2]: *** [gnome-power-statistics.1] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1/man' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1' make: *** [all] Error 2 * ERROR: gnome-extra/gnome-power-manager-3.2.1 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =gnome-extra/gnome-power-manager-3.2.1', * the complete build log and the output of 'emerge -pqv =gnome-extra/gnome-power-manager-3.2.1'. * The complete build log is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/temp/environment'. * S: '/var/tmp/portage/gnome-extra/gnome-power-manager-3.2.1/work/gnome-power-manager-3.2.1' Reproducible: Always Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.0.3 Timestamp of tree: Thu, 14 Jun 2012 14:00:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.6 [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 googleearth AdobeFlash-10 AdobeFlash-10.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE google-talkplugin" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=amdfam10" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=amdfam10" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://ftp.linux.org.tr/gentoo/ http://gentoo.virginmedia.com/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="tr en en_GB en_US" MAKEOPTS="-j8" 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="3dnow 3dnowext 64bit X a52 aac acl acpi alsa amd64 apng applet aspell bash-completion beagle berkdb bluetooth bluray branding brasero bzip2 cairo ccache cdda cddax cddb cdr cdrom cdrtools cli colord consolekit cpufreq cracklib crypt css cups cxx dbus deskbar device-mapper dga disk-partition dri dtmf dts dvd dvdnav dvdr dvi dvipdfm eds emboss encode exif extra faac faad fam fbcon fbcondecor ffmpeg firefox flac galago gdbm gdu gif gnome gnome-keyring gnome-online-accounts gnutls gpm gps graphics gstreamer gtk h323 hddtemp iconv imap inotify jabber java java6 javascript jingle jpeg jpeg2k kms kpathsea laptop lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg msn mudflap multilib musicbrainz nautilus ncurses networkmanager nls nptl nsplugin offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pstricks pulseaudio python qt3support qt4 readline samba science sdl session smp sms socialweb speex spell sqlite sse sse2 sse4a ssl startup-notification svg tcpd theora threads tiff totem truetype udev udisks unicode upower usb v4l2 vaapi vdpau vim-syntax vorbis wav wavpack wmf wps wxwidgets x264 xcb xml xorg xulrunner xv xvid zemberek zeroconf zip 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 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="tr en en_GB en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I also fail to compile gnome-power-manager-3.4.0, also at econf/docbook2man. I edited out the &> /dev/null redirection, and this is my new build log: >>> Compiling source in /var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0 ... make -j6 make all-recursive make[1]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0' Making all in src make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/src' make all-am make[3]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/src' make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/src' Making all in po make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/po' Making all in man make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/man' cd .. && /bin/sh /var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/missing --run automake-1.11 --gnu man/Makefile configure.ac:5: version mismatch. This is Automake 1.11.5, configure.ac:5: but the definition used by this AM_INIT_AUTOMAKE configure.ac:5: comes from Automake 1.11.3. You should recreate configure.ac:5: aclocal.m4 with aclocal and run automake again. WARNING: `automake-1.11' is probably too old. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd .. && /bin/sh ./config.status man/Makefile config.status: creating man/Makefile make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/man' make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/man' docbook2man gnome-power-statistics.sgml &> /dev/null make[2]: *** [gnome-power-statistics.1] Error 8 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0/man' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0' make: *** [all] Error 2 [31;01m*[0m ERROR: gnome-extra/gnome-power-manager-3.4.0 failed (compile phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=gnome-extra/gnome-power-manager-3.4.0'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=gnome-extra/gnome-power-manager-3.4.0'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0' [31;01m*[0m S: '/var/tmp/portage/gnome-extra/gnome-power-manager-3.4.0/work/gnome-power-manager-3.4.0'
The g-p-m man/Makefile hides the docbook2man output by default so you can't see what's going on, but this is very likely due to a recent upgrade to perl-5.16. Try running "perl-cleaner --all" to rebuild the necessary perl packages and see if it fixes this g-p-m build error.
(In reply to comment #2) > The g-p-m man/Makefile hides the docbook2man output by default so you can't > see what's going on, but this is very likely due to a recent upgrade to > perl-5.16. Try running "perl-cleaner --all" to rebuild the necessary perl > packages and see if it fixes this g-p-m build error. This fixed it for me; g.p.m. installed cleanly after running perl-cleaner.
This is invalid then because you forgot to run perl-cleaner