Package Details: claurst-bin 0.2.1-1

Git Clone URL: https://aur.archlinux.org/claurst-bin.git (read-only, click to copy)
Package Base: claurst-bin
Description: Your Favorite Terminal Coding Agent, now in Rust
Upstream URL: https://github.com/Kuberwastaken/claurst
Keywords: claude
Licenses: GPL-3.0-only
Conflicts: claurst
Provides: claurst
Submitter: Kamack38
Maintainer: Kamack38
Last Packager: Kamack38
Votes: 0
Popularity: 0.000000
First Submitted: 2026-04-19 21:43 (UTC)
Last Updated: 2026-10-26 22:49 (UTC)

Latest Comments

Thomot512 commented on 2026-05-22 13:19 (UTC)

Hi, This time the source_x86_64 file fail the validation process.

 paru claurst-bin
1 aur/claurst-bin 0.1.1-1 [+0 ~0.00] [Installed: 0.1.0-2]
    Your Favorite Terminal Coding Agent, now in Rust
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) claurst-bin-0.1.1-1

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: claurst-bin 0.1.1-1 (Fri 22 May 2026 03:17:51 PM CEST)
==> Retrieving sources...
  -> Downloading LICENSE-81cbae84a29ce7e770bf2bc7b178e50bda0ce8de6067aba661b0bc7b05b562f8...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100  35821 100  35821   0      0 142.1k      0                              0
  -> Downloading claurst-linux-x86_64-9566b3f88eef1d52c759133412019dcf274c2a5b75445efbd19eebac7eb898a5.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100 13.87M 100 13.87M   0      0 13.54M      0   00:01   00:01              0
==> Validating source files with sha256sums...
    LICENSE-81cbae84a29ce7e770bf2bc7b178e50bda0ce8de6067aba661b0bc7b05b562f8 ... Passed
==> Validating source_x86_64 files with sha256sums...
    claurst-linux-x86_64-9566b3f88eef1d52c759133412019dcf274c2a5b75445efbd19eebac7eb898a5.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'claurst-bin-0.1.1-1':
error: packages failed to build: claurst-bin-0.1.1-1

Kamack38 commented on 2026-05-14 17:21 (UTC)

Thanks @Thomot512, I was able to reproduce this issue and have pushed a fix. I've tested it and it should work.

Thomot512 commented on 2026-05-14 07:06 (UTC)

By the way if I download the claurst-linux-x86_64-cbe4196619de4985d564ca244ead51a23261fe18c0f84c95633966c83686e96b.tar.gz source file manually. It only contains one file: claurst. No architecture name.

Thomot512 commented on 2026-05-14 07:02 (UTC)

This is the full output of paru:

paru claurst-bin
1 aur/claurst-bin 0.1.0-1 [+0 ~0.00] [Installed]
    Your Favorite Terminal Coding Agent, now in Rust
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) claurst-bin-0.1.0-1

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
 (1/1) claurst-bin-0.1.0-1                           [--------------------------------------------------------------------------------]
:: claurst-bin:
  PKGBUILD:
    # Maintainer: Kamack38 <kamack38.biznes@gmail.com>
    _pkgname="claurst"
    _repo="Kuberwastaken/claurst"
    pkgname="${_pkgname}-bin"
    pkgver=0.1.0
    pkgrel=1
    pkgdesc="Your Favorite Terminal Coding Agent, now in Rust"
    arch=('x86_64' 'aarch64')
    url="https://github.com/$_repo"
    license=('GPL-3.0-only')
    makedepends=('curl')
    provides=("${_pkgname}")
    conflicts=("${_pkgname}")
    sha256sums=('81cbae84a29ce7e770bf2bc7b178e50bda0ce8de6067aba661b0bc7b05b562f8')
    sha256sums_x86_64=('cbe4196619de4985d564ca244ead51a23261fe18c0f84c95633966c83686e96b')
    sha256sums_aarch64=('5c2e449fbe3a2b4476699f5225d357287ecdf03b1be56e0d0f5c73fdc167fa85')
    source=(
        "LICENSE-${sha256sums[1]}::https://raw.githubusercontent.com/$_repo/v${pkgver}/LICENSE.md"
    )
    source_x86_64=("${_pkgname}-linux-x86_64-${sha256sums_x86_64}.tar.gz::$url/releases/download/v$pkgver/${_pkgname}-linux-x86_64.tar.gz")
    source_aarch64=("${_pkgname}-linux-aarch64-${sha256sums_aarch64}.tar.gz::$url/releases/download/v$pkgver/${_pkgname}-linux-aarch64.tar.gz")

    pkgver() {
        curl --silent -L "https://api.github.com/repos/$_repo/releases/latest" | # Get latest release from GitHub api
            grep '"tag_name":' |                                                    # Get tag line
            sed -E 's/.*"([^"]+)".*/\1/' |
            sed 's/v//'
    }

    package() {
        install -Dm 644 "${srcdir}/LICENSE-${sha256sums[1]}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
        if [[ "$CARCH" = 'x86_64' ]]; then
            install -Dm 755 "${srcdir}/${_pkgname}-linux-x86_64" "${pkgdir}/usr/bin/${_pkgname}"
        elif [[ "$CARCH" = 'aarch64' ]]; then
            install -Dm 755 "${srcdir}/${_pkgname}-linux-aarch64" "${pkgdir}/usr/bin/${_pkgname}"
        fi
    }

:: Accept changes? [Y/n]: y
fetching devel info...
==> Making package: claurst-bin 0.1.0-1 (Thu 14 May 2026 08:51:17 AM CEST)
==> Retrieving sources...
  -> Downloading LICENSE-...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100  35821 100  35821   0      0 179.1k      0                              0
  -> Downloading claurst-linux-x86_64-cbe4196619de4985d564ca244ead51a23261fe18c0f84c95633966c83686e96b.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100 13.12M 100 13.12M   0      0 19.46M      0                              0
==> Validating source files with sha256sums...
    LICENSE- ... Passed
==> Validating source_x86_64 files with sha256sums...
    claurst-linux-x86_64-cbe4196619de4985d564ca244ead51a23261fe18c0f84c95633966c83686e96b.tar.gz ... Passed
==> Making package: claurst-bin 0.1.0-1 (Thu 14 May 2026 08:51:19 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found LICENSE-
  -> Found claurst-linux-x86_64-cbe4196619de4985d564ca244ead51a23261fe18c0f84c95633966c83686e96b.tar.gz
==> Validating source files with sha256sums...
    LICENSE- ... Passed
==> Validating source_x86_64 files with sha256sums...
    claurst-linux-x86_64-cbe4196619de4985d564ca244ead51a23261fe18c0f84c95633966c83686e96b.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting claurst-linux-x86_64-cbe4196619de4985d564ca244ead51a23261fe18c0f84c95633966c83686e96b.tar.gz with bsdtar
==> Starting pkgver()...
==> Sources are ready.
claurst-bin-0.1.0-1: parsing pkg list...
==> Making package: claurst-bin 0.1.0-1 (Thu 14 May 2026 08:51:20 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '/home/thomot512/.cache/paru/clone/claurst-bin/src/claurst-linux-x86_64': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'claurst-bin-0.1.0-1':
error: packages failed to build: claurst-bin-0.1.0-1

Kamack38 commented on 2026-05-14 06:48 (UTC)

@Thomas512 This seems really strange since as you can see in the sources the source file is renamed to contain the architecture name. Could you please provide more insight as to how you build the package, attach a verbose log and build the package using makepkg as well. It did work on my machine;) (I'm using paru too).

Thomot512 commented on 2026-05-14 06:33 (UTC) (edited on 2026-05-14 06:34 (UTC) by Thomot512)

Hi, thanks for your work.

On my machine, using paru, the install fail to find the src/claurst-linux-x86_64 file. In the src/ folder, I only have a claurst file. Modifying the PKGBUILD file between line 30 and 36 as follow solved the issue:

package() {
    install -Dm 644 "${srcdir}/LICENSE-${sha256sums[1]}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    if [[ "$CARCH" = 'x86_64' ]]; then
        install -Dm 755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
    elif [[ "$CARCH" = 'aarch64' ]]; then
        install -Dm 755 "${srcdir}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
    fi