make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/work/gnome-power-manager-2.32.0/po' Making all in docs make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/work/gnome-power-manager-2.32.0/docs' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/work/gnome-power-manager-2.32.0/docs' Making all in man make[2]: Entering directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/work/gnome-power-manager-2.32.0/man' docbook2man gnome-power-manager.sgml &> /dev/null docbook2man gnome-power-statistics.sgml &> /dev/null docbook2man gnome-power-preferences.sgml &> /dev/null make[2]: *** [gnome-power-statistics.1] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [gnome-power-manager.1] Error 2 make[2]: *** [gnome-power-preferences.1] Error 2 make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/work/gnome-power-manager-2.32.0/man' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/work/gnome-power-manager-2.32.0' make: *** [all] Error 2 emake failed * ERROR: gnome-extra/gnome-power-manager-2.32.0 failed (compile phase): * compile failure * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3259: Called gnome2_src_compile * environment, line 2559: 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.32.0', * the complete build log and the output of 'emerge -pqv =gnome-extra/gnome-power-manager-2.32.0'. * The complete build log is located at '/var/log/portage/gnome-extra:gnome-power-manager-2.32.0:20110224-024519.log'. * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/temp/environment'. * S: '/var/tmp/portage/gnome-extra/gnome-power-manager-2.32.0/work/gnome-power-manager-2.32.0' Portage 2.2.0_alpha24 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.38-rc5-00115-g6f576d5 i686) ================================================================= System uname: Linux-2.6.38-rc5-00115-g6f576d5-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.0.1 Timestamp of tree: Unknown ccache version 3.1.4 [disabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.5.4-r4, 2.6.5-r2, 2.7.1, 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13::<unknown repository>, 2.68 sys-devel/automake: 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.1.2, 4.2.4-r1, 4.3.5, 4.4.4-r1, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo local Installed sets: @system ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=prescott -mtune=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5/ext-active/ /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="-Os -march=prescott -mtune=prescott -pipe" DISTDIR="/home/gentoo/distfiles" FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_CA en_US en_GB en_ZA" MAKEOPTS="-j3" PKGDIR="/home/gentoo/packages/ebadi-int" 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="/code/gentoo/gentoo-cvs/gentoo-x86" PORTDIR_OVERLAY="/usr/local/portage" SYNC="" USE="X a52 aac aalib acl acpi aio alsa amd ao apache2 ares async automount avahi avi bash-completion berkdb bluetooth bookmarks branding browserplugin bzip2 cairo calendar caps cdb cdda cdr cgi clamav clearpasswd cli consolekit cpdflib cracklib crypt cscope ctype cups curl curlwrappers cxx daap dbus divx4linux dri dts dv dvd dvdr dvdread dynagraph emboss encode ethereal examples exif expat f77 fam fame fastcgi ffmpeg fftw firefox flac flash fltk fontconfig foomaticdb fortran fpx frxp gcj gd gdbm gdu geoip gif glitz glx gmp gnokii gnults gnuplot gnutls gpm graphviz gs gtk gtk2 gzip hal howl-compat hpn html i810 ical iconv imap imlib innodb insecure-savers ipalias ipod ipv6 irda jack-tmpfs jbig john joystick jpeg jpeg2k kpathsea lcms ldap libnotify libsamplerate libwww linuxthreads-tls live logitech-mouse lzo mad maildir mbox mcal md5sum mdnsresponder-compat mikmod mjpeg mmx mmxext mng mod modules motif mozilla mozplugin mp3 mp4 mpeg mpm-prefork mudflap multicall musicbrainz ncurses netjack network nptl nptlonly nsplugin numeric objc offensive ogg oggvorbis openexr opengl openmp osd pam pango pcap pcre pda pdf pdflib perl php pic plotutils png pnp policykit portaudio ppds pppd pulseaudio python qmail qt3support quicktime quotas rdesktop readline rtc ruby scanner screen scrobbler sdl session shout skins slang slp sms sndfile snmp socks5 speex spell sqlite sqlite3 sse sse2 ssl startup-notification stream svg swat sysfs syslog t1lib tcl tcltk tetex theora tiff truetype truetype-fonts type1 type1-fonts udev ungif unicode urandom usb userlocales utf8 v4l v4l2 vcd vidix vim-syntax vlm vorbis win32codecs winbind wireshark wmf wxwindows x264 x86 xanim xcb xcomposite xinerama xml xml2 xmms xorg xosd xrandr xscreensaver xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="dummy hda-intel intel8x0 intel8x0m loopback seq-dummy usb-audio virmidi" 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 asis auth_digest imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http" CAMERAS="adc65 agfa-cl20 agfa_cl20 aox barbie canon casio casio_qv clicksmart310 digigr8 digita dimagev dimera dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars minolta mustek panasonic panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 sonydscf1 sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" 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 joystick keyboard mouse synaptics void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_CA en_US en_GB en_ZA" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This not a dupe of 349731. # perl-cleaner --all * Beginning a clean up of .ph files * Excluding files for 5.12.3 and 5.12.3/i686-linux from cleaning * Locating ph files for removal * Updating ph files. * Ignore all "No such file..." messages! Can't open machine/ansi.h: No such file or directory Can't open sys/_types.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory * Locating packages for an update * Locating ebuilds linked against libperl * No package needs to be reinstalled. * Finding left over modules and header * The following files remain. These were either installed by hand * or edited. This script cannot deal with them.
Can you attach full build.log please?
gnome-extra/gnome-power-manager-2.32.0 USE="doc policykit test" compiles ok for me :-/ I have app-text/docbook-sgml-utils-0.6.14 with perl-5.12.2-r6
(In reply to comment #3) > gnome-extra/gnome-power-manager-2.32.0 USE="doc policykit test" compiles ok > for me :-/ > > I have app-text/docbook-sgml-utils-0.6.14 with perl-5.12.2-r6 > this bug just hit me too - but this may be the explanation: I also have USE="-doc" (as Robin), so app-text/docbook-sgml-dtd:4.1.2 is not pulled in by the ebuild and yet has not been installed with any other packages by dependency either. Further, I *did* have: * app-text/docbook-sgml-dtd-{4.4,3.1-r3} and * app-text/docbook-sgml-utils-0.6.14 installed from an un-depcleaned @world set, maybe.. Alas, the make process calls "docbook2man" even with USE="-doc" - and fails on missing sgml entities which are only in app-text/docbook-sgml-dtd:4.1.2 - but neither in 3.1 nor in 4.4.. A clean build of =gnome-extra/gnome-power-manager-2.32.0 (USE="-doc"has been possible both after: * emerge -v1 app-text/docbook-sgml-dtd:4.1.2 and also * unmerging all slots of app-text/docbook-sgml-dtd AND app-text/docbook-sgml-utils
In summary, DEPEND on app-text/docbook-sgml-dtd:4.1.2 is needed, or not?
for building with USE="doc", yes for USE="-doc", no DEPEND so the ebuild is correct in this case - but there seems to be some "magic" in the configure phase that overrides "$(use_enable doc docbook-docs)" when it finds an installed docbook2man (from app-text/docbook-sgml-utils - even without having app-text/docbook-sgml-dtd:4.1) and tries to produce man-pages anyway Alas I'm not able to reproduce it anymore...
I was neither able to reproduce with USE -doc (I tried rebuilding with USE="doc" to test)
The ebuild tries to remove the @HAVE_DOCBOOK2MAN_TRUE@ lines from man/Makefile.in, but then Makefile.in is overwritten when eautoreconf runs. It also tries to delete the @HAVE_DOCBOOK2MAN_TRUE@ lines from Makefile.am when there are no such lines. The upstream build setup tries to build based on the existence of docbook2man, completely ignoring the state of the DOCBOOK_DOCS_ENABLED definition.
+ 25 Feb 2011; Pacho Ramos <pacho@gentoo.org> + gnome-power-manager-2.32.0.ebuild: + Run docbook2man sed in proper place (like in 2.30) to prevent + HAVE_DOCBOOK2MAN_TRUE to be regenerated (bug #356277 by Robin Johnson). +