Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34787 - emerging metalog 0.8pre20031130 fails while running configure*
Summary: emerging metalog 0.8pre20031130 fails while running configure*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
: 34829 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-30 17:45 UTC by Joerg Plate
Modified: 2003-12-01 12:34 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Plate 2003-11-30 17:45:23 UTC
>>> 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"
Comment 1 ferret 2003-11-30 19:47:42 UTC
I can confirm this on my machine...
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2003-11-30 20:07:30 UTC
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
Comment 3 Imad R. Faiad 2003-11-30 21:18:38 UTC
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
Comment 4 Brian Jackson (RETIRED) gentoo-dev 2003-11-30 22:39:33 UTC
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.
Comment 5 Imad R. Faiad 2003-11-30 22:44:56 UTC
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
}
Comment 6 Brandy Westcott (RETIRED) gentoo-dev 2003-11-30 22:51:52 UTC
It looks like there's a wee typo in the ebuild:

	automake --add-missing -gnu

should read:

	automake --add-missing --gnu
Comment 7 Stephen Boulet 2003-11-30 22:58:44 UTC
Works for me with the correction.
Comment 8 Imad R. Faiad 2003-11-30 23:04:29 UTC
Brandy, your eyes are very sharp!
automake --add-missing --gnu in src_compile() fixed it, many thanks
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-01 05:18:20 UTC
thx, fixed :)
Comment 10 SpanKY gentoo-dev 2003-12-01 10:46:47 UTC
*** Bug 34829 has been marked as a duplicate of this bug. ***
Comment 11 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-01 12:25:15 UTC
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.
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-01 12:34:15 UTC
iggy: this policy only applies to "live" cvs ebuilds