Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17417

Summary: Guile-1.5.4 ebuild failed: cannot configure for more than one host and one target at a time
Product: Gentoo Linux Reporter: Sébastien Champigny <sebgarden>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: stu, tester
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sébastien Champigny 2003-03-12 20:45:45 UTC
I try to make an ebuild for gnucash-1.8.2 but the dependancies are:
app-office/gnucash-1.8.2
   -- at least dev-libs/g-wrap-1.3.3
      -- at least dev-util/guile/guile-1.4.x

Currently, even with softest compilation options, it fails.

But emerging guile-1.6.3 works! (just rename it and make a new digest)

Reproducible: Always
Steps to Reproduce:
emerge guile-1.5.4
Actual Results:  
root@idk-002c307 usr # emerge -u guile
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/guile-1.5.4 to /
>>> md5 ;-) guile-1.5.4.tar.gz
>>> Unpacking source...
>>> Unpacking guile-1.5.4.tar.gz to /var/tmp/portage/guile-1.5.4/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for minix/config.h... no
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... 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 int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for uintptr_t... yes
checking for ptrdiff_t... yes
checking for long longs... yes
checking for long long... yes
checking size of long long... 8
checking for void *... yes
checking size of void *... 4
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
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 for io.h... no
checking for libc.h... no
checking for limits.h... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for string.h... (cached) yes
checking for regex.h... yes
checking for rxposix.h... no
checking for rx/rxposix.h... no
checking for sys/ioctl.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/times.h... yes
checking for sys/stdtypes.h... no
checking for sys/types.h... (cached) yes
checking for sys/utime.h... no
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for utime.h... yes
checking for pwd.h... yes
checking for winsock2.h... no
checking for grp.h... yes
checking for sys/utsname.h... yes
checking for libc.h... (cached) no
checking for unistd.h... (cached) yes
checking "whether libc.h and unistd.h can be included together"... no
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking return type of signal handlers... void
checking for mode_t... yes
checking for main in -lm... yes
checking for gethostbyname... yes
checking for connect... yes
checking for ctermid... yes
checking for ftime... yes
checking for fchown... yes
checking for getcwd... yes
checking for geteuid... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for mkdir... yes
checking for mknod... yes
checking for nice... yes
checking for readlink... yes
checking for rename... yes
checking for rmdir... yes
checking for select... yes
checking for setegid... yes
checking for seteuid... yes
checking for setlocale... yes
checking for setpgid... yes
checking for setsid... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for strftime... yes
checking for strptime... yes
checking for symlink... yes
checking for sync... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for times... yes
checking for uname... yes
checking for waitpid... yes
checking for strdup... yes
checking for system... yes
checking for usleep... yes
checking for atexit... yes
checking for on_exit... yes
checking for chown... yes
checking for link... yes
checking for fcntl... yes
checking for ttyname... yes
checking for getpwent... yes
checking for getgrent... yes
checking for kill... yes
checking for getppid... yes
checking for getpgrp... yes
checking for fork... yes
checking for setitimer... yes
checking for getitimer... yes
checking for crypt.h... yes
checking for sys/resource.h... yes
checking for sys/file.h... yes
checking for chroot... yes
checking for flock... yes
checking for getlogin... yes
checking for cuserid... yes
checking for getpriority... yes
checking for setpriority... yes
checking for getpass... yes
checking for sethostname... yes
checking for gethostname... yes
checking for crypt in -lcrypt... yes
checking for strptime declaration... no
checking for sleep declaration... yes
checking for usleep declaration... yes
checking return type of usleep... int
checking for sys/un.h... yes
checking for socketpair... yes
checking for getgroups... yes
checking for setpwent... yes
checking for pause... yes
checking for tzset... yes
checking for sethostent... yes
checking for gethostent... yes
checking for endhostent... yes
checking for setnetent... yes
checking for getnetent... yes
checking for endnetent... yes
checking for setprotoent... yes
checking for getprotoent... yes
checking for endprotoent... yes
checking for setservent... yes
checking for getservent... yes
checking for endservent... yes
checking for getnetbyaddr... yes
checking for getnetbyname... yes
checking for inet_lnaof... yes
checking for inet_makeaddr... yes
checking for inet_netof... yes
checking for hstrerror... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking whether netdb.h declares h_errno... yes
checking whether netdb.h defines uint32_t... yes
checking for working IPv6 support... yes
checking whether sockaddr_in6 has sin6_scope_id... yes
checking whether localtime caches TZ... no
checking for unistd.h... (cached) yes
checking for restartable system calls... yes
checking for regcomp... yes
checking for inet_aton... yes
checking for putenv... yes
checking for strerror... yes
checking for memmove... yes
checking for mkstemp... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for S_ISLNK in sys/stat.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether we need POSIX to get struct utimbuf... no
checking whether floats fit in longs... yes
checking for struct linger... yes
checking for struct timespec... yes
checking whether to support threads... qt
checking QuickThreads configuration... i386
checking for main in -lpthread... yes
checking for mawk... no
checking for gawk... gawk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libguile/Makefile
config.status: creating libguile/guile-snarf
config.status: creating libguile/guile-doc-snarf
config.status: creating libguile/guile-func-name-check
config.status: creating libguile/guile-snarf-docs
config.status: creating libguile/guile-snarf-docs-texi
config.status: creating libguile/version.h
config.status: creating ice-9/Makefile
config.status: creating oop/Makefile
config.status: creating oop/goops/Makefile
config.status: creating scripts/Makefile
config.status: creating srfi/Makefile
config.status: creating qt/Makefile
config.status: creating qt/qt.h
config.status: creating qt/md/Makefile
config.status: creating qt/time/Makefile
config.status: creating guile-config/Makefile
config.status: creating doc/Makefile
config.status: creating doc/ref/Makefile
config.status: creating doc/tutorial/Makefile
config.status: creating doc/goops/Makefile
config.status: creating doc/r5rs/Makefile
config.status: creating examples/Makefile
config.status: creating examples/scripts/Makefile
config.status: creating examples/box/Makefile
config.status: creating examples/box-module/Makefile
config.status: creating examples/box-dynamic/Makefile
config.status: creating examples/box-dynamic-module/Makefile
config.status: creating examples/modules/Makefile
config.status: creating examples/safe/Makefile
config.status: creating test-suite/Makefile
config.status: creating check-guile
config.status: creating guile-tools
config.status: creating libguile/scmconfig.h
configure: configuring in guile-readline
configure: running /bin/sh './configure'  --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --with-threads --with-modules CC=gcc
'CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays' host_alias=i686-pc-linux-gnu
--enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking how to run the C preprocessor... gcc -E
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for tgoto in -lncurses... yes
checking for readline in -lreadline... yes
checking for siginterrupt... yes
checking for rl_clear_signals... yes
checking for rl_cleanup_after_signal... yes
checking for rl_filename_completion_function... yes
checking for rl_pre_input_hook... yes
checking if readline clears SA_RESTART flag for SIGWINCH... yes
checking for rl_getc_function pointer in readline... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in libltdl
configure: running /bin/sh './configure'  --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --with-threads --with-modules CC=gcc
'CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays' host_alias=i686-pc-linux-gnu
--enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
configure: warning: CC=gcc: invalid host type
configure: warning: CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer
-fforce-addr -falign-functions=4 -fprefetch-loop-arrays: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for libltdl
sed: can't read confdefs.h: No such file or directory
 
!!! ERROR: dev-util/guile-1.5.4 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed



root@idk-002c307 usr # emerge info
Portage 2.0.47-r9 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu
ftp://ftp.oregonstate.edu/pub/gentoo http://mirrors.sunsite.dk/gentoo/
ftp://sunsite.dk/mirrors/gentoo/ http://gentoo.linux.no/
ftp://gentoo.linux.no/pub/gentoo/ http://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.gentoo.or.kr/
http://gentoo.gnukorea.org/
ftp://ftp.dale.ro/pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/
http://distro.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="/home/pub/src"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses
nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb
slang readline svga java guile X sdl gpm tcpd pam libwww ssl python esd imlib
oggvorbis gnome gtk qt kde motif opengl aalib acl acpi alsa apache2 -apm -arts
bonobo cdr directfb dvd evo gb gtk2 imap jikes ldap libgda mbox mozilla mysql
nas pda perl plotutils samba scanner socks5 sse tetex tiff usb xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Sébastien Champigny 2003-03-12 20:59:03 UTC
Well, actually g-wrap needs at least a newer version than 1.4.1.
But g-wrap still fails (http://forums.gentoo.org/viewtopic.php?t=33390&postdays=0&postorder=asc&start=25)
Comment 2 Sébastien Champigny 2003-03-12 21:29:28 UTC
Updated g-wrap-1.3.4.ebuild here:
http://bugs.gentoo.org/show_bug.cgi?id=14436
Well, as I updated to guile-1.6.3, gnucash still doesn't compile but it's another story.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-04-27 18:34:54 UTC
yes, we're working on getting guile-1.6.x into portage and gnucash and friends .. 

*** This bug has been marked as a duplicate of 15189 ***
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-05-17 05:25:33 UTC
*** Bug 21144 has been marked as a duplicate of this bug. ***
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-05-18 06:51:12 UTC
*** Bug 21167 has been marked as a duplicate of this bug. ***