#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 --------------------------------+------------------------------------------- Reporter: ndimiduk@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- ghc-6.8.2 installs without issue but contains an API incompatible with darcs-1.0.9. Here's the output: ---- {{{ ndimiduk@luna /opt/MacPorts $ port install darcs ---> Configuring darcs Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/MacPorts/var/macports/build/_opt_MacPorts_var_macports_sources_rsync.macports.org_release_ports_devel_darcs/work/darcs-1.0.9" && ./configure --prefix=/opt/MacPorts --mandir=/opt/MacPorts/share/man --without-docs " returned error 1 Command output: checking for darcs... no checking the release state... release checking for gcc... /usr/bin/gcc-4.0 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 /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for a BSD-compatible install... /usr/bin/install checking for ghc... ghc checking where GHC keeps its libraries... /opt/MacPorts/lib/ghc-6.8.2 checking GHC.Handle.openFd... NOT old API checking GHC.Handle.openFd new API... failed configure: error: Couldnt figure out how to call GHC.Handle.openFd! Error: Status 1 encountered during processing. }}} ---- The system in a 12" g4 powerbook running 10.4.11 Here's a link to a mailing list entry which looks directly relevant: [http://www.mail-archive.com/darcs-devel@darcs.net/msg04019.html] -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576> MacPorts </projects/macports> Ports system for Mac OS