Package Details: solana-cli 1:3.1.14-1

Git Clone URL: https://aur.archlinux.org/solana.git (read-only, click to copy)
Package Base: solana
Description: Solana CLI tools
Upstream URL: https://github.com/anza-xyz/agave
Keywords: blockchain solana web3
Licenses: Apache-2.0
Conflicts: spl-token
Provides: spl-token
Submitter: ivanmlerner
Maintainer: nardholio (aarto)
Last Packager: nardholio
Votes: 8
Popularity: 0.164398
First Submitted: 2021-03-18 02:32 (UTC)
Last Updated: 2026-04-29 23:28 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

aarto commented on 2026-03-31 17:41 (UTC) (edited on 2026-03-31 17:42 (UTC) by aarto)

Hi nardholio! I maintain solana-bin on the AUR (prebuilt CLI tools). Since Anza dropped prebuilt validator binaries in v3.0, I've been looking at how to provide those from source and noticed your package already builds everything. Would you be open to converting solana into a split package (pkgbase=solana)? The natural split follows the existing build phases in your PKGBUILD:

solana — CLI tools (solana, solana-keygen, solana-gossip, solana-faucet, solana-stake-accounts, solana-tokens, spl-token, and optionally agave-install/init). Owns sysusers/tmpfiles. agave-validator — Node operator tools (agave-validator, agave-watchtower, solana-genesis, plus the DCOU/stress-test bins and perf-libs). solana-dev — Program developer tools (cargo-build-sbf, cargo-test-sbf, solana-test-validator, agave-ledger-tool, agave-store-tool, solana-banking-bench, platform-tools-sdk, program deps).

The build() function would stay essentially the same — the three cargo invocations you already have map directly to these groups. Only package() splits into three functions installing different subsets. The main benefit would be that users who just need the CLI don't pull in a validator stack, the DCOU feature boundary is explicit in the packaging, and provides/conflicts can align with solana-bin/solana-dev-bin for users who prefer prebuilt binaries. Happy to help with the implementation or co-maintain. Let me know what you think!

toynbeeidea commented on 2025-07-21 18:08 (UTC) (edited on 2025-07-21 18:08 (UTC) by toynbeeidea)

error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.8.1/fused-src/" "-I" "/home/erik/.cache/yay/solana/src/agave/target/release/build/lz4-sys-c221d104f55beec8/out/include" "-I" "." "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=3" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-Wp,-D_GLIBCXX_ASSERTIONS" "-std=c++17" "-Wsign-compare" "-Wshadow" "-Wno-unused-parameter" "-Wno-unused-variable" "-Woverloaded-virtual" "-Wnon-virtual-dtor" "-Wno-missing-field-initializers" "-Wno-strict-aliasing" "-Wno-invalid-offsetof" "-msse2" "-std=c++17" "-DLZ4=1" "-DNDEBUG=1" "-DOS_LINUX" "-DROCKSDB_PLATFORM_POSIX" "-DROCKSDB_LIB_IO_POSIX" "-DROCKSDB_SUPPORT_THREAD_LOCAL" "-o" "/home/erik/.cache/yay/solana/src/agave/target/release/build/librocksdb-sys-a78909effa7dfb2a/out/251aeb12ab2525d6-trace_record.o" "-c" "rocksdb/trace_replay/trace_record.cc" with args c++ did not execute successfully (status code exit status: 1).

getong commented on 2025-07-17 14:17 (UTC)

currently, 2.3.4 version is released, please update it.

Xeonacid commented on 2024-03-31 12:14 (UTC)

The PKGBUILD seems overly complicated. Why not just install with ./scripts/cargo-install-all.sh ?

@alureon Since we want to follow Arch's Rust package guidelines and have some more control. :)

alureon commented on 2024-01-26 04:31 (UTC)

The PKGBUILD seems overly complicated. Why not just install with ./scripts/cargo-install-all.sh ?

That would make this package SO low maintenance.

tallero commented on 2022-06-03 15:33 (UTC)

@ivanmlerner could you add extra archs?

sphene commented on 2022-02-13 17:30 (UTC) (edited on 2022-02-13 17:30 (UTC) by sphene)

@cjayross To fix the problem with missing BPF SDK, copy or soft link it from the source directory you ran makepkg to /usr/bin/sdk/bpf.

Problem:

BPF SDK path does not exist: /usr/bin/sdk/bpf: No such file or directory (os error 2)

Solution:

git clone https://aur.archlinux.org/solana.git 
cd solana
makepkg -si
mkdir -p /usr/bin/sdk/bpf
cp ./pkg/solana/usr/bin/* /usr/bin/sdk/bpf/

Note: after that, if you run into issues with edition, run rustup default nightly && rustup update

tallero commented on 2022-01-11 20:59 (UTC)

Missing clang makedep.

cjayross commented on 2022-01-10 01:22 (UTC) (edited on 2022-01-10 01:28 (UTC) by cjayross)

Unable to build programs with the installation provided.

cargo build-bpf emits

BPF SDK path does not exist: /usr/bin/sdk/bpf: No such file or directory (os error 2)