Package Details: epub-tools 2.8-1

Git Clone URL: https://aur.archlinux.org/epub-tools.git (read-only)
Package Base: epub-tools
Description: Command line utilities for working with epub files
Upstream URL: http://hub.darcs.net/dino/epub-tools
Licenses: BSD3
Submitter: dno
Maintainer: dno
Last Packager: dno
Votes: 9
Popularity: 0.659914
First Submitted: 2013-02-02 13:59
Last Updated: 2015-09-18 14:38

Latest Comments

giddie commented on 2015-02-09 16:56

Thanks for mentioning the issue, though. I don't use Haskell myself, so cabal-install was pulled in as a dependence, and of course I ran into the same build issue. Maybe the PKGBUILD could catch the process failure and at least provide an error message to suggest update cabal?

dno commented on 2013-04-14 17:09

mikecr: You know, working on the latest, I had some other weirdness happen. Now not sure if what you're seeing wasn't part of that. For now I removed 'cabal-dev update' from the build() function. But everybody do 'cabal update' before building this, like you'd do a 'pacman -Sy' to freshen up, same idea.

dno commented on 2013-04-10 14:49

mikecr: If your cabal package list was old, this can happen. It's just like having stale pacman lists and needing to do an -Sy

Bearing that in mind, I'm not sure if it's appropriate for me to make the build do a `cabal update` automatically. We generally don't automate that part of these tools, I guess so as to not hammer servers with it unnecessarily.

What do you guys think?

mikecr commented on 2013-04-10 10:04

Howdy, if anyone is having troubles with this building this and is getting

You are using a version of cabal-install that has the --only-dependencies flag
to the install command. Invoking that instead...
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: epub-tools-2.1.1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build epub-tools.

I ran cabal update and then tried again and it was fine. I don't really know why this is... I was using cabal-dev-git from AUR.