Open georgewsinger opened 6 years ago
Not a very helpful message I agree. What was in your working directory when you got that? Also, does -v affect the output?
Using -v
does not affect the output:
$ cabal-debian -v --maintainer 'Maintainer Name <maintainer@email>'
cabal-debian: Prelude.read: no parse
The contents of the directory:
$ ls -a
. doc .gitmodules NixHelpers.sh readthedocs.yml Simula.cabal .stack-work UbuntuHelpers.sh
.. err LICENSE OpenGLRaw Setup.hs simula-openvr stack.yaml vive-compositor.trace
app .git log package.yaml shaders simula-wayland swrast.sh vulkan
debian .gitignore Makefile README.md shell.nix src test
is that a repo I could download?
Yes: git clone https://github.com/SimulaVR/Simula.git
Perhaps you are using a newer or older ghc than I have access to? I was able to build the debian directory with this command:
cabal-debian --maintainer 'Maintainer Name maintainer@email' --exec-map c2hs:c2hs --exec-map libweston-3:weston --exec-map libweston-desktop-3:weston
What version of GHC are you using?
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.0.2
I see a few unprotected reads in the dependency library "debian". I will make a patch to make them at least throw a more helpful error. (Actually they don't look like they are likely to be the cause. Hmm.)
On Ubuntu bionic: