Package Details: openchamber-desktop 1.9.10-1

Git Clone URL: https://aur.archlinux.org/openchamber-desktop.git (read-only, click to copy)
Package Base: openchamber-desktop
Description: Desktop app for OpenChamber AI coding interface (Tauri)
Upstream URL: https://github.com/openchamber/openchamber
Keywords: openchamber opencode
Licenses: MIT
Submitter: pdizzle
Maintainer: pdizzle
Last Packager: pdizzle
Votes: 0
Popularity: 0.000000
First Submitted: 2026-03-24 00:26 (UTC)
Last Updated: 2026-05-02 19:41 (UTC)

Pinned Comments

pdizzle commented on 2026-04-01 13:11 (UTC)

between v1.9.1 to v1.9.2 the repository was renamed. A clean build will be required otherwise you will likely get errors that the existing repository on your system is not a clone of the current one

Latest Comments

pdizzle commented on 2026-04-02 16:24 (UTC) (edited on 2026-04-02 16:33 (UTC) by pdizzle)

@JasonLandbridge - I understand you ran into an issue and I'm sorry about that. I'm glad you were able to resolve it.

I do not think we can utilize the fix you proposed, however, as that location for the bun executable is not guaranteed across systems (it will depend on installation method). If you think this is a bug, you should submit it upstream - its possible that -c would be all that is needed which would skip loading login shell configurations and might get around this issue. I do not think that it is the place of this package to work around this issue at this time. That is good research though and does seem like a pretty fragile way to find the bun executable.

JasonLandbridge commented on 2026-04-02 12:47 (UTC)

I hit a reproducible build failure in build() during:

  • bun run --cwd packages/desktop tauri build --bundles deb
  • beforeBuildCommand bun run build:sidecar (packages/desktop/scripts/build-sidecar.mjs)

Root cause: - build-sidecar.mjs resolves Bun with spawnSync('/bin/bash', ['-lc', 'command -v bun']) when BUN is not set. - On systems where shell startup prints anything (e.g. fastfetch/neofetch in .bashrc/.zshrc), stdout is polluted. - The script then treats that entire output blob as the executable path and fails with ENOENT (you can see syscall/path containing ANSI + ASCII art + /usr/bin/bun).

Suggested PKGBUILD hardening (explicit Bun path in build()):

build() {
    cd "openchamber-${pkgver}"

    export CARGO_HOME="${srcdir}/cargo-home"
    export BUN_INSTALL_CACHE_DIR="${srcdir}/bun-cache"
    export BUN=/usr/bin/bun

    # ring crate assembly symbols become invisible when -flto emits LLVM bitcode
    # objects; strip it so ring compiles to regular object files. See
    # https://github.com/briansmith/ring/issues/2746
    export CFLAGS="${CFLAGS/ -flto=auto/}"
    export CFLAGS="${CFLAGS/ -flto/}"
    export CXXFLAGS="${CXXFLAGS/ -flto=auto/}"
    export CXXFLAGS="${CXXFLAGS/ -flto/}"

    bun install --frozen-lockfile
    APPIMAGE_EXTRACT_AND_RUN=1 bun run --cwd packages/desktop tauri build --bundles deb
}

Why this helps: - build-sidecar.mjs first checks process.env.BUN; if set, it skips shell probing entirely. - Makes builds deterministic across user environments regardless of shell dotfile output.

I verified locally that setting BUN=/usr/bin/bun avoids the failure.

pdizzle commented on 2026-04-01 13:11 (UTC)

between v1.9.1 to v1.9.2 the repository was renamed. A clean build will be required otherwise you will likely get errors that the existing repository on your system is not a clone of the current one

pdizzle commented on 2026-03-24 00:28 (UTC) (edited on 2026-04-01 13:06 (UTC) by pdizzle)

EDIT: 1.9.2 is released and should be available here, which includes the fix noted below.

Note that v1.9.1 will expose your openchamber instance on the local network. This is resolved in bb4e36557107d47e9e0e28a6d9e521073da3f384 but is not tagged for release yet

For now, if you would like to track git to include this change openchamber-desktop-git is also available