>>> emerge (1 of 1) app-admin/metalog-0.8_pre20031130 to / >>> md5 src_uri ;-) metalog-0.8_pre20031130.tar.gz >>> Unpacking source... >>> Unpacking metalog-0.8_pre20031130.tar.gz to /var/tmp/portage/metalog-0.8_pre20031130/work >>> Source unpacked. configure.ac:5: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst aclocal.m4:546: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:236: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:559: _AM_DIRNAME is expanded from... configure.ac:236: the top level Unknown option: g Unknown option: n Unknown option: u configure.ac:5: warning: do not use m4_patsubst: use patsubst or m4_bpatsubst aclocal.m4:546: AM_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:236: warning: do not use m4_regexp: use regexp or m4_bregexp aclocal.m4:559: _AM_DIRNAME is expanded from... configure.ac:236: the top level configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: error: cannot find install-sh or install.sh in . ./.. ./../.. !!! ERROR: app-admin/metalog-0.8_pre20031130 failed. !!! Function econf, Line 338, Exitcode 1 !!! econf failed Reproducible: Always Steps to Reproduce: 1. emerge metalog Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test9-mm5) ================================================================= System uname: 2.6.0-test9-mm5 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="no" CFLAGS="-march=athlon-tbird -mmmx -m3dnow -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -mmmx -m3dnow -O -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl ada alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb doc dvd encode esd evms evms2 f77 faad fbcon flash foomaticdb g++ gd gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib innodb java jpeg kde lcms libg++ libwww lvm mad mikmod mmx motif mozctl mozilla mpeg mysql nas ncurses nls objc odbc oggvorbis opengl oss pam pda pdflib perl pic plotutils png postgres python qt qtmt quicktime readline ruby ruby18 scanner sdl slang smooth spell ssl svga tcltk tcpd tetex threads tiff truetype x86 xface xml xml2 xmms xv zlib"
I can confirm this on my machine...
CVS snapshots are not the proper way to fix bugs. You should have extracted that patch (or used the one from bug 8607), and applied it during the unpack stage
Brian this has got nothing to do with bug 8607. it appears that metalog-0.8_pre20031130.tar.gz has some missing files, namely install-sh, and makefile.in, there may also be some other missing files. HTH
Imad That comment was to lanius, he's the one that added a cvs snapshot to fix a bug, which caused another one. It is (loose) Gentoo policy that cvs snapshots should stay in package.mask. There was no reason to commit a cvs snapshot to fix one minor bug.
Brian, I added ${S}/autogen.sh to the end of src_unpack(), it clean compiled. is that right?? TIA src_unpack() { unpack ${A} ; cd ${S} cd ${S}/src sed -i -e "s:/metalog.conf:/metalog/metalog.conf:g" \ metalog.h cd ${S}/man sed -i -e "s:/etc/metalog.conf:/etc/metalog/metalog.conf:g" \ metalog.8 ${S}/autogen.sh }
It looks like there's a wee typo in the ebuild: automake --add-missing -gnu should read: automake --add-missing --gnu
Works for me with the correction.
Brandy, your eyes are very sharp! automake --add-missing --gnu in src_compile() fixed it, many thanks
thx, fixed :)
*** Bug 34829 has been marked as a duplicate of this bug. ***
iggy: i made this cvs snapshot because metalog cvs hasn't been touched for about 6 month and the main dev said that this would be likely the 0.8 release.
iggy: this policy only applies to "live" cvs ebuilds