Package Details: bun-bin 1.3.11-1

Git Clone URL: https://aur.archlinux.org/bun-bin.git (read-only, click to copy)
Package Base: bun-bin
Description: All-in-one JavaScript runtime built for speed, with bundler, transpiler, test runner, and package manager. Includes bunx, shell completions and support for baseline CPUs
Upstream URL: https://github.com/oven-sh/bun
Licenses: MIT
Conflicts: bun
Provides: bun
Submitter: qingyao
Maintainer: leonnelc
Last Packager: leonnelc
Votes: 3
Popularity: 2.48
First Submitted: 2026-03-21 14:30 (UTC)
Last Updated: 2026-03-30 14:51 (UTC)

Dependencies (0)

Required by (123)

Sources (4)

Latest Comments

simona commented on 2026-03-30 14:43 (UTC)

solved. tnx.

leonnelc commented on 2026-03-30 13:33 (UTC)

The latest PKGBUILD commits removed the baseline detection logic and now always downloads bun-linux-x64.zip, which requires AVX2.

This breaks CPUs without AVX2 (Illegal instruction, core dumped). The previous logic selecting bun-linux-x64-baseline.zip should be restored.

Proposed fix:

diff --git a/PKGBUILD b/PKGBUILD @@ _baseline='' if [[ $CARCH == 'x86_64' && ! grep -q avx2 /proc/cpuinfo ]]; then _baseline='-baseline' fi

source_x86_64=( "bun-x64-${pkgver}.zip::https://github.com/oven-sh/bun/releases/download/bun-v${pkgver}/bun-linux-x64${_baseline}.zip" )

qingyao commented on 2026-03-22 14:20 (UTC) (edited on 2026-03-22 14:26 (UTC) by qingyao)

@simona There's a binary file "bun" in /home/simona/.cache/yay/bun-bin, you can use this binary to debug the error and share it to me(maybe the binary is blocked???). For ease, you can create the file "bun.zsh" by hand.

simona commented on 2026-03-21 19:30 (UTC)

/home/simona/.cache/yay/bun-bin/PKGBUILD: line 27: 3235947 Illegal instruction (core dumped) SHELL=zsh "./bun" completions > "completions/bun.zsh"