==> Package file not found: st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip
==> Browser opened: https://www.st.com/en/development-tools/stm32cubeclt.html
==> Log in, download st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip (The Part Number is STM32CubeCLT-Lnx), save it to: /home/ascendliu/Downloads/AUR/stm32cubeclt
==> Press Enter once the file is saved...
==> 正在创建软件包:stm32cubeclt 1.21.0-1 (2026年05月06日 星期三 23时51分48秒)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码...
-> 找到 st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip
-> 找到 http_headers
-> 正在下载 SLA0048_STM32CubeCLT.pdf...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 99.00k 0 99.00k 0 0 307.2k 0 0
==> 正在验证 source 文件,使用sha256sums...
st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip ... 通过
http_headers ... 通过
SLA0048_STM32CubeCLT.pdf ... 通过
==> 正在释放源码...
-> 正在解压缩 st-stm32cubeclt_1.21.0_27995_20260219_1804_amd64.sh.zip,使用 bsdtar
==> 正在开始 prepare()...
Creating directory stm32cubeclt_1.21.0
Verifying archive integrity... 100% All good.
Uncompressing STM32CubeCLT 1.21.0 installer 100%
Creating directory stm32cubeclt_1.21.0/stlink-server.2.1.1-1
Verifying archive integrity... 100% All good.
Uncompressing STM STLink-Server installer 100%
Creating directory stm32cubeclt_1.21.0/stlink-udev-rules-1.0.3-3
Verifying archive integrity... 100% All good.
Uncompressing STLink udev rules 100%
==> 正在进入 fakeroot 环境...
==> 正在开始 package_stm32cubeclt()...
Installing STM32CubeCLT 1.21.0...
Installing shell profile cubeclt-bin-path_1.21.0.sh...
Installing license SLA0048_STM32CubeCLT.pdf...
==> 正在清理安装...
-> 正在删除 libtool 文件...
-> 正在移除静态库文件...
-> 正在清除不打算要的文件...
-> 正在复制调试符号所需的源文件...
-> 正在压缩 man 及 info 文档...
==> 正在检查打包问题...
==> 正在构建软件包"stm32cubeclt"...
-> 正在生成 .PKGINFO 文件...
-> 正在生成 .BUILDINFO 文件...
-> 正在添加 install 文件...
-> 正在生成 .MTREE 文件...
-> 正在压缩软件包...
==> 正在离开 fakeroot 环境。
==> 完成创建:stm32cubeclt 1.21.0-1 (2026年05月06日 星期三 23时53分12秒)
==> 正在安装 stm32cubeclt 软件包组,使用 pacman -U...
[sudo] ascendliu 的密码:
正在加载软件包...
正在解析依赖关系...
警告:无法解决 "stlink-server","stm32cubeclt" 的一个依赖关系
:: 因为无法解决依赖关系,以下软件包无法进行更新:
stm32cubeclt
:: 您想在本次更新中跳过上述软件包吗? [y/N] n
错误:无法准备事务处理 (无法满足依赖关系)
:: 无法满足依赖 'stlink-server' (stm32cubeclt 需要)
==> 警告: 安装创建的软件包失败。
~/Downloads/AUR/stm32cubeclt on master !1 ❯ makepkg -si took 17m 2s
==> 警告: 已有一个构建好的软件包组,正在安装现有的软件包...
==> 正在安装 stm32cubeclt 软件包组,使用 pacman -U...
[sudo] ascendliu 的密码:
正在加载软件包...
正在解析依赖关系...
警告:无法解决 "stlink-server","stm32cubeclt" 的一个依赖关系
:: 因为无法解决依赖关系,以下软件包无法进行更新:
stm32cubeclt
:: 您想在本次更新中跳过上述软件包吗? [y/N] n
错误:无法准备事务处理 (无法满足依赖关系)
:: 无法满足依赖 'stlink-server' (stm32cubeclt 需要)
==> 警告: 安装创建的软件包失败。
depends=('stlink' # "stlink-udev-rules" 'libusb' #'stlink-server' # 'ncurses' # 'python2' )
Pinned Comments
tomaz-suller commented on 2025-08-03 04:35 (UTC)
The SHA is correct but it doesn't match the ZIP file downloaded by the build script. Downloading it manually from ST's website (https://www.st.com/en/development-tools/stm32cubeclt.html) and putting it inside the package folder, I got it to work