Emerging dmake produces the following (excerpted): >>> Source unpacked. dmake.c: In function `main': dmake.c:123: warning: return type of `main' is not `int' objects/sysintf.o(.text+0x697): In function `Get_temp': : the use of `tempnam' is dangerous, better use `mkstemp' objects/runargv.o(.text+0xc2): In function `runargv': : `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead objects/runargv.o(.text+0x6f): In function `runargv': : undefined reference to `errno' objects/runargv.o(.text+0xbb): In function `runargv': : undefined reference to `errno' objects/runargv.o(.text+0x11c): In function `runargv': : undefined reference to `errno' collect2: ld returned 1 exit status Reproducible: Always Steps to Reproduce: 1. emerge dmake 2. 3. Actual Results: the ebuild succeeded although dmake failed to build Expected Results: at the least the ebuild should have failed. Preferably dmake would have compiled. Fresh rsync Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0,2.2.5-r4) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Duron(tm) processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib bonobo svga tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk motif opengl gphoto2 cdr pda mozilla gpg gpgme 3dnow sse jpilot -qt truetype ogg dvd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe" CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Note that the ebuild succeeds despite the error.
Fixed, emerge rsync && emerge dmake will work on Mon Mar 10 15:35:00 GMT 2003 Closing