Package Details: bun 1.1.38-1

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: 1.83
First Submitted: 2023-09-12 21:31 (UTC)
Last Updated: 2024-12-07 12:23 (UTC)

Latest Comments

1 2 3 Next › Last »

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

micwoj92 commented on 2024-07-16 16:57 (UTC)

Thanks for the update. I think it does clone the repos (or at least webkit) multiple times. One time from git submodule update init and then second time from set-webkit-submodule-to-cmake.sh script.

It would be best to add submodules to sources array: https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

micwoj92 commented on 2024-07-08 21:15 (UTC)

Sorry I can't. I wasn't able to build this, tried without llvm/clang/lld 16 and it failed hence posting this comment. I don't have time nor much reason to build these packages. Prebuild packages probably exist, but I don't really need bun for anything, so I didn't search.

tiziodcaio commented on 2024-07-08 19:17 (UTC)

Hi @micwoj92, this package has been improving significantly in recent months, but I can understand that some dependencies might appear bloated. I promise I'll address this issue as soon as I can, but if you're able to tackle it on your own (it shouldn't be too difficult), that would be great.

micwoj92 commented on 2024-07-08 19:09 (UTC)

Please forgive me for saying "bloat", but is it necessary to download all this bloat? Some things are already added here as either dependencies or make dependencies. Submodules for unnecessary things can be disabled.

==> Starting prepare()...
+ git submodule update --init --recursive --progress --depth=1 --checkout src/bun.js/WebKit src/deps/picohttpparser src/deps/mimalloc src/deps/zlib src/deps/libarchive src/deps/boringssl src/deps/lol-html src/deps/tinycc src/deps/c-ares src/deps/zstd src/deps/ls-hpack src/deps/zig
Submodule 'src/javascript/jsc/WebKit' (https://github.com/oven-sh/WebKit.git) registered for path 'src/bun.js/WebKit'
Submodule 'src/deps/boringssl' (https://github.com/oven-sh/boringssl.git) registered for path 'src/deps/boringssl'
Submodule 'src/deps/c-ares' (https://github.com/c-ares/c-ares.git) registered for path 'src/deps/c-ares'
Submodule 'src/deps/libarchive' (https://github.com/libarchive/libarchive.git) registered for path 'src/deps/libarchive'
Submodule 'src/deps/lol-html' (https://github.com/cloudflare/lol-html) registered for path 'src/deps/lol-html'
Submodule 'src/deps/ls-hpack' (https://github.com/litespeedtech/ls-hpack.git) registered for path 'src/deps/ls-hpack'
Submodule 'src/deps/mimalloc' (https://github.com/Jarred-Sumner/mimalloc.git) registered for path 'src/deps/mimalloc'
Submodule 'src/deps/picohttpparser' (https://github.com/h2o/picohttpparser.git) registered for path 'src/deps/picohttpparser'
Submodule 'src/deps/tinycc' (https://github.com/Jarred-Sumner/tinycc.git) registered for path 'src/deps/tinycc'
Submodule 'zig' (https://github.com/oven-sh/zig) registered for path 'src/deps/zig'
Submodule 'src/deps/zlib' (https://github.com/cloudflare/zlib.git) registered for path 'src/deps/zlib'
Submodule 'src/deps/zstd' (https://github.com/facebook/zstd.git) registered for path 'src/deps/zstd'

tiziodcaio commented on 2024-05-13 20:20 (UTC)

Great! I was searching for a solution for that problem!