[MacPorts] #46485: hs-temporary: fails to build on current Macports
MacPorts
noreply at macports.org
Thu Jan 8 04:39:45 PST 2015
#46485: hs-temporary: fails to build on current Macports
------------------------+--------------------------------
Reporter: J.Gilbey@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port:
------------------------+--------------------------------
I just tried installing pandoc on a fresh macports installation. One of
the dependencies which failed to build was hs-temporary; the build log
says:
{{{
:info:configure Configuring temporary-1.1.2.4...
:info:configure Setup: At least the following dependencies are missing:
:info:configure unix >=2.3 && <2.7
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_hs-temporary/hs-
temporary/work/temporary-1.1.2.4" && runhaskell Setup configure
--prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-
library-profiling --with-gcc=/usr/bin/clang
:info:configure Exit code: 1
}}}
I tried upgrading to
http://hackage.haskell.org/package/temporary-1.2.0.3/temporary-1.2.0.3.tar.gz
but that also fails:
{{{
:info:configure Configuring temporary-1.2.0.3...
:info:configure Setup: At least the following dependencies are missing:
:info:configure exceptions >=0.6
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_devel_hs-temporary/hs-
temporary/work/temporary-1.2.0.3" && runhaskell Setup configure
--prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-
library-profiling --with-gcc=/usr/bin/clang
:info:configure Exit code: 1
}}}
The exceptions package
[http://hackage.haskell.org/package/exceptions-0.6.1/exceptions-0.6.1.tar.gz]
has not yet been packaged as a port.
I've just packaged it for my local machine, which seems to have done the
trick, but I don't know how to (a) specify in the hs-temporary Portfile
that hs-exceptions is needed, or (b) upload the port somewhere useful
where others can make use of it. I can attach it to this ticket if that
is of use to someone.
The hs-temporary Portfile diff is as follows:
{{{
--- Portfile~ 2015-01-06 20:01:32.000000000 +0000
+++ Portfile 2015-01-08 12:12:31.000000000 +0000
@@ -4,10 +4,9 @@
PortSystem 1.0
PortGroup haskell 1.0
-haskell.setup temporary 1.1.2.4
-revision 4
-checksums rmd160 98810d844f38356388a09118f39ef86e9540e72a \
- sha256
5f9ebb2aac8767c8f73c071073bea56363ea0d589df162417a988b9f856013c9
+haskell.setup temporary 1.2.0.3
+checksums rmd160 be576becdb377708ccd69973fcffc7332d755680 \
+ sha256
8a889c7e62a2bb144eb9e394fab51e5dbd843d473ac2eab9e16b55a9eb3a4647
maintainers nomaintainer
platforms darwin
}}}
and the hs-exceptions Portfile is attached.
--
Ticket URL: <https://trac.macports.org/ticket/46485>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list