[MacPorts] #14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2
#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
#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 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by waterson@maubi.net): I've created a Portfile for darcs-2.0.0pre3 (see #14634), which seems to work with ghc-6.8.2. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#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 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by wsiegrist@apple.com): * cc: waterson@maubi.net (added) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => gwright@macports.org * milestone: => Port Bugs Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by shreevatsa.public@gmail.com): cc me, I'd like to use darcs too. (Does posting a comment on Trac automatically add a user to the cc yet?) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by stephen.bannasch@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
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by stephen.bannasch@gmail.com): How can I add myself to the CC list? hmm ... -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by raimue@macports.org): * cc: stephen.bannasch@gmail.com (added) Comment: Replying to [comment:6 stephen.bannasch@gmail.com]:
How can I add myself to the CC list?
Sorry, not possible as Trac does not allow so fine-grained permissions. Just ask to get added. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:7> MacPorts </projects/macports> Ports system for Mac OS
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by daykov@physics.cornell.edu): seems to be incompatibility of the new GHC.Handle.openFd (change in the API), and the debian folks have a workaround patch. See for example http://launchpadlibrarian.net/12157631/darcs_1.0.9-1ubuntu1.debdiff -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:8> MacPorts </projects/macports> Ports system for Mac OS
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * cc: shreevatsa.public@gmail.com (added) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:9> MacPorts </projects/macports> Ports system for Mac OS
#14576: darcs 1.0.9 fails to configure due to incompatibility with ghc 6.8.2 ---------------------------------+------------------------------------------ Reporter: ndimiduk@gmail.com | Owner: gwright@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by fajwilson@gmail.com): Replying to [comment:8 daykov@physics.cornell.edu]:
seems to be incompatibility of the new GHC.Handle.openFd (change in the API), and the debian folks have a workaround patch. See for example
http://launchpadlibrarian.net/12157631/darcs_1.0.9-1ubuntu1.debdiff
I tried applying that patch but darcs is still not compiling. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14576#comment:10> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts