Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191187 - dev-tcltk/expect-5.42.1-r1 failed - invalid host type
Summary: dev-tcltk/expect-5.42.1-r1 failed - invalid host type
Status: RESOLVED DUPLICATE of bug 115688
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 21:53 UTC by Allar Õunapuu
Modified: 2007-09-03 22:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allar Õunapuu 2007-09-03 21:53:11 UTC
$emerge expect
...
configure: running /bin/sh ./configure '--prefix=/usr'  '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-tcl=/usr/lib64' '--with-tclinclude=/usr/lib64/tcl8.4/include/generic' '--with-tk=/usr/lib64' '--enable-shared' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-mtune=k8 -O2 -pipe' --cache-file=/dev/null --srcdir=.
configure: warning: build_alias=x86_64-pc-linux-gnu: invalid host type
configure: warning: host_alias=x86_64-pc-linux-gnu: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: ./configure failed for testsuite

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /home/allar/portage/PORTAGE_TMPDIR/portage/dev-tcltk/expect-5.42.1-r1/work/expect-5.42/config.log

!!! ERROR: dev-tcltk/expect-5.42.1-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  expect-5.42.1-r1.ebuild, line 68:   Called econf '--with-tcl=/usr/lib64' '--with-tclinclude=/usr/lib64/tcl8.4/include/generic' '--with-tk=/usr/lib64' '--enable-shared'
  ebuild.sh, line 586:   Called die
.....

Reproducible: Always

Steps to Reproduce:
1.emerge expect
2.
3.

Actual Results:  
configuration error


buid.log:

>>> Unpacking source...
>>> Unpacking expect-5.42.1.tar.gz to /home/allar/portage/PORTAGE_TMPDIR/portage/dev-tcltk/expect-5.42.1-r1/work
 [32;01m*[0m Applying expect-5.42.1-multilib.patch ...
[A[103C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying expect-5.39.0-libdir.patch ...
[A[103C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Running autoconf ...
[A[103C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /home/allar/portage/PORTAGE_TMPDIR/portage/dev-tcltk/expect-5.42.1-r1/work/expect-5.42 ...
 * econf: updating expect-5.42/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating expect-5.42/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-tcl=/usr/lib64 --with-tclinclude=/usr/lib64/tcl8.4/include/generic --with-tk=/usr/lib64 --enable-shared --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
configuring Expect 5.42.1
checking for autoconf... yes
checking configure up to date... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking shell to use within Make... 
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for building with threads... no (default)
checking for Tcl configuration... found /usr/lib64/tclConfig.sh
checking Tcl build library... -L$/usr/lib64 -ltcl8.4 -ldl  -lieee -lm
checking for Tcl_CreateCommand... yes
checking if Tcl library build specification is valid... yes
checking for Tk configuration... found /usr/lib64/tkConfig.sh
checking for Tk_Init... yes
checking if Tk library build specification is valid... yes
checking whether the compiler (x86_64-pc-linux-gnu-gcc) actually works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking if running LynxOS... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if running Mach... no
checking if running MachTen... no
checking if on Pyramid... no
checking if on Apollo... no
checking if on Interactive... no
checking stty to use... /bin/stty
checking if stty reads stdout... yes
checking if running Solaris... no
checking for sin... no
checking for Tcl private headers... found in /usr/lib64/tcl8.4/include/generic
checking type of library to build... both shared and unshared
loading cache /dev/null
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for Tcl configuration... found /usr/lib64/tclConfig.sh
checking Tcl build library... -L$/usr/lib64 -ltcl8.4 -ldl  -lieee -lm
checking for Tcl_CreateCommand... yes
checking if Tcl library build specification is valid... yes
checking whether the compiler (x86_64-pc-linux-gnu-gcc) actually works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking if running LynxOS... no
checking for Tcl private headers... found in /usr/lib64/tcl8.4/include/generic
checking if we are running Linux... yes
checking for strchr... yes
checking for stdlib.h... yes
checking type of library to build... both shared and unshared
updating cache /dev/null
creating ./config.status
creating Makefile
creating pkgIndex
creating tcldbgcf.h
Begin tests for function/library dependencies.  Tests may be repeated
up to three times.  First test is for building Expect's shared library.
Second set is for building with Tcl.  Third is for building with Tk.
checking for gethostname... yes
checking for gethostname... yes
checking for gethostname... yes
checking for socket... yes
checking for socket... yes
checking for socket... yes
checking for select... yes
checking for select... yes
checking for select... yes
checking for getpseudotty... no
checking for getpseudotty in -lseq... no
checking for getpseudotty... no
checking for getpseudotty in -lseq... no
checking for getpseudotty... no
checking for getpseudotty in -lseq... no
checking for openpty... no
checking for openpty in -lutil... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking if running Sequent running SVR4... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for stdlib.h... (cached) yes
checking for inttypes.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for unistd.h... (cached) yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/sysconfig.h usability... no
checking sys/sysconfig.h presence... no
checking for sys/sysconfig.h... no
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ptem.h usability... no
checking sys/ptem.h presence... no
checking for sys/ptem.h... no
checking sys/strredir.h usability... no
checking sys/strredir.h presence... no
checking for sys/strredir.h... no
checking sys/strpty.h usability... no
checking sys/strpty.h presence... no
checking for sys/strpty.h... no
checking for sys/bsdtypes.h... no
checking for memmove... yes
checking for sysconf... yes
checking for strftime... yes
checking for strchr... yes
checking for timezone... yes
checking for siglongjmp... yes
checking for memcpy... yes
checking if WNOHANG requires _POSIX_SOURCE... no
checking if any value exists for WNOHANG... yes
checking union wait... yes
checking mask type of select... none
checking if signals need to be re-armed... no
checking if on Convex... no
checking if on NeXT... no
checking if on HP... no
checking sane default stty arguments... 
checking for HP style pty allocation... no
checking for HP style pty trapping... no
checking for AIX new-style pty allocation... no
checking for SGI old-style pty allocation... no
checking for SCO style pty allocation... no
checking for SVR4 style pty allocation... yes
checking for libpts="-lpt" in -lpt... no
checking for ptsname... yes
checking for ptsname... (cached) yes
checking for ptsname... (cached) yes
checking for OSF/1 style pty allocation... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for struct sgttyb... no
checking for struct termio... yes
checking for struct termios... yes
checking if TCGETS or TCGETA in termios.h... no
checking if TIOCGWINSZ in termios.h... no
checking for Cray-style ptys... no
checking for select... yes
checking for poll... yes
checking event handling... via select
checking for _getpty... no
checking for getpty... no
checking whether setpgrp takes no argument... yes
checking for SV-style timezone... yes
checking for Tk private headers... checking tk.h usability... yes
checking tk.h presence... yes
checking for tk.h... yes
is installed
checking for long file names... yes
checking for type of library to build... both shared and unshared
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
config.status: creating pkgIndex
config.status: creating expect_cf.h
config.status: executing default commands
=== configuring in testsuite (/home/allar/portage/PORTAGE_TMPDIR/portage/dev-tcltk/expect-5.42.1-r1/work/expect-5.42/testsuite)
configure: running /bin/sh ./configure '--prefix=/usr'  '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-tcl=/usr/lib64' '--with-tclinclude=/usr/lib64/tcl8.4/include/generic' '--with-tk=/usr/lib64' '--enable-shared' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-mtune=k8 -O2 -pipe' --cache-file=/dev/null --srcdir=.
configure: warning: build_alias=x86_64-pc-linux-gnu: invalid host type
configure: warning: host_alias=x86_64-pc-linux-gnu: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: ./configure failed for testsuite

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /home/allar/portage/PORTAGE_TMPDIR/portage/dev-tcltk/expect-5.42.1-r1/work/expect-5.42/config.log

!!! ERROR: dev-tcltk/expect-5.42.1-r1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  expect-5.42.1-r1.ebuild, line 68:   Called econf '--with-tcl=/usr/lib64' '--with-tclinclude=/usr/lib64/tcl8.4/include/generic' '--with-tk=/usr/lib64' '--enable-shared'
  ebuild.sh, line 586:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/home/allar/portage/PORTAGE_TMPDIR/portage/dev-tcltk/expect-5.42.1-r1/temp/build.log'.

emerge --info
Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.22-gentoo-r5-4 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5-4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 03 Sep 2007 07:30:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=k8 -O2 -pipe"
DISTDIR="/home/allar/portage/DISTDIR"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ "
INSTALL_MASK="INSTALL.gz TODO.gz"
LANG="et_EE.UTF-8"
LC_ALL="et_EE.UTF-8"
LINGUAS="et en"
MAKEOPTS="-j2"
PKGDIR="/home/allar/portage/AMD64"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/allar/portage/PORTAGE_TMPDIR"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis xml xorg xv zlib" ALSA_CARDS="emu10k1x hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="et en" USERLAND="GNU" VIDEO_CARDS="nvidia nv mesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 22:03:23 UTC

*** This bug has been marked as a duplicate of bug 115688 ***