archhaskell / habs

Arch Haskell ABS tree
http://github.com/archhaskell/habs
80 stars 28 forks source link

haskell-gitit throws pacman overboard #163

Closed neitsab closed 10 years ago

neitsab commented 10 years ago

Hi, I tried to send the following bug report to the ArchHaskell mailing list yesterday, but (probably because I didn't subscribe to it first) it never showed up there. So here's the message I was trying to send:

Hi everybody,

First of all thanks for providing and maintaining the ArchHaskell repos, it makes accessing Haskell packages quite convenient for outsiders.

I set up an Arch server and wanted to install gitit with pandoc onto it, seeing it was provided by [haskell-happstack] I followed the instructions at https://wiki.archlinux.org/index.php/ArchHaskell.

However, when trying to install haskell-gitit I get the following output:

# pacman -S --needed haskell-gitit
resolving dependencies...
warning: cannot resolve "haskell-random=1.0.1.1-56", a dependency of
"haskell-missingh"
warning: cannot resolve "haskell-missingh=1.2.1.0-2", a dependency of
"haskell-configfile"
warning: cannot resolve "haskell-configfile=1.1.2-2", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-http=4000.2.17-2", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-monad-control=0.3.3.0-2", a dependency
of "haskell-happstack-server"
warning: cannot resolve "haskell-transformers-base=0.4.2-2", a
dependency of "haskell-happstack-server"
warning: cannot resolve "haskell-happstack-server=7.3.7-2", a dependency
of "haskell-gitit"
warning: cannot resolve "haskell-pandoc=1.12.4.2-14", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-pandoc-types=1.12.4.1-2", a dependency
of "haskell-gitit"
warning: cannot resolve "haskell-random=1.0.1.1-56", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-http=4000.2.17-2", a dependency of
"haskell-recaptcha"
warning: cannot resolve "haskell-recaptcha=0.1.0.2-10", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-safe=0.3.7-1", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-tagsoup=0.13.1-62", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-safe=0.3.7-1", a dependency of
"haskell-uri"
warning: cannot resolve "haskell-uri=0.1.6.2-4", a dependency of
"haskell-gitit"
warning: cannot resolve "haskell-attoparsec=0.11.3.4-5", a dependency of
"haskell-xss-sanitize"
warning: cannot resolve "haskell-attoparsec=0.11.3.4-5", a dependency of
"haskell-css-text"
warning: cannot resolve "haskell-css-text=0.1.2.1-10", a dependency of
"haskell-xss-sanitize"
warning: cannot resolve "haskell-tagsoup=0.13.1-62", a dependency of
"haskell-xss-sanitize"
warning: cannot resolve "haskell-xss-sanitize=0.3.5.2-11", a dependency
of "haskell-gitit"
:: The following package cannot be upgraded due to unresolvable
dependencies:
      haskell-gitit

:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (unexpected error)

At first I thought it was a problem of package version, as some of those required by haskell-gitit differ from those available in repo (example with haskell-random:

$ pacman -Ss haskell-random
haskell-core/haskell-random 1.0.1.3-1
    random number library
community/haskell-random 1.0.1.1-8
    random number library

), however it seems existing dependencies with correct version number also throw errors:

$ pacman -Ss haskell-configfile
haskell-happstack/haskell-configfile 1.1.2-2
    Configuration file reading & writing

Can somebody tell me what's wrong here? Should I resort to use cabal install instead in order to get gitit?

In the end I did turn to cabal-install (and find a bug in gitit v. 10.5, which was worked around with the help of its dev, see https://github.com/jgm/gitit/issues/447), however this has nothing to do with the issue I'm reporting here. It seems like there are inconsistencies in the provided Haskell repositories, although I cannot diagnose it further. Not being a Haskell hacker, I wish I could just resort to my package manager to obtain gitit and pandoc, rather than building everything each time (and the gitit from the AUR doesn't build either, problem of unsatisfied dependencies)...

Could you look into the issue please? Thank you already!

magthe commented 10 years ago

The repos are maintained by different people and there's always a risk that they get out of sync. Please report this to the maintainer of [haskell-happstack] instead. https://github.com/tensor5/haskell-happstack