ngless-toolkit / ngless

NGLess: NGS with less work
https://ngless.embl.de
Other
142 stars 24 forks source link

Dependencies.Versions not found #94

Closed rekado closed 5 years ago

rekado commented 5 years ago

Hi,

I've packaged ngless 0.9.1 for GNU Guix. I tried to upgrade the package to 0.10.0 today, but the build fails with this error:

...
[40 of 84] Compiling StandardModules.Mappers.Minimap2 ( NGLess/StandardModules/Mappers/Minimap2.hs, dist/build/nglesstest/nglesstest-tmp/StandardModules/Mappers/Minimap2.o )

NGLess/StandardModules/Mappers/Minimap2.hs:36:1: error:
    Could not find module âDependencies.Versionsâ
      Use -v to see a list of the files searched for.
   |
36 | import Dependencies.Versions (minimap2Version)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In fact, there is no such module. I've generated the cabal file with hpack, in case that matters.

unode commented 5 years ago

Hi @rekado , thanks for the feedback.

The module is a little unconventional. It's created by the Makefile.

Additionally, the recommended way to compile NGLess is using stack which takes care of dependencies.

luispedro commented 5 years ago

This module can be generated by make NGLess/Dependencies/Versions.hs if you just want to generate that.

And thanks for including NGLess in GNU Guix. We'll mention it in the installation section as one way of installing it!

luispedro commented 5 years ago

@rekado Do you think this issue can be closed?

unode commented 5 years ago

Feel free to reopen if this is still an issue.

rekado commented 5 years ago

Thanks for the hint about the Makefile! I'm sorry for the late reply.