<div dir="ltr">Great, that did the trick. Thanks.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 21, 2014 at 12:44 PM, Magnus Therning <span dir="ltr"><<a href="mailto:magnus@therning.org" target="_blank">magnus@therning.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, Apr 21, 2014 at 11:23:40AM -0700, Richard Wallace wrote:<br>
> I'd like to try and get taffybar added to habs so I'm trying to learn how<br>
> to build packages and all that.  The first one I'm trying it<br>
> HStringTemplate, which should be simple as all dependencies are available.<br>
>  But for some reason, it fails to build.<br>
><br>
> *** Building in /home/rwallace/Development/habs/haskell-hstringtemplate<br>
> :: Synchronizing package databases...<br>
>  haskell-core is up to date<br>
>  core is up to date<br>
>  extra is up to date<br>
>  community is up to date<br>
> :: Starting full system upgrade...<br>
>  there is nothing to do<br>
><br>
> ==> Making package: haskell-hstringtemplate 0.7.3-1 (Mon Apr 21 11:18:03<br>
> MST 2014)<br>
> ==> Retrieving sources...<br>
>   -> Downloading HStringTemplate-0.7.3.tar.gz...<br>
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time<br>
>  Current<br>
>                                  Dload  Upload   Total   Spent    Left<br>
>  Speed<br>
>   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--<br>
>   0<br>
>   0     0    0 15961    0     0  17499      0 --:--:-- --:--:-- --:--:--<br>
> 17499<br>
> ==> Validating source files with sha256sums...<br>
>     HStringTemplate-0.7.3.tar.gz ... Passed<br>
> ==> Making package: haskell-hstringtemplate 0.7.3-1 (Mon Apr 21 11:18:04<br>
> MST 2014)<br>
> ==> Checking runtime dependencies...<br>
> ==> Installing missing dependencies...<br>
> warning: downgrading package ghc (7.8.2-1 => 7.6.3-1)<br>
> resolving dependencies...<br>
> looking for inter-conflicts...<br>
> error: failed to prepare transaction (could not satisfy dependencies)<br>
> :: haskell-text: requires ghc=7.8.2-1<br>
> :: haskell-blaze-builder: requires ghc=7.8.2-1<br>
> :: haskell-mtl: requires ghc=7.8.2-1<br>
> :: haskell-parsec: requires ghc=7.8.2-1<br>
> :: haskell-syb: requires ghc=7.8.2-1<br>
> :: haskell-utf8-string: requires ghc=7.8.2-1<br>
> :: haskell-hashable: requires ghc=7.8.2-1<br>
> :: haskell-nats: requires ghc=7.8.2-1<br>
> :: haskell-unordered-containers: requires ghc=7.8.2-1<br>
> :: haskell-semigroups: requires ghc=7.8.2-1<br>
> :: haskell-void: requires ghc=7.8.2-1<br>
> ==> ERROR: 'pacman' failed to install missing dependencies.<br>
><br>
> ==> ERROR: Build failed, check<br>
> /home/rwallace/Development/habs/x86_64-chroot/build/build<br>
> *** ERROR: Trapped ERR, something went very wrong.<br>
><br>
> Seems it is trying to use ghc 7.6.3 for some reason.  Checking the<br>
> haskell-hstringtemplate/PKGBUILD I find<br>
><br>
> depends=("ghc=7.6.3-1"<br>
>          "haskell-blaze-builder=0.3.3.2-58"<br>
>          "haskell-mtl=2.1.3.1-3"<br>
>          "haskell-parsec=3.1.5-59"<br>
>          "haskell-syb=0.4.1-55"<br>
>          "haskell-text=1.1.0.1-3"<br>
>          "haskell-utf8-string=0.3.7-55"<br>
>          "haskell-void=0.6.1-61")<br>
><br>
> I tried with another already existing package and the same is true,<br>
> the ghc dependency is listed as 7.6.3-1.<br>
><br>
> What's going on? What am I missing?<br>
<br>
</div></div>What's going on is that I haven't pushed out a new version of<br>
`cblrepo` yet :(<br>
<br>
There are two ways out of this:<br>
<br>
1. Re-build all the PKGBUILDs using<br>
   `cblrepo pkgbuild --ghc-version 7.8.2`.<br>
2. Run the script `./ghc/helpers/adjust-ghc.sh */PKGBUILD`.<br>
<span class="HOEnZb"><font color="#888888"><br>
/M<br>
<br>
--<br>
Magnus Therning                      OpenPGP: 0xAB4DFBA4<br>
email: <a href="mailto:magnus@therning.org">magnus@therning.org</a>   jabber: <a href="mailto:magnus@therning.org">magnus@therning.org</a><br>
twitter: magthe               <a href="http://therning.org/magnus" target="_blank">http://therning.org/magnus</a><br>
<br>
The results point out the fragility of programmer expertise: advanced<br>
programmers have strong expectations about what programs should look like,<br>
and when those expectations are violated--in seemingly innocuous<br>
ways--their performance drops drastically.<br>
     -- Elliot Soloway and Kate Ehrlich<br>
</font></span><br>_______________________________________________<br>
arch-haskell mailing list<br>
<a href="mailto:arch-haskell@haskell.org">arch-haskell@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/arch-haskell" target="_blank">http://www.haskell.org/mailman/listinfo/arch-haskell</a><br>
<br></blockquote></div><br></div>