Opened 12 years ago

Closed 11 years ago

#36113 closed defect (fixed)

hs-dataenc fails to configure

Reported by: easye Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jrhope, anddam (Andrea D'Amore), geekosaur, valient@…, mathsmac@…, crossd@…, MartinBuchmann (Martin Buchmann)
Port: hs-dataenc

Description

hs-dataenc, a dependency of darcs, fails to install with the following error in its configuration message

tethys:~$ sudo port -v install hs-dataenc
--->  Computing dependencies for hs-dataenc.
--->  Fetching distfiles for hs-dataenc
--->  Verifying checksum(s) for hs-dataenc
--->  Checksumming dataenc-0.13.0.2.tar.gz
--->  Extracting hs-dataenc
--->  Extracting dataenc-0.13.0.2.tar.gz
--->  Configuring hs-dataenc
Configuring dataenc-0.13.0.2...
Setup: At least the following dependencies are missing:
array >=0.1.0 && <0.4,
base >=3.0.0 && <4.2,
containers >=0.1.0 && <0.4
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-dataenc/hs-dataenc/work/dataenc-0.13.0.2" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang 
Exit code: 1
Error: org.macports.configure for port hs-dataenc returned: configure failure: command execution failed
Warning: targets not executed for hs-dataenc: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port hs-dataenc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-dataenc/hs-dataenc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port hs-dataenc failed

Change History (12)

comment:1 Changed 12 years ago by jrhope

There are similar configure errors for another darcs dependency, hs-haskeline:

$ sudo port -Ruv install hs-haskeline
--->  Computing dependencies for hs-haskeline.
--->  Fetching archive for hs-haskeline
[...]
--->  Fetching distfiles for hs-haskeline
--->  Verifying checksum(s) for hs-haskeline
--->  Checksumming haskeline-0.6.1.6.tar.gz
--->  Extracting hs-haskeline
--->  Extracting haskeline-0.6.1.6.tar.gz
--->  Configuring hs-haskeline
Configuring haskeline-0.6.1.6...
Setup: At least the following dependencies are missing:
filepath ==1.1.*, mtl ==1.1.*, unix >=2.0 && <2.4
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-haskeline/hs-haskeline/work/haskeline-0.6.1.6" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc --enable-library-profiling -v --with-gcc=/usr/bin/clang 
Exit code: 1
Error: org.macports.configure for port hs-haskeline returned: configure failure: command execution failed
Warning: targets not executed for hs-haskeline: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port hs-haskeline for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_hs-haskeline/hs-haskeline/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port hs-haskeline failed

as well as build errors for hs-platform-mtl. I wonder whether addressing #27633 "darcs 2.5 / Haskell issues" would resolve these as well.

comment:2 Changed 12 years ago by jrhope

Cc: jrh@… added

Cc Me!

comment:3 Changed 11 years ago by jmroot (Joshua Root)

Probably just needs an update; 0.13.0.2 is from 3 years ago, and the dependency version ranges exclude the module versions that come with the current ghc.

comment:4 in reply to:  3 Changed 11 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Status: newassigned

Replying to jmr@…:

Probably just needs an update; 0.13.0.2 is from 3 years ago, and the dependency version ranges exclude the module versions that come with the current ghc.

Yes. I haven't gotten to updating most hs-* packages, because I considered updating haskell-platform to be of higher priority. Now that that has been done, I'll try to have a look.

comment:5 Changed 11 years ago by lostprogrammer@…

Could you please fix it? darcs won't compile without hs-dataenc.

comment:6 Changed 11 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:7 Changed 11 years ago by geekosaur

Cc: allbery.b@… added

Cc Me!

comment:8 Changed 11 years ago by valient@…

Cc: valient@… added

Cc Me!

comment:9 Changed 11 years ago by mathsmac@…

Cc: mathsmac@… added

Cc Me!

comment:10 Changed 11 years ago by crossd@…

Cc: crossd@… added

Cc Me!

comment:11 Changed 11 years ago by MartinBuchmann (Martin Buchmann)

Cc: Martin.Buchmann@… added

Cc Me!

comment:12 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

hs-dataenc works for me after the recent haskell-platform update and r106839. darcs also builds for me since r106848.

Note: See TracTickets for help on using tickets.