Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upgrade to bun v1.1.24 #13428

Open
HubertKauker opened this issue Aug 20, 2024 · 4 comments
Open

Unable to upgrade to bun v1.1.24 #13428

HubertKauker opened this issue Aug 20, 2024 · 4 comments
Labels
bun install Something that relates to the npm-compatible client

Comments

@HubertKauker
Copy link

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 HubertKauker added the bun install Something that relates to the npm-compatible client label Aug 20, 2024
@HubertKauker
Copy link
Author

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

@thakuad
Copy link

thakuad commented Aug 20, 2024

@HubertKauker

  • Uninstall Bun:
    Run the following command to remove Bun:

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

  • Install Bun:
    Use Homebrew to install Bun:
    brew install oven-sh/bun/bun (for macOS and Linux)

  • Verify Installation:
    Check the installed version of Bun by running:

bun --version

@HubertKauker
Copy link
Author

HubertKauker commented Aug 20, 2024

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
Copy link

liyunde commented Aug 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun install Something that relates to the npm-compatible client
Projects
None yet
Development

No branches or pull requests

3 participants