Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286728 - gnome-extra/gnome-power-manager fails to build with USE=-doc
Summary: gnome-extra/gnome-power-manager fails to build with USE=-doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 06:50 UTC by Tim Harder
Modified: 2009-09-28 19:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
No man pages patch (gnome-power-manager-2.26.4-no-man.patch,452 bytes, patch)
2009-09-28 06:54 UTC, Tim Harder
Details | Diff
/var/tmp/portage/gnome-extra/gnome-power-manager-2.26.4/temp/build.log (build.log,213.02 KB, text/plain)
2009-09-28 17:03 UTC, Tim Harder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Harder gentoo-dev 2009-09-28 06:50:38 UTC
This specifically happens only for the ebuilds that call eautoreconf after using a sed line to remove the docbook2man rules from Makefile.in in the man subdirectory. Calling eautoreconf after called the sed line regenerates the Makefile.in file causing the build to fail.

Therefore, only gnome-power-manager-2.24.4-r2 and later are affected since they call eautoreconf while earlier versions don't.

In order to fix this, we can either patch Makefile.am in the man subdirectory with a patch similar to the one attached instead of running the sed line, or move the sed line after the eautoreconf call.
Comment 1 Tim Harder gentoo-dev 2009-09-28 06:54:14 UTC
Created attachment 205444 [details, diff]
No man pages patch

Patch to stop man page generation for >=gnome-power-manager-2.24.4-r2
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-28 15:50:49 UTC
build.log and emerge --info please.
Comment 3 Tim Harder gentoo-dev 2009-09-28 17:03:16 UTC
Created attachment 205496 [details]
/var/tmp/portage/gnome-extra/gnome-power-manager-2.26.4/temp/build.log
Comment 4 Tim Harder gentoo-dev 2009-09-28 17:05:09 UTC
Portage 2.2_rc40 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 14 Sep 2009 07:30:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/var/gentoo/distfiles"
FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="/usr/portage/distfiles http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/var/gentoo/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="/var/gentoo/repositories/gentoo"
PORTDIR_OVERLAY="/var/gentoo/repositories/radhermit /var/gentoo/repositories/java"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bluetooth bzip2 cairo caps cdr cli cracklib crypt cups curl dbus dri dts dvd dvdr encode exif expat fam ffmpeg flac fontconfig fortran gdbm gif gmp gnome gnome-keyring gnutls gphoto2 gstreamer gtk hal iconv ipv6 isdnlog java6 jpeg jpeg2k lcms ldap libnotify mad mmx mng mp3 mpeg mudflap musepack ncurses nls nptl nptlonly ogg openexr opengl openmp pam pch pcmcia pcre pdf perl png ppds pppd pulseaudio python readline reflection samba session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vim-syntax vorbis win32codecs wxwindows x264 x86 xattr xcb xinerama xml xorg xv xvid zlib zsh-completion" 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 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-28 19:38:58 UTC
+  28 Sep 2009; Gilles Dartiguelongue <eva@gentoo.org>
+  gnome-power-manager-2.24.4-r2.ebuild, gnome-power-manager-2.26.4.ebuild:
+  Fix build with USE=-doc, bug #286728.
+
nice catch, thanks for reporting. Went with the sed move.