























The hash mismatched.
==> Retrieving sources...
-> Found cherry-studio-1.7.17.AppImage
-> Found cherry-studio.desktop
-> Found cherry-studio.png
-> Found cherry-studio-bin.sh
==> Validating source files with sha256sums...
cherry-studio-1.7.17.AppImage ... FAILED
cherry-studio.desktop ... Passed
cherry-studio.png ... Passed
cherry-studio-bin.sh ... Passed
==> ERROR: One or more files did not pass the validity check!
The entire v1.7.16 release on GitHub has been removed.
The package is failing to build.
==> Making package: cherry-studio-bin 1.7.16-1 (Fri 06 Feb 2026 02:23:55 PM)
==> Retrieving sources...
-> Downloading cherry-studio-1.7.16.AppImage...
HTTP ERROR response 404 [https://github.com/cherryHQ/cherry-studio/releases/download/v1.7.16/Cherry-Studicherry-studio-1.7.16 100% [=======================================================>] 9 --.-KB/s
[Files: 0 Bytes: 9 [17 B/s] Redirects: 0 Todo: 0 Erro]
==> ERROR: Failure while downloading https://github.com/cherryHQ/cherry-studio/releases/download/v1.7.16/Cherry-Studio-1.7.16-x86_64.AppImage
Aborting...
error: failed to download sources for 'cherry-studio-bin-1.7.16-1':
error: packages failed to build: cherry-studio-bin-1.7.16-1
Only .zip and .tar.gz source code packages are available in the 1.17.16 release page. Is the Appimage supposed to be available?
For fixing sha256sums:
in PKGBUILD:
case "$CARCH" in
x86_64)
_sha256sum='45c191ca79656f539e4912bcda8365d49845fa97a10194edaaf1bcd83a0ba1e6'
;;
aarch64)
_sha256sum='40a2032bac2967961fa80bad31df58a5c15242b4e5933d4a3749f11c7b3dca4c'
;;
esac
The package is failing to install.
...
-> Found cherry-studio.desktop
-> Found cherry-studio.png
-> Found cherry-studio-bin.sh
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
cherry-studio-1.7.15.AppImage ... FAILED
cherry-studio.desktop ... Passed
cherry-studio.png ... Passed
cherry-studio-bin.sh ... Passed
==> ERROR: One or more files did not pass the validity check!
-> error downloading sources: /home/l13/.cache/yay/cherry-studio-bin
context: exit status 1
==> Validating source files with sha256sums...
cherry-studio-1.7.15.AppImage ... FAILED
Could you add support for arm64 binaries? The next part is my patch.
From f367a04e683402e62019cd053a6ba2e404c85787 Mon Sep 17 00:00:00 2001
From: ArchieMeng <archiemeng@protonmail.com>
Date: Thu, 8 Jan 2026 00:21:40 +0800
Subject: [PATCH] Add support for aarch64 architecture
---
PKGBUILD | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
index 387d83c..73d87bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,14 @@ _pkgname=cherry-studio
pkgver=1.7.9
pkgrel=1
pkgdesc="🍒 Cherry Studio is a desktop client that supports for multiple LLM providers "
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
url="https://github.com/cherryHQ/cherry-studio"
license=('AGPL-3.0')
options=('!strip' '!debug')
depends=('fuse2')
-source=("${_pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/Cherry-Studio-${pkgver}-${arch}.AppImage"
- "${_pkgname}.desktop"
+source_x86_64=("${_pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/Cherry-Studio-${pkgver}-${arch}.AppImage")
+source_aarch64=("${_pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/Cherry-Studio-${pkgver}-arm64.AppImage")
+source=("${_pkgname}.desktop"
"${_pkgname}.png"
"${pkgname}.sh")
noextract=("${_pkgname}-${pkgver}.AppImage")
@@ -34,7 +35,8 @@ package() {
# Install cherry-studio-bin.sh
install -m755 "${pkgname}.sh" "${pkgdir}/usr/bin/${_pkgname}"
}
-sha256sums=('89232c927fa5521a86ecfe19e72aba995716e8e265b1da12ac55f183fa7e9094'
- 'fd0b11ca782c9c0de6dbf34143b7f14560b4a7020e316c58e9a5e1115551c7ee'
+sha256sums_x86_64=('89232c927fa5521a86ecfe19e72aba995716e8e265b1da12ac55f183fa7e9094')
+sha256sums_aarch64=('ce9c2faa39ffe27f2880141060f2d9d1c2c779e704bbd05071364f7f1216f1b8')
+sha256sums=('fd0b11ca782c9c0de6dbf34143b7f14560b4a7020e316c58e9a5e1115551c7ee'
'597463003798254ab97505e2374485e55262152483f717f3169da3444de60f94'
'6aed5e7ca95679b2545540241dc9e6b055da1dfde696006a1712f90cfbfaec92')
--
2.52.0
Not sure why the readme file exists here, but it also contains the wrong URL.
为什么PKGBUILD里面的AppImage的sha256sum是SKIP?每次提交前运行一下updpkgsums来更新checksum不麻烦吧?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。