[arch-haskell] Builds failing in habs chroot

Richard Wallace rwallace at thewallacepack.net
Mon Apr 21 18:23:40 UTC 2014


I'd like to try and get taffybar added to habs so I'm trying to learn how
to build packages and all that.  The first one I'm trying it
HStringTemplate, which should be simple as all dependencies are available.
 But for some reason, it fails to build.

*** Building in /home/rwallace/Development/habs/haskell-hstringtemplate
:: Synchronizing package databases...
 haskell-core is up to date
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do

==> Making package: haskell-hstringtemplate 0.7.3-1 (Mon Apr 21 11:18:03
MST 2014)
==> Retrieving sources...
  -> Downloading HStringTemplate-0.7.3.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                 Dload  Upload   Total   Spent    Left
 Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
  0
  0     0    0 15961    0     0  17499      0 --:--:-- --:--:-- --:--:--
17499
==> Validating source files with sha256sums...
    HStringTemplate-0.7.3.tar.gz ... Passed
==> Making package: haskell-hstringtemplate 0.7.3-1 (Mon Apr 21 11:18:04
MST 2014)
==> Checking runtime dependencies...
==> Installing missing dependencies...
warning: downgrading package ghc (7.8.2-1 => 7.6.3-1)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-text: requires ghc=7.8.2-1
:: haskell-blaze-builder: requires ghc=7.8.2-1
:: haskell-mtl: requires ghc=7.8.2-1
:: haskell-parsec: requires ghc=7.8.2-1
:: haskell-syb: requires ghc=7.8.2-1
:: haskell-utf8-string: requires ghc=7.8.2-1
:: haskell-hashable: requires ghc=7.8.2-1
:: haskell-nats: requires ghc=7.8.2-1
:: haskell-unordered-containers: requires ghc=7.8.2-1
:: haskell-semigroups: requires ghc=7.8.2-1
:: haskell-void: requires ghc=7.8.2-1
==> ERROR: 'pacman' failed to install missing dependencies.

==> ERROR: Build failed, check
/home/rwallace/Development/habs/x86_64-chroot/build/build
*** ERROR: Trapped ERR, something went very wrong.

Seems it is trying to use ghc 7.6.3 for some reason.  Checking the
haskell-hstringtemplate/PKGBUILD I find

depends=("ghc=7.6.3-1"
         "haskell-blaze-builder=0.3.3.2-58"
         "haskell-mtl=2.1.3.1-3"
         "haskell-parsec=3.1.5-59"
         "haskell-syb=0.4.1-55"
         "haskell-text=1.1.0.1-3"
         "haskell-utf8-string=0.3.7-55"
         "haskell-void=0.6.1-61")

I tried with another already existing package and the same is true, the ghc
dependency is listed as 7.6.3-1.

What's going on? What am I missing?

Thanks,
Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20140421/19fee86b/attachment.html>


More information about the arch-haskell mailing list