Package Details: openfang-cli 0.6.9-1

Git Clone URL: https://aur.archlinux.org/openfang.git (read-only, click to copy)
Package Base: openfang
Description: openfang CLI — terminal interface for the openfang Agent OS
Upstream URL: https://openfang.sh
Licenses: MIT, Apache-2.0
Provides: openfang
Submitter: SteamedFish
Maintainer: SteamedFish
Last Packager: SteamedFish
Votes: 0
Popularity: 0.000000
First Submitted: 2026-03-08 17:25 (UTC)
Last Updated: 2026-05-12 21:23 (UTC)

Dependencies (18)

Required by (2)

Sources (6)

Latest Comments

wuxxin commented on 2026-05-21 13:14 (UTC) (edited on 2026-05-21 13:14 (UTC) by wuxxin)

if you encounter "(Error: Could not lock configuration file '/dev/null': Permission denied)" while building, the following diff resolves that error.

diff --git a/PKGBUILD b/PKGBUILD
index 02d2d23..2ad0f80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,6 +27,7 @@ prepare() {
     # Ensure HOME is writable for any git operations triggered by cargo or npm
     mkdir -p "${srcdir}/.home"
     export HOME="${srcdir}/.home"
+    export GIT_CONFIG_GLOBAL="${HOME}/.gitconfig"

     cd "${pkgbase}-${pkgver}"
     export RUSTUP_TOOLCHAIN=stable
@@ -37,6 +38,7 @@ build() {
     # Ensure HOME is writable for any git operations triggered by cargo or npm
     mkdir -p "${srcdir}/.home"
     export HOME="${srcdir}/.home"
+    export GIT_CONFIG_GLOBAL="${HOME}/.gitconfig"

     cd "${pkgbase}-${pkgver}"
     export RUSTUP_TOOLCHAIN=stable
@@ -82,6 +84,11 @@ EOF
 }

 check() {
+    # Ensure HOME is writable for any git operations triggered by cargo or npm
+    mkdir -p "${srcdir}/.home"
+    export HOME="${srcdir}/.home"
+    export GIT_CONFIG_GLOBAL="${HOME}/.gitconfig"
+
     cd "${pkgbase}-${pkgver}"
     export RUSTUP_TOOLCHAIN=stable
     cargo test --frozen --release -p openfang-types --lib 2>/dev/null || true