Package Details: himalaya-git r388.bda37ca-1

Git Clone URL: https://aur.archlinux.org/himalaya-git.git (read-only, click to copy)
Package Base: himalaya-git
Description: Minimalist CLI email client, written in Rust.
Upstream URL: https://github.com/soywod/himalaya
Licenses: MIT
Conflicts: himalaya
Provides: himalaya
Submitter: emilio-r
Maintainer: emilio-r
Last Packager: emilio-r
Votes: 2
Popularity: 0.000000
First Submitted: 2021-04-04 18:11 (UTC)
Last Updated: 2023-01-06 17:57 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

JostBrand commented on 2024-02-10 12:47 (UTC)

build failed

Compiling himalaya v1.0.0-beta.3 (/home/abc/.cache/yay/himalaya-git/src/himalaya)
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
   --> src/account/command/sync.rs:119:28
    |
119 | ... = AccountSyncBuilder::new(account_config.clone(), backend_builder.into())
    |       ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------ an argument of type `BackendBuilder<_>` is missing

bvr commented on 2024-02-05 18:29 (UTC)

looks like need to generate and add completions for bash/zsh/fish

fauxmight commented on 2023-01-06 18:09 (UTC) (edited on 2023-01-06 18:10 (UTC) by fauxmight)

@emilio-r: Thank you for the update. This builds and installs cleanly. I am woefully unfamiliar with rust and while my method allowed compilation, I am sure that yours is more accurate/appropriate to addressing the situation.

emilio-r commented on 2023-01-06 18:03 (UTC)

@fauxmight: Thanks for the report. I fixed the PKGBUILD, but kept the --frozen flags. I also added notmuch-runtime to optdepends and removed notmuch-backend from cargo --features.

fauxmight commented on 2022-12-31 15:01 (UTC) (edited on 2022-12-31 15:03 (UTC) by fauxmight)

This fails with the following error unless one removes --locked from RUSTUP_TOOLCHAIN in build()

error: the lock file /tmp/aur/himalaya-git/src/himalaya/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.

ALSO: The build fails with the following error unless one removes --frozen from RUSTUP_TOOLCHAIN in check()

error: failed to download `remove_dir_all v0.5.3`

Caused by:
  attempting to make an HTTP request, but --frozen was specified

ALSO: The build fails unless notmuch is added to depends

polyzen commented on 2022-03-09 08:54 (UTC) (edited on 2022-03-10 03:17 (UTC) by polyzen)

Patch to sync with work done in the repo package: https://bugs.archlinux.org/task/74082

Excludes the --target "$CARCH-unknown-linux-gnu" flag for cargo fetch so the package still works for users on other architectures.

Switches to the development branch, which is where the work is done. The master branch matches the latest release.

Edit: Fixed the patch. Accidentally used the tag fragment instead of branch when switching back from testing a particular commit.

emilio-r commented on 2021-10-15 08:32 (UTC)

@brunomiguel: Thanks for the heads up. Should be fixed with the latest PKGBUILD.

brunomiguel commented on 2021-10-13 19:08 (UTC) (edited on 2021-10-13 19:11 (UTC) by brunomiguel)

I'm trying to build this package, but I keep getting this error:

Compiling himalaya v0.5.0 (/home/brunomiguel/userrepository/cache/himalaya-git/src/himalaya)
    Finished release [optimized] target(s) in 1m 27s
==> A iniciar check()...
error: no library targets found in package `himalaya`
==> ERRO: Uma falha ocorreu em check().
    A cancelar...
Command exited with non-zero status 4

If I disable the check() step, I can build it

emilio-r commented on 2021-05-05 11:27 (UTC)

@rakoo: Thank you for the heads up! Just pushed your fix to the AUR :) Also, thanks so much for adding the info to the wiki!

rakoo commented on 2021-04-26 22:23 (UTC) (edited on 2021-04-26 22:23 (UTC) by rakoo)

I'm not doing any rust development locally and when installing this package I got this error:

error: no override and no default toolchain set
==> ERROR: A failure occurred in build().
    Aborting...

I stumbled upon this link that proposes a fix that allows me to build:

https://www.gitmemory.com/issue/vn971/rua/133/663632127

Basically here's the diff:

diff --git a/PKGBUILD b/PKGBUILD
index 0399ae6..5531129 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,12 +21,12 @@ pkgver() {

 build() {
        cd "$_pkgname"
-       cargo build --release --locked --all-features --target-dir=target
+       RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target
 }

 check() {
    cd "$_pkgname"
-   cargo test --release --locked --target-dir=target
+   RUSTUP_TOOLCHAIN=stable cargo test --release --locked --target-dir=target
 }

 package() {