when trying to build lighttpd-1.4.22-r1 with the doc USE flag, I have : * Building HTML documentation make html rst2html accesslog.txt > accesslog.html /bin/sh: rst2html : commande introuvable make: *** [accesslog.html] Erreur 127 The only one rst2html i have is : enea ~ # updatedb enea ~ # locate rst2html /usr/bin/rst2html.py from the package enea ~ # equery b /usr/bin/rst2html.py * Searching for /usr/bin/rst2html.py ... dev-python/docutils-0.5 (/usr/bin/rst2html.py) that i've just rebuilt (in case of missing symlink). But the problem persists. Without USE=doc, all is fine Reproducible: Always Steps to Reproduce: 1. USE=doc emerge =www-servers/lighttpd-1.4.22-r1
emerge --info please.
(In reply to comment #1) > emerge --info please. > oops sorry, here it is: Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.30-rc6-00000-rc6-dirty i686) ================================================================= System uname: Linux-2.6.30-rc6-00000-rc6-dirty-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-gentoo-2.0.0 Timestamp of tree: Mon, 18 May 2009 06:45:01 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 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.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" 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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="fr_BE.UTF-8" LC_ALL="fr_BE.UTF-8" LDFLAGS="-Wl,-z,now" LINGUAS="en en_GB en_US fr fr_BE" 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/layman/enlightenment /usr/local/portage/layman/gnustep /usr/local/portage/layman/sunrise /home/cedric/devel/overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi akonadi alsa amazon asm audiofile autoipd avahi avi bash-completion battery berkdb bitmap-fonts bluetooth branding bzip2 cairo calendar cardbus cdinstall cdparanoia cdr cgi chm chroot cis cle266 clucene consolekit cpufreq crypt css cups curl dbus dedicated dga dhclient disk-partition diskio divx dlloader dri dts dv dvb dvd dvdread eds encode enscript erandom expat extensions faad fame fbcon fbcondecor fbsplash ffmpeg file-icons firefox flac font-server gcj gd gif glibc-omitfp glitz gmedia gnome gnustep gphoto2 gpm graphviz grub gstreamer gtk hal hddtemp hibernate-script htmlhandbook icons iconv icq imap imlib innodb ipv6 irc irmc ithreads jabber java java5 java6 joystick jpeg jpeg2k kcal kde kdepim kdeprefix konqueror kontact kqemu laptop lcms ldap libffi libnotify libwww live lm_sensors lzo mad madwifi maildir mdnsresponder-compat memlimit menu-plugin messenger midi mikmod mjpeg mmx mmxext mng modperl mozilla moznocompose moznoirc moznomail moznopango mozsvg mp3 mp4 mpeg mplayer mpm-worker msn musepack musicbrainz mysql mysqli ncurses net network networkmanager nls no_wxgtk1 noamazon npp nptl nptlonly nsplugin obex objc ocamlopt offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcf pcmcia pcre pdf pdfkit pdflib pdo perl pg-intdatetime php pixmaps plasma png policykit postgres psf python qt qt3support qt4 quicktime rdc rdesktop readline redland restrict-javascript rtc sdl semantic-desktop session simplexml slp sndfile snmp soap speex spell sql sqlite sqlite3 srt sse sse2 ssl startup-notification subversion svg sysvipc texteffect theora threads tidy tiff trash-plugin truetype truetype-fonts type1-fonts unicode usb userlocales utempter v4l v4l2 vcd vdesktop vim-syntax visualization vorbis wddx webdav-neon webkit widescreen wifi wmf wmp x86 xanim xcb xcomposite xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xrandr xsl xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US fr fr_BE" USERLAND="GNU" VIDEO_CARDS="radeon vesa " Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same problem here. In English the error is /bin/sh: rst2html: command not found
I guess the 'sed' on doc/Makefile.in in the ebuild's src_prepare() is getting clobbered by the following eautoreconf.
Created attachment 191696 [details, diff] Run sed on doc/Makefile.am instead of doc/Makefile.in I've confirmed that running the sed on doc/Makefile.am instead of doc/Makefile.in fixes the problem.
(In reply to comment #5) > I've confirmed that running the sed on doc/Makefile.am instead of > doc/Makefile.in fixes the problem. > me too ;-) thanks !
fixed in cvs. thanks for the report, sorry for the delay.