Package Details: gifcurry 3.0.0.2_0-1

Git Clone URL: https://aur.archlinux.org/gifcurry.git (read-only)
Package Base: gifcurry
Description: Your open source video to GIF maker built with Haskell.
Upstream URL: https://github.com/lettier/gifcurry
Keywords: ffmpeg gif gifcurry haskell imagemagick
Licenses: BSD3
Submitter: lettier
Maintainer: lettier
Last Packager: lettier
Votes: 8
Popularity: 0.844943
First Submitted: 2016-02-09 03:42
Last Updated: 2018-05-06 03:27

Latest Comments

lettier commented on 2018-03-16 05:21

Hello neonkowy,

I have updated the package to version 3.0.0.0. Please try again.

Thank you.

neonkowy commented on 2018-03-08 04:33

I've got compilation error:

[257 of 295] Compiling GI.Gio.Interfaces.File ( GI/Gio/Interfaces/File.hs, dist/dist-sandbox-9a563519/build/GI/Gio/Interfaces/File.o ) ghc: panic! (the 'impossible' happened) (GHC version 8.2.2 for x86_64-unknown-linux): tcIfaceGlobal (local): not found You are in a maze of twisty little passages, all alike. While forcing the thunk for TyThing IsFile which was lazily initialized by initIfaceCheck typecheckLoop, I tried to tie the knot, but I couldn't find IsFile in the current type environment. If you are developing GHC, please read Note [Tying the knot] and Note [Type-checking inside the knot]. Consider rebuilding GHC with profiling for a better stack trace. Contents of current type environment: [] Call stack: CallStack (from HasCallStack): prettyCurrentCallStack, called at compiler/utils/Outputable.hs:1133:58 in ghc:Outputable callStackDoc, called at compiler/utils/Outputable.hs:1137:37 in ghc:Outputable pprPanic, called at compiler/iface/TcIface.hs:1696:23 in ghc:TcIface

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

cabal: Leaving directory '/tmp/cabal-tmp-3503/gi-gio-2.0.14' cabal: Error: some packages failed to install: gi-gdk-3.0.14-2UWeXbeXddiJR6ytUd1GFl depends on gi-gdk-3.0.14 which failed to install. gi-gdkpixbuf-2.0.14-10Jx3qdJL7b3aEX0Wr16yN depends on gi-gdkpixbuf-2.0.14 which failed to install. gi-gio-2.0.14-LM7WK7NCSjNGCbzq7t5cwc failed during the building phase. The exception was: ExitFailure 1 gi-gtk-3.0.18-1axBgPHA9tvJQZ2ovyeBy0 depends on gi-gtk-3.0.18 which failed to install. gi-pango-1.0.15-IZiiWsYKF681zKYSMOyXQn failed during the building phase. The exception was: ExitFailure 1

Is it package specific (missing dependency or something) or should go to upstream?

gourdcaptain commented on 2017-09-12 08:55

Unfortunately, I didn't see any errors.

lettier commented on 2017-09-12 08:54

Hello gourdcaptain.

The "WARNING: Installation path /home/gourdcaptain/.local/bin not found on the PATH environment variable" is expected. Were there any reported errors?

The stack-bin package is installed along with this package to avoid installing the many packages needed by the standard stack package (https://www.archlinux.org/packages/community/x86_64/stack/) and so that building this package works out of the box. If a "stack" command exists, the stack-bin installation is skipped. Making stack-bin a makedepends would cause this package to error in the event that stack-bin was not previously installed since stack-bin is an AUR package and pacman will not resolve it.

There are relocatable binaries for Linux located here: https://github.com/lettier/gifcurry/releases. It may be best to base the PKGBUILD off of these binaries instead of Hackage.

gourdcaptain commented on 2017-09-12 08:28

Failed for me still after alex compiled right after a message of:
"WARNING: Installation path /home/gourdcaptain/.local/bin not found on the PATH environment variable".
Also, is there a reason stack-bin is installed as part of the script instead of making it a makedepend?
EDIT: Okay, I see, it's so it deals with other packages having stack. Not sure if I can think of a less awkward way either.

lettier commented on 2017-09-12 08:15

Hello JoZ3 and gourdcaptain. I have updated the package. The package installed successfully when built with a fresh installation of Arch Linux. If you develop with Haskell Stack and/or Cabal, you may need to remove `~/.stack` and/or `~/.cabal` before building the package.

JoZ3 commented on 2017-09-11 17:26

Error compiling:

Building alex-3.2.3...
Preprocessing executable 'alex' for alex-3.2.3...
[ 1 of 22] Compiling Util ( src/Util.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Util.o )
[ 2 of 22] Compiling UTF8 ( src/UTF8.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/UTF8.o )
[ 3 of 22] Compiling Sort ( src/Sort.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Sort.o )
[ 4 of 22] Compiling Set ( src/Set.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Set.o )
[ 5 of 22] Compiling Paths_alex ( dist/dist-sandbox-e7a9932b/build/autogen/Paths_alex.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Paths_alex.o )
[ 6 of 22] Compiling Map ( src/Map.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Map.o )
[ 7 of 22] Compiling Data.Ranged.Boundaries ( src/Data/Ranged/Boundaries.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Data/Ranged/Boundaries.o )
[ 8 of 22] Compiling Data.Ranged.Ranges ( src/Data/Ranged/Ranges.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Data/Ranged/Ranges.o )
[ 9 of 22] Compiling Data.Ranged.RangedSet ( src/Data/Ranged/RangedSet.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Data/Ranged/RangedSet.o )
[10 of 22] Compiling Data.Ranged ( src/Data/Ranged.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Data/Ranged.o )
[11 of 22] Compiling DFS ( src/DFS.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/DFS.o )
[12 of 22] Compiling CharSet ( src/CharSet.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/CharSet.o )
[13 of 22] Compiling AbsSyn ( src/AbsSyn.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/AbsSyn.o )
[14 of 22] Compiling DFAMin ( src/DFAMin.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/DFAMin.o )
[15 of 22] Compiling Info ( src/Info.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Info.o )
[16 of 22] Compiling NFA ( src/NFA.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/NFA.o )
[17 of 22] Compiling DFA ( src/DFA.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/DFA.o )
[18 of 22] Compiling Output ( src/Output.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Output.o )
[19 of 22] Compiling ParseMonad ( src/ParseMonad.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/ParseMonad.o )
[20 of 22] Compiling Scan ( src/Scan.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Scan.o )

src/Scan.hs:17:1: warning: [-Wunused-imports]
The import of ‘Data.Char’ is redundant
except perhaps to import instances from ‘Data.Char’
To import instances alone, use: import Data.Char()

src/Scan.hs:40:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alex_accept :: Array Int (AlexAcc Action Any)

src/Scan.hs:361:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexIndexInt32OffAddr :: AlexAddr -> Int# -> Int#

src/Scan.hs:386:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
quickIndex :: Array Int (AlexAcc Action Any)
-> Int -> AlexAcc Action Any

src/Scan.hs:402:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexScan :: AlexInput -> Int -> AlexReturn Action

src/Scan.hs:405:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexScanUser :: Any -> AlexInput -> Int -> AlexReturn Action

src/Scan.hs:407:1: warning: [-Wtabs]
Tab character found here, and in 59 further locations.
Please use spaces instead.

src/Scan.hs:436:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alex_scan_tkn :: Any
-> AlexInput
-> Int#
-> AlexInput
-> Int#
-> AlexLastAcc Action
-> (AlexLastAcc Action,
(AlexPosn, Char, [ParseMonad.Byte], String))

src/Scan.hs:489:10: warning: [-Wunused-matches]
Defined but not used: ‘f’

src/Scan.hs:491:10: warning: [-Wunused-matches]
Defined but not used: ‘f’

src/Scan.hs:506:1: warning: [-Wunused-top-binds]
Defined but not used: ‘alexAndPred’

src/Scan.hs:506:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexAndPred :: (t3 -> t2 -> t1 -> t -> Bool)
-> (t3 -> t2 -> t1 -> t -> Bool) -> t3 -> t2 -> t1 -> t -> Bool

src/Scan.hs:510:1: warning: [-Wunused-top-binds]
Defined but not used: ‘alexPrevCharIs’

src/Scan.hs:510:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexPrevCharIs :: Char -> t2 -> AlexInput -> t1 -> t -> Bool

src/Scan.hs:512:1: warning: [-Wunused-top-binds]
Defined but not used: ‘alexPrevCharMatches’

src/Scan.hs:512:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexPrevCharMatches :: (Char -> t3)
-> t2 -> AlexInput -> t1 -> t -> t3

src/Scan.hs:515:1: warning: [-Wunused-top-binds]
Defined but not used: ‘alexPrevCharIsOneOf’

src/Scan.hs:515:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexPrevCharIsOneOf :: Array Char e
-> t2 -> AlexInput -> t1 -> t -> e

src/Scan.hs:518:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexRightContext :: Int -> AlexAccPred Any

src/Scan.hs:528:1: warning: [-Wunused-top-binds]
Defined but not used: ‘iUnbox’

src/Scan.hs:528:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: iUnbox :: Int -> Int#

src/Scan.x:85:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
tokPosn :: Token -> AlexPosn

src/Scan.x:249:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_0 :: Action

src/Scan.x:250:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_1 :: Action

src/Scan.x:251:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_2 :: Action

src/Scan.x:252:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_3 :: Action

src/Scan.x:253:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_4 :: Action

src/Scan.x:254:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_5 :: Action

src/Scan.x:255:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_6 :: Action

src/Scan.x:256:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_7 :: Action

src/Scan.x:257:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_8 :: Action

src/Scan.x:258:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_9 :: Action

src/Scan.x:259:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_10 :: Action

src/Scan.x:260:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_11 :: Action

src/Scan.x:261:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_12 :: Action

src/Scan.x:262:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_13 :: Action

src/Scan.x:263:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_14 :: Action

src/Scan.x:264:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_15 :: Action

src/Scan.x:265:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_16 :: Action

src/Scan.x:266:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_17 :: Action

src/Scan.x:267:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_18 :: Action

src/Scan.x:268:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_19 :: Action

src/Scan.x:269:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_20 :: Action

src/Scan.x:270:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_21 :: Action

src/Scan.x:271:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_22 :: Action

src/Scan.x:272:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_23 :: Action

src/Scan.x:273:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_24 :: Action

src/Scan.x:274:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: alex_action_25 :: Action

templates/GenericTemplate.hs:60:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
alexIndexInt16OffAddr :: AlexAddr -> Int# -> Int#
[21 of 22] Compiling Parser ( src/Parser.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Parser.o )
[22 of 22] Compiling Main ( src/Main.hs, dist/dist-sandbox-e7a9932b/build/alex/alex-tmp/Main.o )
Linking dist/dist-sandbox-e7a9932b/build/alex/alex ...
/usr/bin/ld: cannot find -lHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-8164/alex-3.2.3'
cabal: Error: some packages failed to install:
alex-3.2.3 failed during the building phase. The exception was:
ExitFailure 1
==> ERROR: A failure occurred in build().
Aborting...

gourdcaptain commented on 2017-09-10 05:38

Still fails in the exact same way, sorry.

lettier commented on 2017-09-10 01:22

Hello gourdcaptain. I have updated the package to use ghc-static.

gourdcaptain commented on 2017-09-09 17:38

Attempting to compile this fails with errors like. There are more ld errors if I don't have ghc-static installed.
Linking dist/dist-sandbox-59aca295/build/alex/alex ...
/usr/bin/ld: cannot find -lHSrandom-1.1-9tceXaeYIMZ4JrKq20Egog
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
cabal: Leaving directory '/tmp/cabal-tmp-21024/alex-3.2.3'

All comments