[MacPorts] #14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2
MacPorts
trac at macosforge.org
Sat Mar 22 10:33:46 PDT 2008
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2
---------------------------------+------------------------------------------
Reporter: ndimiduk at gmail.com | Owner: gwright at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by stephen.bannasch at gmail.com):
I get the same error on MacOS 10.5.2.
I updated ports before trying to run the install:
{{{
sudo port selfupdate
sudo port upgrade installed
}}}
Installing darcs on Leopard:
{{{
$ sudo port install darcs
---> Fetching gmp
---> Attempting to fetch gmp-4.2.2.tar.bz2 from
http://ftp.gnu.org/gnu/gmp
---> Verifying checksum(s) for gmp
---> Extracting gmp
---> Configuring gmp
---> Building gmp with target all
---> Staging gmp into destroot
---> Installing gmp 4.2.2_1
---> Activating gmp 4.2.2_1
---> Cleaning gmp
---> Fetching ghc
---> Attempting to fetch ghc-6.8.2-src.tar.bz2 from
http://haskell.org/ghc/dist/6.8.2/
---> Attempting to fetch ghc-6.8.2-src-extralibs.tar.bz2 from
http://haskell.org/ghc/dist/6.8.2/
---> Attempting to fetch ghc-6.8.2-darwin-i386-leopard-bootstrap.tar.bz2
from http://haskell.org/ghc/dist/6.8.2/
---> Verifying checksum(s) for ghc
---> Extracting ghc
---> Applying patches to ghc
---> Configuring ghc
---> Building ghc with target all
---> Staging ghc into destroot
---> Installing ghc 6.8.2_2+darwin_9_i386
---> Activating ghc 6.8.2_2+darwin_9_i386
---> Cleaning ghc
---> Fetching darcs
---> Attempting to fetch darcs-1.0.9.tar.gz from http://darcs.net/
---> Verifying checksum(s) for darcs
---> Extracting darcs
---> Configuring darcs
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_darcs/work/darcs-1.0.9"
&& ./configure --prefix=/opt/local --mandir=/opt/local/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/local/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.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:5>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list