In the ebuild are these lines -----------8<------------ sed -i -e 's/rcdir =/#rcdir =/' krusader/Makefile.in krusader/Makefile.am sed -i -e 's/rc_DATA =/#rc_DATA =/' krusader/Makefile.in krusader/Makefile.am -----------8<------------ as result the makefile looks like this ------------8<----------- SOURCES = $(krusader_SOURCES) s#rcdir = . top_s#rcdir = .. VPATH = . pkgdatadir = $(datadir)/krusader pkglibdir = $(libdir)/krusader ----------8<---------------- Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge krusader Actual Results: Makefile:918: warning: overriding commands for target `bcheck-am' Makefile:881: warning: ignoring old commands for target `bcheck-am' Making all in krusader make[2]: Entering directory `/var/tmp/portage/krusader-1.60.0/work/krusader-1.60.0/krusader' Makefile:22: *** missing separator. Stop. make[2]: Leaving directory `/var/tmp/portage/krusader-1.60.0/work/krusader-1.60.0/krusader' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/krusader-1.60.0/work/krusader-1.60.0' Expected Results: installation Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20040808-r1, 2.6.9dc i686) ================================================================= System uname: 2.6.9dc i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 13 2004, 02:59:47)] dev-lang/python: 2.3.4 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoohttp://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt curl dvd dvdr eds emboss encode esd ethereal fam flac foomaticdb fortran gdbm gif gstreamer gtk gtk2 imagemagick imlib jpeg kde libg++ libwww mad mikmod mmx motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam pda pdflib perl png python qt quicktime readline samba sdl spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis x86 xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
This does not happen here, probably because the Makefile.ins are regenerated by an automatic running of automake. Does it help if you apply the sed only to Makefile.am?
The Problem is that the eBuildfunktion src_compile manipulate the makefile.in and the makefile.am. And the makefile.in damages after this. So the make failes. See Attachment for the wrong makefile.in.
Created attachment 69268 [details] the wrong Makefile.in
The intention of the sed command was to probably to comment out lines 22 and 23. This fails because the regular expression finds 'srcdir' in the middle of the line. The Regexp should probably look like this: sed -i -e 's/^rcdir =/#rcdir =/' krusader/Makefile.in krusader/Makefile.am sed -i -e 's/^rc_DATA =/#rc_DATA =/' krusader/Makefile.in krusader/Makefile.am
This should be fixed in krusader 1.60.1