oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.13k stars 2.67k forks source link

Unable to upgrade to bun v1.1.24 #13428

Open HubertKauker opened 3 weeks ago

HubertKauker commented 3 weeks ago

How can we reproduce the crash?

bun upgrade

Relevant log output

Bun v1.1.24 is out! You're on v1.1.6
error: failed to verify Bun (exit code: 6)

I am on MacOS 10.15.7 (Catalina).
Please do not tell me to upgrade my OS.
Catalina is the last OS supported by my hardware.

Stack Trace (bun.report)

see above

HubertKauker commented 3 weeks ago

Sorry - wrong label npm. Should be macOS. Don't know how to change that...

thakuad commented 3 weeks ago

@HubertKauker

rm -rf ~/.bun (for macOS and Linux)

bun --version

HubertKauker commented 3 weeks ago

Thanks for your attention. Removed existing bun version. Installed homebrew, which complained about my old OS. Installation worked, so far. Was able to run 'brew install oven-sh/bun/bun' anyway. Failure thereafter. A symbol error is reported concerning _preadv$NOCANCEL. - What does it mean?

OUTPUT:

Warning: You are using macOS 10.15. We (and Apple) do not provide support for this old version. It is expected behaviour that some formulae will fail to build in this old version. It is expected behaviour that Homebrew will be buggy and slow. Do not create any issues about this on Homebrew's GitHub repositories. Do not create any issues even if you think this message is unrelated. Any opened issues will be immediately closed without response. Do not ask for help from Homebrew or its maintainers on social media. You may ask for help in Homebrew's discussions but are unlikely to receive a response. Try to figure out the problem yourself and submit a fix as a pull request. We will review it but may or may not accept it.

==> Fetching oven-sh/bun/bun ==> Downloading https://github.com/oven-sh/bun/releases/download/bun-v1.1.24/bun ==> Downloading from https://objects.githubusercontent.com/github-production-rel ######################################################################### 100.0% ==> Installing bun from oven-sh/bun dyld: Symbol not found: _preadv$NOCANCEL Referenced from: /usr/local/Cellar/bun/1.1.24/bin/bun (which was built for Mac OS X 13.0) Expected in: /usr/lib/libSystem.B.dylib

Error: Failure while executing; \{\"SHELL\"=\>\"bash\"\} /usr/local/Cellar/bun/1.1.24/bin/bun completions bash was terminated by uncaught signal ABRT.

Well... I tried to install other versions using: curl -fsSL https://bun.sh/install | bash -s "bun-v1.1.x"

It works up to v1.1.20. Apparently, later version where built for Mac OS X 13.0. Too bad! - Why?

The same symbol error as above I am getting after 'bun --version' comes up:

dyld: Symbol not found: _preadv$NOCANCEL Referenced from: /Users/hubert/.bun/bin/bun (which was built for Mac OS X 13.0) Expected in: /usr/lib/libSystem.B.dylib zsh: abort bun --version

I guess, I am stuck with v.1.1.20. The release documentations do not contain special requirements as to the OS level, do they?

liyunde commented 3 weeks ago

since 1.1.21 build change Makefile | Upgrade WebKit (#12873) | 3 weeks ago WebKit need OS X 13.0 my mac 11.7.10 no support also abort dyld: Symbol not found: _ubrk_clone old mac still work @1.1.20