Skip to content

cabal install --uhc always fails with "fileAccess: does not exist" #85

Open

Description

@skatayama

I successfully built and installed v1.1.9.4 of UHC by the standard way:

$ ./configure
$ make
$ sudo make install

`uhc --version' returns

ehc-1.1.9.4, revision @952b02e907, timestamp 20160823 +0900 113928

When I try to install a package using cabal, it always fails, complaining
missing bc/plain. For example,

$ cabal install --uhc transformers
Resolving dependencies...
Configuring transformers-0.5.2.0...
Building transformers-0.5.2.0...
Preprocessing library transformers-0.5.2.0...
ehc: dist/build/transformers-0.5.2.0/uhc-1.1.9.4/bc/plain: fileAccess: does not exist (No such file or directory)
Failed to install transformers-0.5.2.0
cabal: Error: some packages failed to install:
transformers-0.5.2.0 failed during the building phase. The exception was:
ExitFailure 1

I also tried filepath-1.3.0.1 and show-0.6, and they failed with the same error.
I tried unpacking those packages and tried to build them there.
They failed with the same message, and those files (and even transformers-0.5.2.0/
under dist/build) did not exist.

Activity

  1. atzedijkstra commented on Aug 24, 2016

    @atzedijkstra
    Member

    Building via cabal is not properly working for uhc, in particular for libraries. Executables may work, but in practice it turns out to be handiest to gather all files in a single directory and then build. Admittedly not the way it should, but further cabal integration is still something to be done.

    regards,
    Atze

    On 23 Aug 2016, at 12:54, skatayama notifications@github.com wrote:

    I successfully built and installed v1.1.9.4 of UHC by the standard way:

    $ ./configure
    $ make
    $ sudo make install

    `uhc --version' returns

    ehc-1.1.9.4, revision @952b02e, timestamp 20160823 +0900 113928

    When I try to install a package using cabal, it always fails, complaining
    missing bc/plain. For example,

    $ cabal install --uhc transformers
    Resolving dependencies...
    Configuring transformers-0.5.2.0...
    Building transformers-0.5.2.0...
    Preprocessing library transformers-0.5.2.0...
    ehc: dist/build/transformers-0.5.2.0/uhc-1.1.9.4/bc/plain: fileAccess: does not exist (No such file or directory)
    Failed to install transformers-0.5.2.0
    cabal: Error: some packages failed to install:
    transformers-0.5.2.0 failed during the building phase. The exception was:
    ExitFailure 1

    I also tried filepath-1.3.0.1 and show-0.6, and they failed with the same error.
    I tried unpacking those packages and tried to build them there.
    They failed with the same message, and those files (and even transformers-0.5.2.0/
    under dist/build) did not exist.

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions