I cannot emerge gCVS because everytime I try to, the compilation fails. Reproducible: Always Steps to Reproduce: emerge gcvs Actual Results: configure: configuring in cvsunix configure: running /bin/sh './configure' --prefix=/usr/local/gcvs 'CC=gcc' 'CFLAGS=-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer' 'CXXFLAGS=-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer' 'CXX=g++' --cache-file=/dev/null --srcdir=. configure: warning: CC=gcc: invalid host type configure: warning: CFLAGS=-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer: invalid host type configure: error: can only configure for one host and one target at a time configure: error: /bin/sh './configure' failed for cvsunix !!! ERROR: dev-util/gcvs-1.0_beta3-r1 failed. !!! Function src_compile, Line 33, Exitcode 1 !!! (no error message) Expected Results: I expected emerge to install gCVS... :o) # emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6) ================================================================= System uname: 2.6.6 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer" 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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Hi, I have the same problem emerge gcvs dies with: configure: configuring in cvsunix configure: running /bin/sh './configure' --prefix=/usr/local/gcvs 'CC=gcc' 'CFLAGS=-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe' 'CXXFLAGS=-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe' 'CXX=g++' --cache-file=/dev/null --srcdir=. configure: warning: CC=gcc: invalid host type configure: warning: CFLAGS=-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe: invalid host type configure: error: can only configure for one host and one target at a time configure: error: /bin/sh './configure' failed for cvsunix ============= emerge info: Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7 ) ================================================================= System uname: 2.6.7 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -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/lib/mozilla/defaults/pref /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http:// www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gd bm gif gimpprint gnome gpm gtk gtk2 icq imlib ipv6 java jpeg kde libg++ libwww m ad mikmod motif mozctl mozilla moznocompose mpeg ncurses nls oggvorbis openal op engl oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl sla ng spell ssl svga tcpd tiff transcode truetype vanilla x86 xine xml xml2 xmms xv zlib"
Created attachment 34788 [details, diff] Patch for this problem I've created this patch, which solved this problem for me (and some other compile problems) - I hope it will help you so
hi, I hope, that patch I've send here will help you. If you want to modify your ebuild to make everything automaticaly, insert in the /usr/portage/dev-util/gcvs/gcvs-1.0_beta3-r1.ebuild file on line 29 (after patch -p1 <${FILESDIR}/gcvs-1.0b3-gcc3-gentoo.patch || die): patch -p1 <${FILESDIR}/gcvs-nx.patch || die
Created attachment 36329 [details] ebuild for gcvs-1.0 Allow the install of gcvs 1.0
Created attachment 36330 [details, diff] Patch to fix gcvs to allow installation patches cvsunix/configure, common/UCvsFolders.cpp & common/UCvsFiles.cpp
added gcvs-1.0 that should work. please test.