cp ..//buildtools/config-script.refentry discover-config.refentry ../doctools/man-wrapper.sh discover-config.refentry > discover-config.man discover-config.man > discover-config.1 /bin/sh: line 1: discover-config.man: command not found make[1]: *** [discover-config.1] Error 127 rm discover-config.man make[1]: Leaving directory `/var/tmp/portage/discover-2.0.2/work/discover-2.0.2/doc' make: *** [__recur] Error 2 !!! ERROR: sys-apps/discover-2.0.2 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge discover 2. 3. ortage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-grsec) ================================================================= System uname: 2.4.23-grsec i686 Intel(R) Pentium(R) 4 CPU 1.70GHz Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ ftp://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 Xaw3d accounting afs amd apache2 apm arts artswrappersuid athena autofs avascript avi berkdb bonobo caps cdr chroot clamav crypt cups curl derectfb dvd emacs encode esd evo fax fftw foomaticdb footmaticdb foreign-package foreign-sysvinit gamma gatos gb gd gdbm gif gimpprint ginac gnome gpm gstreamer gtk gtk2 hdf hdf5 i8x0 imagemagick imap imlib ipalias jabber java jbig jikes jpeg kde leim libg++ libgda libwww lids lufsusermount mad maildir matroska mbox mcal md5sum memlimit mikmod milter mimod motif mozilla mpeg mpeg4 mpi msn multilib mupad-noscilab mysql ncurses netcdf nls oav oggvorbis opengl oscar oss pam passfile pcmcia pdflib perl plotutils png pnp ppds prelude python qhull qt quicktime radeon radius rage128 readline samba sasl scanner sdk sdl sis skey slang slp sox speex spell ssl svga tcltk tcpd tetex tiff transcode truetype unicode usb v4l video_cards_3dfx video_cards_gamma video_cards_i810 video_cards_i830 video_cards_matrox video_cards_radeon video_cards_rage128 video_cards_sis virus-scan wmf x86 xemacs xml xml2 xmms xv xvid yahoo zeo zlib"
ill get this
Hi, I've had a quick look - it appears to me that the original build is trying to regenerate a manpage using a command "docbook-to-man", which doesn't exist in Portage (at least, not that I can find!). A quick google search found me this page <http://www.flamingpenguin.co.uk/linux/gentoo.html>, which rips of the debian sources and installs into Gentoo - a bit of a hack, but discover did rebuild correctly afterwards.
we have docbook2man at any rate, i just had the logic screwed up for when to sed the makefile ... fixed in cvs