dgs needs mawk to build. mawk is not in DEPEND; it should be added. Reproducible: Always Steps to Reproduce: 1. emerge dgs Actual Results: # emerge dgs Calculating dependencies ...done! >>> emerge (1 of 1) app-text/dgs-0.5.10-r1 to / >>> md5 src_uri ;-) dgs-0.5.10.tar.gz >>> Unpacking source... >>> Unpacking dgs-0.5.10.tar.gz to /var/tmp/portage/dgs-0.5.10-r1/work * Applying dgs-0.5.10-gs-time_.h-gentoo.diff... [ ok ] * Applying dgs-0.5.10-tcpd-gentoo.diff... [ ok ] * Applying dgs-0.5.10-gcc-3.4.diff... [ ok ] >>> Source unpacked. /usr/bin/autoconf-2.13: line 153: mawk: command not found make: *** No targets specified and no makefile found. Stop. !!! ERROR: app-text/dgs-0.5.10-r1 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) Expected Results: It should compile, as it does if you manually emerge mawk first. Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gaming-r3) ================================================================= System uname: 2.4.20-gaming-r3 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.4.9 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acl alsa apm arts avi berkdb canna cdr cjk composite crypt cscope cups directfb dvd dvdr encode foomaticdb freewnn gatos gdbm gphoto2 gpm gtk gtk2 guile imlib ipv6 java javascript jikes jpeg junit libg++ libwww mad mikmod mmx mpeg ncurses nls oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline ruby scanner sdl slang socks5 spell sse ssl tcltk tcpd tetex theora tiff truetype usb video_cards_radeon x86 xinerama xml2 xmms xv zlib"
Created attachment 30462 [details] dgs modified ebuild to include mawk
toss this in /usr/portage/app-text/dgs/ to replace your old one and you should be ok.
Acutally wait, emerge sync first. Something's weird about your package, I can't reproduce it and grep shows nothing about needing mawk in any files.
It's true; grep doesn't show mawk. The actual error involves autoconf dying; it was: >>> Source unpacked. /usr/bin/autoconf-2.13: line 153: mawk: command not found make: *** No targets specified and no makefile found. Stop. That part of autoconf says: $ENV{WANT_ACWRAPPER_DEBUG} and print STDERR "ac-wrapper: will execute <$binary>\n"; exec $binary, @ARGV; die "ac-wrapper: ouch, couldn't call binary ($binary).\n"; The die line is line 153. Other packages which use autoconf build without the presence of mawk, such as kdebase. Nothing seems particularily weird about my package; I've sync'd, with no change. mawk isn't a dependancy of anything on my system according to emerge -pe world, and dgs is the only package I've seen which has a problem with it being missing, despite the dgs sources not containing the string mawk anywhere. dgs uses awk in its makefiles; I'm at a loss why gawk, which is installed, isn't invoked rather than mawk, which wasn't when I first tried to build it. To reproduce any of this, just unmerge mawk. With mawk installed, it works perfectly.
Well, I was able to emerge it and I don't have mawk on my system. Hence my confusion. I also talked with one of the devs and he says the same thing.
Try tossing out the tgz out of /usr/portage/distfiles and see if re-downloading the sources helps. This seems to be more of a sourcefile issue as I can't find a mawk I've investigated this matter further and am unable to find anything in the docs about mawk.
The tgz matches the md5sum, so that shouldn't help. If it isn't reproducable on either of your systems, maybe it is an oddity of mine; I did do a rather unconventional install. If so, sorry.
This is a local problem. Works fine for me and doesn't have anything to do with mawk. I'm closing as WORKSFORME. Open a new bug if you continue to have issues.