Package Details: hledger-git 20191113-2

Git Clone URL: https://aur.archlinux.org/hledger-git.git (read-only, click to copy)
Package Base: hledger-git
Description: The hledger command-line and web-based accounting tool
Upstream URL: http://hledger.org
Licenses: GPL3
Conflicts: hledger, hledger-ui, hledger-web
Provides: hledger, hledger-ui, hledger-web
Submitter: atweiden
Maintainer: harrisonthorne
Last Packager: harrisonthorne
Votes: 10
Popularity: 0.000000
First Submitted: 2015-11-17 19:39 (UTC)
Last Updated: 2020-03-05 23:11 (UTC)

Dependencies (3)

Required by (3)

Sources (1)

Latest Comments

1 2 Next › Last »

msnspk commented on 2024-07-19 04:33 (UTC)

Package fails to build with this error:

2024-07-18 23:28:22.175544: [error] configure: error: Failed to determine machine word size. Does your toolchain actually work?
2024-07-18 23:28:22.187821: [error] Received ExitFailure 1 when running
Raw command: /home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2.temp/ghc-9.8.2-x86_64-unknown-linux/configure --prefix=/home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2/
Run from: /home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2.temp/ghc-9.8.2-x86_64-unknown-linux/

2024-07-18 23:28:22.187902: [error]
Error: Error encountered while configuring GHC with
         /home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2.temp/ghc-9.8.2-x86_64-unknown-linux/configure --prefix=/home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2/
         run in /home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2.temp/ghc-9.8.2-x86_64-unknown-linux/

       The following directories may now contain files, but won't be used by stack:
         - /home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2.temp/
         - /home/ullr/.stack/programs/x86_64-linux/ghc-tinfo6-9.8.2/

       For more information consider rerunning with --verbose flag

Configuring GHC ...
==> ERROR: A failure occurred in package().
    Aborting...

entidi commented on 2020-03-26 08:44 (UTC)

@harrisonthorne Sorry for the late reply: I did not see your answer.

The package did not update automatically: I had to manually force the installation to trigger the building, probably because in the last commit you also changed pkgver to an older version.

Other than that, the package now builds just fine (at least on my system).

harrisonthorne commented on 2020-03-05 22:29 (UTC)

@entidi Just pushed a fix bumping pkgrel to 2. Give it a shot and let me know if it still doesn't work. :)

entidi commented on 2020-03-03 07:26 (UTC)

@harrisonthorne For some reason this package it is still depending on haskell-stack (you can see that on the AUR page) and my AUR helper tool (yay) is unable to install it. Manually using makepkg instead seems to work as expected ("seems" because I'm still building it).

Can you bump pkgrel to 2 to see if this solves the issue?

harrisonthorne commented on 2019-11-18 06:34 (UTC) (edited on 2019-11-18 06:57 (UTC) by harrisonthorne)

The 'haskell-stack' dependency needs to be changed to 'stack' I believe. The build doesn't work with the currently missing 'haskell-stack' dep.

Edit: I've adopted this package and have fixed the dependency issue. I'm new to this whole process, so please feel free to point out any mistakes I make :)

nurfz commented on 2019-01-27 10:26 (UTC)

Would the package maintainer for this package add some lines to install the bash completion script for the next release of hledger?

The source code of hledger has the file shell-completion/hledger-completion.bash

It's in https://github.com/simonmichael/hledger/tree/master/shell-completion

Can this be installed into /etc/bash_completion.d or /usr/local/etc/bash_completion.d (I'm not sure how this is normally done)?

Thank you!

fbn commented on 2017-10-06 00:03 (UTC) (edited on 2017-10-06 00:53 (UTC) by fbn)

The haskell-stack dependency package has been removed, so it's impossible to build this package. I couldn't compile hledger using stack from the arch repo. But stack-static(AUR) and libtinfo(AUR, to fix -ltinfo issues) works!

xrvdg commented on 2017-01-09 12:19 (UTC)

@NinjaKoala which architecture do you run? Furthermore, could you post your output of `ldd /usr/bin/hledger`. It looks like you had to use ncurses ABI 5 while my installation uses the ncurses provided in the core repository.

NinjaKoala commented on 2017-01-04 16:05 (UTC)

Could you add libtinfo as dependency? It didn't compile without it for me.

JeffreyA commented on 2017-01-01 18:45 (UTC)

Got a similar error to RunningDroid. The first time I ran makepkg, the ghc stack was installed as a dependency. I suspect the error has something to do with an unconfigured environment after ghc is installed. Not sure if this is something that should be fixed in this package, or in ghc. Blindly ran the command the error suggested and now running makepkg again, seems to be compiling okay.