Opened 20 years ago

Closed 20 years ago

#3053 closed defect (invalid)

darcs config fails: "checking GHC.Handle.openFd new API... failed"

Reported by: doug@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: jkh@…
Port:

Description

I just build ghc a couple days ago explicitly for the purpose of installing darcs. I had the configure fail.

$ sudo port -d install -v darcs DEBUG: Found port in file:///Users/dalcorn/darwinports/dports/devel/darcs DEBUG: Changing to port directory: /Users/dalcorn/darwinports/dports/devel/darcs DEBUG: Requested variant powerpc is not provided by port darcs. DEBUG: Requested variant darwin is not provided by port darcs. DEBUG: Found port in file:///Users/dalcorn/darwinports/dports/lang/ghc DEBUG: Changing to port directory: /Users/dalcorn/darwinports/dports/lang/ghc DEBUG: Searching for dependency: ghc DEBUG: Found Dependency: receipt exists for ghc DEBUG: Found port in file:///Users/dalcorn/darwinports/dports/devel/readline DEBUG: Changing to port directory: /Users/dalcorn/darwinports/dports/devel/readline DEBUG: Searching for dependency: readline DEBUG: Found Dependency: receipt exists for readline DEBUG: Found port in file:///Users/dalcorn/darwinports/dports/net/curl DEBUG: Changing to port directory: /Users/dalcorn/darwinports/dports/net/curl DEBUG: Searching for dependency: curl DEBUG: Didn't find receipt, going to depspec regex for: curl DEBUG: Found Dependency: path: /usr/lib filename: libcurl.2.dylib regex: libcurl\.2\.dylib$ DEBUG: Skipping completed com.apple.main (darcs) DEBUG: Skipping completed com.apple.unarchive (darcs) DEBUG: Skipping completed com.apple.fetch (darcs) DEBUG: Skipping completed com.apple.checksum (darcs) DEBUG: Skipping completed com.apple.extract (darcs) DEBUG: Skipping completed com.apple.patch (darcs) ---> Configuring darcs DEBUG: Executing com.apple.configure (darcs) DEBUG: Assembled command: 'cd "/Users/dalcorn/darwinports/dports/devel/darcs/work/darcs-1.0.2" && CPPFLAGS=-I/opt/local/include ./configure --prefix=/opt/local --mandir=/opt/local/share/man' Setting config.command to 'sh ./configure --prefix=/opt/local --mandir=/opt/local/share/man checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for ghc... ghc checking where GHC keeps its libraries... /opt/local/lib/ghc-6.4 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: Target com.apple.configure returned: configure failure: shell command "cd "/Users/dalcorn/darwinports/dports/devel/darcs/work/darcs-1.0.2" && CPPFLAGS=-I/opt/local/include ./configure --prefix=/opt/local --mandir=/opt/local/share/man" returned error 1 Command output: Setting config.command to 'sh ./configure --prefix=/opt/local --mandir=/opt/local/share/man checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for ghc... ghc checking where GHC keeps its libraries... /opt/local/lib/ghc-6.4 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!

Warning: the following items did not execute (for darcs): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install

Change History (1)

comment:1 Changed 20 years ago by gwright@…

Resolution: invalid
Status: newclosed

You need to update your installation. The current darcs is 1.0.3rc1. You need this version to build with ghc-6.4.

/gw

Note: See TracTickets for help on using tickets.