Package Details: zeroclaw 0.1.8-1

Git Clone URL: https://aur.archlinux.org/zeroclaw.git (read-only, click to copy)
Package Base: zeroclaw
Description: Zero overhead, fully autonomous AI assistant runtime (100% Rust)
Upstream URL: https://github.com/zeroclaw-labs/zeroclaw
Licenses: MIT, Apache-2.0
Submitter: SteamedFish
Maintainer: SteamedFish
Last Packager: SteamedFish
Votes: 1
Popularity: 0.92
First Submitted: 2026-03-03 15:01 (UTC)
Last Updated: 2026-03-09 10:24 (UTC)

Latest Comments

SteamedFish commented on 2026-03-09 10:27 (UTC)

@taotieren

Thanks for the suggestion! You're absolutely right—I had applied this in my previous PKGBUILDs but overlooked it this time. My oversight. Regarding the target triples: using "$CARCH-unknown-linux-gnu" is actually insufficient for Arch's architecture naming conventions. Specifically:

aarch64 correctly maps to aarch64-unknown-linux-gnu ✅
armv7h requires armv7-unknown-linux-gnueabihf, not armv7h-unknown-linux-gnu ❌
riscv64 requires riscv64gc-unknown-linux-gnu, not riscv64-unknown-linux-gnu ❌

I've corrected this by using cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" to ensure the correct target triple is always fetched regardless of architecture. Fixed now.

taotieren commented on 2026-03-09 09:57 (UTC)

Thank you. There is also a suggestion to configure the following in prepare. You can only download packages related to the current architecture and reduce the download of packages for other architectures.

    cargo fetch --locked --target host-tuple
    cargo fetch --target "$CARCH-unknown-linux-gnu"

SteamedFish commented on 2026-03-09 09:49 (UTC)

@taotieren

This is caused by a rustc 1.94.0 regression — the new compiler increases query depth for async fn layout analysis, which overflows matrix-sdk v0.16.0's default recursion limit of 128. Users on rustc 1.93.1 are unaffected.

The AUR PKGBUILD has been patched (commit 063fd63) — updating your package with paru -Syu zeroclaw or yay -Syu zeroclaw will pick up the fix. The patch applies #![recursion_limit = "256"] to matrix-sdk's crate root during prepare(), exactly as the compiler suggests.

The bug has been reported upstream:

The PKGBUILD workaround will be removed once a new matrix-sdk release ships the proper fix.

taotieren commented on 2026-03-09 05:39 (UTC)

Hello. There are the following errors in my extra environment compilation under devtools. Can you help repair it? Thank you.

   Compiling quick-xml v0.37.5
   Compiling nanohtml2text v0.2.1
   Compiling glob v0.3.3
error: queries overflow the depth limit!
  |
  = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`matrix_sdk`)
  = note: query depth increased by 130 when computing layout of `{async fn body of client::<impl at /usr/src/debug/zeroclaw/.cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/matrix-sdk-0.16.0/src/client/mod.rs:488:1: 488:12>::sync()}`

error: could not compile `matrix-sdk` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...