Package Details: bun 1.2.2-3

Git Clone URL: https://aur.archlinux.org/bun.git (read-only, click to copy)
Package Base: bun
Description: Bun is a fast JavaScript all-in-one toolkit. This PKGBUILD builds from source, resulting into a smaller and faster binary depending on your CPU.
Upstream URL: https://github.com/oven-sh/bun
Keywords: bun compile js node ts
Licenses: GPL
Conflicts: bun-bin
Submitter: tiziodcaio
Maintainer: tiziodcaio
Last Packager: tiziodcaio
Votes: 18
Popularity: 0.54
First Submitted: 2023-09-12 21:31 (UTC)
Last Updated: 2025-02-21 07:30 (UTC)

Pinned Comments

tiziodcaio commented on 2025-01-31 09:42 (UTC)

Due to some complains I'll open a copy of the repository on github to get a better ticket system. If you have any issue with bun's packaging, you can also contact me on

https://github.com/tiziodcaio/bun/issues

or you can make a PR to https://github.com/tiziodcaio/bun/pulls

tiziodcaio commented on 2025-01-31 06:42 (UTC)

I need help packaging. Anyone could help as comantainer?

Latest Comments

1 2 3 Next › Last »

ctag commented on 2025-02-21 12:29 (UTC) (edited on 2025-02-21 12:29 (UTC) by ctag)

I encounter this error when trying to build. Not sure how to troubleshoot it.

/home/berocs/.cache/yay/bun/src/WebKit/Source/JavaScriptCore/runtime/WeakGCSet.h:61:1: note: used here
   61 | class WeakGCSet final : public WeakGCHashTable {
      | ^
2 warnings generated.
[2507/2507] Linking CXX executable bin/jsc
FAILED: bin/jsc 
: && /usr/bin/clang++ -fdiagnostics-color=always -fcolor-diagnostics -Wextra -Wall -Wl,-u,_WTFTimer__cancel -Wl,-u,_WTFTimer__secondsUntilTimer -Wl,-u,_WTFTimer__isActive -Wl,-u,_WTFTimer__deinit -Wl,-u,_WTFTimer__update -Wl,-u,_WTFTimer__create -pipe -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-parentheses-equality -Qunused-arguments -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -fdebug-types-section -mno-omit-leaf-frame-pointer -g -fno-omit-frame-pointer -ffunction-sections -fdata-sections -faddrsig -fno-unwind-tables -fno-asynchronous-unwind-tables -DU_STATIC_IMPLEMENTATION=1  -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 -g -ffile-prefix-map=/home/berocs/.cache/yay/bun/src=/usr/src/debug/bun -flto=auto -flto=full -fwhole-program-vtables -fforce-emit-vtables  -fno-c++-static-destructors -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=lld -Wl,--gc-sections -Wl,--disable-new-dtags    -Xlinker --dependency-file=Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/link.d Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/__/jsc.cpp.o -o bin/jsc  -ldl  lib/libJavaScriptCore.a  lib/libWTF.a  /usr/lib/libicudata.so  /usr/lib/libicui18n.so  /usr/lib/libicuuc.so  lib/libbmalloc.a  -ldl  -latomic && :
clang++: error: unable to execute command: Killed
clang++: error: linker command failed due to signal (use -v to see invocation)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: bun-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
bun - exit status 4

tiziodcaio commented on 2025-01-31 09:42 (UTC)

Due to some complains I'll open a copy of the repository on github to get a better ticket system. If you have any issue with bun's packaging, you can also contact me on

https://github.com/tiziodcaio/bun/issues

or you can make a PR to https://github.com/tiziodcaio/bun/pulls

tiziodcaio commented on 2025-01-31 06:42 (UTC)

I need help packaging. Anyone could help as comantainer?

bupd commented on 2024-12-29 21:48 (UTC)

Add ccache library as a dependency. I am facing dependency issue with yay

bbaovanc commented on 2024-12-24 04:23 (UTC)

Why does it act like bun has to already be installed to build it?

CMake Error at cmake/Globals.cmake:329 (message):
  Command not found: "bun" that satisfies version ">=1.1.26"

  The following commands did not satisfy the requirement:

  To fix this, either:

    1. Install bun >=1.1.26
    2. Set -DBUN_EXECUTABLE_VERSION=<version> to require a different version
    3. Set -DBUN_EXECUTABLE_VERSION=ignore to allow any version

Call Stack (most recent call first):
  cmake/tools/SetupBun.cmake:1 (find_command)
  CMakeLists.txt:35 (include)

claymorwan commented on 2024-12-16 18:14 (UTC)

Validity check keeps failing

f8rzd commented on 2024-11-12 15:00 (UTC)

I've been git cloning 800MBs of data and it's like only 11 percent done with my connection this is gonna take a while maybe downloading the latest .zip would be better that cloning the whole repo ?

tiziodcaio commented on 2024-09-24 13:53 (UTC)

This afternoon I've succeed to build correctly latest bun on llvm 18; this night I will update the package on AUR too!

tiziodcaio commented on 2024-07-31 09:11 (UTC)

Oh my I'm sorry but at the moment I cannot access to any laptop... If you have patience I will fix it in the second half of august. If anyone finds any solutions, I suggest to publish it here to share to everyone temporarily. At the same time, if anyone has skills to comantain this package, it would be a great help for the community!

ancoron commented on 2024-07-31 06:42 (UTC)

Hm, with 1.1.20-1, I now got this (built using: makepkg -sriCc):

$ /usr/bin/bun --version
bun: error while loading shared libraries: /home/ancoron/dev/aur/bun/src/bun/build/bun-deps/libtcc.a: cannot open shared object file: No such file or directory