Trying to emerge expect-5.43 (and previous versions) and it fails in configure with the following message: configure: warning: CFLAGS=-march=athlon-xp -O3 -pipe: invalid host type configure: warning: build_alias=i686-pc-linux-gnu: invalid host type configure: error: can only configure for one host and one target at a time configure: error: /bin/sh './configure' failed for testsuite Reproducible: Always Steps to Reproduce: 1. emerge -vu expect Actual Results: config.status: executing default commands configure: configuring in testsuite configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-tcl=/usr/lib' '--with-tclinclude=/usr/lib/tcl8.4/include/generic' '--with-tk=/usr/lib' '--enable-shared' '--build=i686-pc-linux-gnu' 'CFLAGS=-march=athlon-xp -O3 -pipe' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' --cache-file=/dev/null --srcdir=. configure: warning: CFLAGS=-march=athlon-xp -O3 -pipe: invalid host type configure: warning: build_alias=i686-pc-linux-gnu: invalid host type configure: error: can only configure for one host and one target at a time configure: error: /bin/sh './configure' failed for testsuite !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/expect-5.43.0/work/expect-5.43/config.log Expected Results: Emerged expect Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r4-evil i686) ================================================================= System uname: 2.6.14-gentoo-r4-evil i686 AMD Athlon(TM) XP 2100+ Gentoo Base System version 1.12.0_pre11 ccache version 2.3 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.15 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 16bit 3dnow 3dnowex 3dnowext 3ds 7zip X a52 aac aalib acl alsa amd apache2 apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib c++ ccache cddb cdparanoia cdr cdrom cgi chroot codecs crypt css cups curl curlwrappers dba dga directfb divx4linux dv dvd dvdr eds emboss encode escreen esd ethereal exif expat fam fbcon ffmpeg flac foomaticdb fortran freetype ftp gd gdbm gif gimp glade glut gmp gpm gs gstreamer gtk gtk2 gtkhtml icq idn imagemagick imap imlib imlib2 ipv6 ithreads jabber java javascript jp2 jpeg jpeg2k kde koffice-plugin lcms libcaca libedit libg++ libwww live mad mbox md5sum mhash mikmod mime mimencode mjpeg mmx mmx2 mmxext mng motif mozaccess mozcalendar mozctl mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mplayer mppe-mppc msn mysql ncurses nls nvidia nviz offensive ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php png posix pthreads python qt quicktime readline real recode samba sdl session sockets spell sqlite sse sse2 ssl stream svga tcltk tcpd threads tiff truetype truetype-fonts type1 type1-fonts udev usb v4l v4l2 visualization vnc vorbis win32codecs wxwindows xchatdccserver xchattext xine xinerama xml xml2 xmms xosd xscreensaver xsl xslt xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 74817 [details] Configure log, requested This is de configure log emerge requested me to attach...
Looking at the output, the problem is that the the build process passes a spurious argument to the configure command. By adding in 'CHOST=...' in at the wrong place, configure belives this to be a the rest of the '--build' declaration. Nulling CHOST has no effect, as the build process still passes a spurious CHOST argument. Nothing in the ebuild for expect seems to indicate that the ebuild is doing this. Is there a bug in econf?
Bumping this. Since I have the same problem, and no one appears to be looking at this.
*** Bug 191187 has been marked as a duplicate of this bug. ***
Is this bug valid anymore or the problem was resolved? if yes please close this bug, if not please leave additional info
expect-5.43.0 had its configure script built with autoconf-2.13 which has many known bugs. i wouldnt be surprised if this was one such bug. current stable (expect-5.44.1.15) uses autoconf-2.59, so unless you can reproduce with that (or a newer version), assuming fixed.