tried to emerge darcs, but it failed on ./configure. here's config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./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 --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu ## --------- ## ## Platform. ## ## --------- ## hostname = ziggy uname -m = x86_64 uname -r = 2.6.12-gentoo-r4 uname -s = Linux uname -v = #1 Sun Jul 17 21:08:07 CDT 2005 /usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3500+ /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /sbin PATH: /usr/sbin PATH: /usr/lib/portage/bin PATH: /bin PATH: /usr/bin PATH: /opt/bin PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 PATH: /opt/ati/bin PATH: /opt/ghc/bin PATH: /opt/blackdown-jdk-1.4.2.02/bin PATH: /opt/blackdown-jdk-1.4.2.02/jre/bin PATH: /usr/qt/3/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1348: checking for x86_64-pc-linux-gnu-gcc configure:1364: found /usr/bin/x86_64-pc-linux-gnu-gcc configure:1374: result: x86_64-pc-linux-gnu-gcc configure:1656: checking for C compiler version configure:1659: x86_64-pc-linux-gnu-gcc --version </dev/null >&5 x86_64-pc-linux-gnu-gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1662: $? = 0 configure:1664: x86_64-pc-linux-gnu-gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7) configure:1667: $? = 0 configure:1669: x86_64-pc-linux-gnu-gcc -V </dev/null >&5 x86_64-pc-linux-gnu-gcc: `-V' must come at the start of the command line configure:1672: $? = 1 configure:1695: checking for C compiler default output file name configure:1698: x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe conftest.c >&5 configure:1701: $? = 0 configure:1747: result: a.out configure:1752: checking whether the C compiler works configure:1758: ./a.out configure:1761: $? = 0 configure:1778: result: yes configure:1785: checking whether we are cross compiling configure:1787: result: no configure:1790: checking for suffix of executables configure:1792: x86_64-pc-linux-gnu-gcc -o conftest -march=k8 -O2 -pipe conftest.c >&5 configure:1795: $? = 0 configure:1820: result: configure:1826: checking for suffix of object files configure:1847: x86_64-pc-linux-gnu-gcc -c -march=k8 -O2 -pipe conftest.c >&5 configure:1850: $? = 0 configure:1872: result: o configure:1876: checking whether we are using the GNU C compiler configure:1900: x86_64-pc-linux-gnu-gcc -c -march=k8 -O2 -pipe conftest.c >&5 configure:1906: $? = 0 configure:1909: test -z || test ! -s conftest.err configure:1912: $? = 0 configure:1915: test -s conftest.o configure:1918: $? = 0 configure:1931: result: yes configure:1937: checking whether x86_64-pc-linux-gnu-gcc accepts -g configure:1958: x86_64-pc-linux-gnu-gcc -c -g conftest.c >&5 configure:1964: $? = 0 configure:1967: test -z || test ! -s conftest.err configure:1970: $? = 0 configure:1973: test -s conftest.o configure:1976: $? = 0 configure:1987: result: yes configure:2004: checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C configure:2074: x86_64-pc-linux-gnu-gcc -c -march=k8 -O2 -pipe conftest.c >&5 configure:2080: $? = 0 configure:2083: test -z || test ! -s conftest.err configure:2086: $? = 0 configure:2089: test -s conftest.o configure:2092: $? = 0 configure:2110: result: none needed configure:2128: x86_64-pc-linux-gnu-gcc -c -march=k8 -O2 -pipe conftest.c >&5 conftest.c:2: error: parse error before "me" configure:2134: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2269: checking how to run the C preprocessor configure:2304: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2310: $? = 0 configure:2342: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2348: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:2387: result: x86_64-pc-linux-gnu-gcc -E configure:2411: x86_64-pc-linux-gnu-gcc -E conftest.c configure:2417: $? = 0 configure:2449: x86_64-pc-linux-gnu-gcc -E conftest.c conftest.c:9:28: ac_nonexistent.h: No such file or directory configure:2455: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:2538: checking for a BSD-compatible install configure:2593: result: /bin/install -c configure:2608: checking for ghc configure:2624: found /opt/ghc/bin/ghc configure:2634: result: ghc configure:2656: ghc -o conftest conftest.hs configure:2659: $? = 0 configure:2673: checking where GHC keeps its libraries configure:2681: result: /opt/ghc/lib/ghc-6.4 configure:2711: checking GHC.Handle.openFd configure:2726: ghc -o conftest conftest.hs conftest.hs:6:24: Couldn't match `Bool' against `[Char]' Expected type: Bool Inferred type: [Char] In the third argument of `openFd', namely `"stdout"' In the definition of `main': main = openFd 1 Nothing "stdout" WriteMode True False configure:2729: $? = 1 configure: failed program was: -- #line 2716 "configure" import GHC.Handle ( openFd ) import IO ( IOMode(..)) main = openFd 1 Nothing "stdout" WriteMode True False end of failed program. configure:2826: result: NOT old API configure:2828: checking GHC.Handle.openFd new API configure:2843: ghc -o conftest conftest.hs conftest.hs:6:7: Couldn't match `IO GHC.IOBase.Handle' against `t -> t1' Expected type: IO GHC.IOBase.Handle Inferred type: t -> t1 Probable cause: `openFd' is applied to too many arguments in the call (openFd 1 Nothing False "stdout" WriteMode True False) In the definition of `main': main = openFd 1 Nothing False "stdout" WriteMode True False configure:2846: $? = 1 configure: failed program was: -- #line 2833 "configure" import GHC.Handle ( openFd ) import IO ( IOMode(..)) main = openFd 1 Nothing False "stdout" WriteMode True False end of failed program. configure:2890: result: failed configure:2892: error: Couldnt figure out how to call GHC.Handle.openFd! ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-march=k8 -O2 -pipe' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-pc-linux-gnu ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_exeext= ac_cv_objext=o ac_cv_path_install='/bin/install -c' ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E' ac_cv_prog_GHC=ghc ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ## ----------------- ## ## Output variables. ## ## ----------------- ## AWK='' BIGENDIAN='' CC='x86_64-pc-linux-gnu-gcc' CFLAGS='-march=k8 -O2 -pipe' CONTEXT_CMD2='' CONTEXT_CMD='' CPP='x86_64-pc-linux-gnu-gcc -E' CPPFLAGS='' DARCS='' DARCS_VERSION='1.0.2' DEFS='' DIFF='' DVIPS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GHC='ghc' GHCFLAGS='' GHC_LIBDIR='/opt/ghc/lib/ghc-6.4' GHC_SEPARATOR='' HAVE_CURSES='' HAVE_LIBCURL='' HAVE_MAPI='' HAVE_SENDMAIL='' HEVEA='' HTLATEX='' INSTALLWHAT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LATEX2HTML='' LATEX='' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEMANUAL='' MAKENSIS='' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PREPROCHTML='' SENDMAIL='' SHELL='/bin/sh' SYS='' TARGETS='' USE_COLOR='' USE_HIDEOUS_MALLOC_HACK='' USE_MMAP='' ac_ct_CC='' bindir='/usr/bin' build_alias='x86_64-pc-linux-gnu' datadir='/usr/share' exec_prefix='/usr' host_alias='x86_64-pc-linux-gnu' includedir='${prefix}/include' infodir='/usr/share/info' libdir='/usr/lib64' libexecdir='/usr/libexec' localstatedir='/var/lib' mandir='/usr/share/man' oldincludedir='/usr/include' prefix='/usr' program_transform_name='s,x,x,' sbindir='/usr/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 And output of emerge --info: Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+ dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="" ALSA_CARDS="via82xx" ARCH="amd64" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CBUILD="x86_64-pc-linux-gnu" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-march=k8 -O2 -pipe" CFLAGS_amd64="-m64" CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DEFAULT_ABI="amd64" DISTDIR="/usr/portage/distfiles" ELIBC="glibc" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig distlocks sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" HOME="/home/jhknight" KERNEL="linux" LDFLAGS_amd64="-m elf_x86_64" LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib" LIBDIR_amd64="lib64" LIBDIR_x86="lib32" LOGNAME="root" MULTILIB_ABIS="x86 amd64" MULTILIB_STRICT_DENY="64-bit.*shared object" MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|eclipse-3)" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-obsd x86-od" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="10938" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SUDO_COMMAND="/usr/bin/emerge -av --info" SUDO_GID="100" SUDO_UID="1000" SUDO_USER="jhknight" SYMLINK_LIB="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="X alsa amd64 avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dvd dvdread eds emul-linux-x86 encode esd fam flac foomaticdb fortran freetype gif gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit krb4 ldap libwww lzw lzw-tiff mad motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pdflib perl png posix python qt quicktime readline samba sdl spell ssl svg symlink tcpd tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xpm xsl xv zlib userland_GNU kernel_linux elibc_glibc" USER="root" USERLAND="GNU" USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC" XARGS="xargs -r"
Thanks for the report. You've probably been trying darcs-1.0.2, which isn't compatible with ghc-6.4 (there's a blocker dependency in the ebuild, but this isn't always checked correctly in the current portage). I've added ~amd64 flags for darcs-1.0.3 in cvs. This version should work fine with ghc-6.4 ... So please try again once the cvs change has propagated to the mirrors. I am closing this bug -- if the problems persist, please reopen it ... Cheers, ks