Skip to content

Build error : make uhc : build/101/ehclib/hsc2hs: line 39 #63

@JarnoLeConte

Description

@JarnoLeConte

I get the following error when performing make uhc:

build/101/ehclib/hsc2hs: line 39: /Users/Jarno/dev/checkouts/uhc/EHC/build/101/lib/ghc-7.10.2/bin/hsc2hs: No such file or directory
build/101/ehclib/hsc2hs: line 39: exec: /Users/Jarno/dev/checkouts/uhc/EHC/build/101/lib/ghc-7.10.2/bin/hsc2hs: cannot execute: No such file or directory
make[2]: *** [build/101/ehclib/base/System/CPUTime.hs] Error 126
make[1]: *** [install/101/lib/pkg/base-3.0.0.0/101/bc/plain/CompileAll] Error 2
make: *** [101/ehclibs] Error 2

The requested path seems incorrect:
/Users/Jarno/dev/checkouts/uhc/EHC/build/101/lib/ghc-7.10.2/bin/hsc2hs

I fixed the problem by removing the prefix $(EHCLIB_BLD_VARIANT_ASPECTS_PREFIX) from uhc/EHC/ehclib/files2.mk (line 365). Now it uses my global hsc2hs binary.
Not a real solution of course, but it works for me.

I'm not sure about the intended behaviour.

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