[arch-haskell] What does "failed to finalize package" mean?
Magnus Therning
magnus at therning.org
Thu May 1 07:10:42 UTC 2014
On Wed, Apr 30, 2014 at 02:56:02PM -0700, Richard Wallace wrote:
> I'm trying to add gtk2hs-buildtools and am getting that error
>
> $ cblrepo add gtk2hs-buildtools,0.12.5.2
> $ cblrepo pkgbuild --ghc-version 7.8.2-1
> Failed to finalize package: gtk2hs-buildtools
>
> In digging into the source, it looks like this means a dependency
> was not able to be found. But all the things that gtk2hs-buildtools
> depends on are provided by ghc, so I'm a bit at a loss. Any idea
> what is going on?
Yes, that sounds right to me.
I suspect it's the following interesting combination that's causing
it:
1. When adding you use the standard ghc (which I think still is 7.6
on the latest release of `cblrepo`).
2. When building the package you tell `cblrepo` to use Ghc 7.8.2
3. The gtk2hs-buildtools.cabal file contains the following:
if impl(ghc >= 7.7)
build-depends: hashtables
I think this combination means that your database doesn't record the
dependency on hashtables, but on generating the PKGBUILD the
dependency appears.
I really ought to get around to making a new release of `cblrepo`!
/M
--
Magnus Therning OpenPGP: 0xAB4DFBA4
email: magnus at therning.org jabber: magnus at therning.org
twitter: magthe http://therning.org/magnus
Most software today is very much like an Egyptian pyramid with
millions of bricks piled on top of each other, with no structural
integrity, but just done by brute force and thousands of slaves.
-- Alan Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20140501/32bad45d/attachment.sig>
More information about the arch-haskell
mailing list