Compilation of cvs-1.11.5-r1 fails for me Last few lines of output are: =============================================== gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../diff -I../zlib -O3 -march=pentium3 -mcpu=pentium3 -pipe -c `test -f 'main.c' || echo './'`main.c main.c:59: `EDITOR_DFLT' undeclared here (not in a function) make[2]: *** [main.o] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/cvs-1.11.5-r1/work/cvs-1.11.5/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/cvs-1.11.5-r1/work/cvs-1.11.5' make: *** [all] Fehler 2 !!! ERROR: dev-util/cvs-1.11.5-r1 failed. !!! Function src_compile, Line 19, Exitcode 2 !!! (no error message) =============================================== Output of emerge info is: =============================================== Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21-rc2-tm800 i686 Intel(R) Pentium(R) M processor 1300MHz GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/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 3dnow apm libg++ mikmod xml2 xv zlib gtkhtml gdbm berkdb slang readline arts svga guile sdl gpm tcpd pam libwww ssl esd imlib motif opengl hbci X ipv6 gtk gnome alsa -oss tcltk gtk2 kde aalib acpi apache2 avi bonobo cdr crypt cups dvd encode fbcon gif jpeg tiff png -java mozilla mmx maildir mbox ncurses nls cardbus oggvorbis mpeg pdflib perl python qt quicktime samba scanner spell sse tetex truetype usb xface xmms mysql" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -pipe" CXXFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" ===============================================
Created attachment 12465 [details] complete output of emerge cvs Attached the output of emerge cvs to make configure output available
okay, fixed it by myself! :-) It failed because the environment-variable EDITOR was accidently not set on my machine. I think it would be nice if the ebuild would set this variable if it does not exist. It's the only reason why cvs did not compile, I changed nothing else and the given sourcecode says that it reads the environment-variable of EDITOR.
should we fix this in ebuild or portage ? or simply closing as WONTFIX
newer version fixes