haskell-glut depends on "freeglut", but cabal2arch doesn't know this fact, and consequently fails to generate a PKGBUILD file that builds successfully.
This is what I get:
% cabal2arch http://hackage.haskell.org/packages/archive/GLUT/188.8.131.52/GLUT.cabal
% grep freeglut haskell-glut/PKGBUILD
depends=('ghc' 'haskell-opengl>=2.3' 'haskell-statevar' 'haskell-tensor' 'haskell-array' 'haskell-containers' 'freeglut')
This is with the following version of cabal2arch:
% pacman -Q cabal2arch
I suggest this issue can be closed.
Unless I'm mistaken, Haskell Platform says that we ought to use GLUT 184.108.40.206. In your test, you have used version 220.127.116.11.
You are correct, but then this makes it a duplicate of issue #14 since it's yet another missing dependency in the CABAL file.
I disagree that it is accurate to call this issue a "duplicate" of issue 14. It is true that the problems in haskell-opengl and haskell-glut are both caused by the same underlying problem, i.e. the cabal file doesn't specifiy a dependency that we need to specify in ArchLinux. However, that doesn't imply that fixing the missing dependency in haskell-opengl would automagically fix the missing dependency in haskell-glut, too! Both issues need to be dealt with, and I think it's unwise to close this bug -- as you did -- until that issue is actually resolved.
Good that you re-opened it. Of course you are correct, this is a separate instance of the same underlying issue. I created #22 to deal with adding the feature that would allow us to close this issue, and #14.
Depends on #22.