Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53911 - Emerging gCVS failes: "can only configure for one host and one target at a time"
Summary: Emerging gCVS failes: "can only configure for one host and one target at a time"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 12:14 UTC by Alexander M. Turek
Modified: 2004-10-17 13:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for this problem (gcvs-nx.patch,1.57 KB, patch)
2004-07-04 10:39 UTC, Martin Filip
Details | Diff
ebuild for gcvs-1.0 (gcvs-1.0.ebuild,1.50 KB, text/plain)
2004-07-28 07:59 UTC, Daren Hayward
Details
Patch to fix gcvs to allow installation (gcvs-fix-gentoo.patch,1.43 KB, patch)
2004-07-28 08:01 UTC, Daren Hayward
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander M. Turek 2004-06-14 12:14:08 UTC
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"
Comment 1 Martin Filip 2004-07-01 15:11:24 UTC
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"
Comment 2 Martin Filip 2004-07-04 10:39:18 UTC
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
Comment 3 Martin Filip 2004-07-04 10:42:21 UTC
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
Comment 4 Daren Hayward 2004-07-28 07:59:59 UTC
Created attachment 36329 [details]
ebuild for gcvs-1.0

Allow the install of gcvs 1.0
Comment 5 Daren Hayward 2004-07-28 08:01:18 UTC
Created attachment 36330 [details, diff]
Patch to fix gcvs to allow installation

patches cvsunix/configure, common/UCvsFolders.cpp & common/UCvsFiles.cpp
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 13:24:13 UTC
added gcvs-1.0 that should work. please test.