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

0.1.4 upgrade fails on macOS Mojave #689

Closed
fnky opened this issue Jul 13, 2022 · 2 comments
Closed

0.1.4 upgrade fails on macOS Mojave #689

fnky opened this issue Jul 13, 2022 · 2 comments
Labels
bug Something isn't working needs repro Needs an example to reproduce

Comments

@fnky
Copy link

fnky commented Jul 13, 2022

Version

0.1.3 -> 0.1.4

Platform

macOS 10.14.6; Darwin fnky 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64

What steps will reproduce the bug?

Run bun upgrade to upgrade to 0.1.4

How often does it reproduce? Is there a required condition?

This happens every time.

What is the expected behavior?

It should upgrade to 0.1.4

What do you see instead?

It crashes with the following message:

bun v0.1.4 is out! You're on 0.1.3
dyld: lazy symbol binding failed: Symbol not found: _posix_spawn_file_actions_addchdir_np
  Referenced from: /Users/chris/.bun/bin/bun (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _posix_spawn_file_actions_addchdir_np
  Referenced from: /Users/chris/.bun/bin/bun (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libSystem.B.dylib


Crash at 4524454830


–––– bun meta ––––
Bun v0.1.3 macOS x64 18.7.0
UpgradeCommand:
Elapsed: 2890ms | User: 1485ms | Sys: 1360ms
RSS: 25.45MB | Peak: 25.45MB | Commit: 71.31MB | Faults: 0
–––– bun meta ––––

Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues

Additional information

The binary downloaded directly from releases seems to work fine.

Upgrading versions 0.1.2 to 0.1.3 have worked well. Have not been able to test on other macOS versions.

This could very well be a bug in Zig according to ziglang/zig#11562

@fnky fnky added bug Something isn't working needs repro Needs an example to reproduce labels Jul 13, 2022
@Kapsonfire-DE
Copy link
Contributor

i had bsod/gsod on windows/wsl when using upgrade command - 0.1.2 to 0.1.3 worked before for me... you can install fresh bun via the bash command as well

@zhuzilin
Copy link
Collaborator

This should be specifically relate to v0.1.3. Closed for now, if it happens again in newer version, feel free to reopen :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs repro Needs an example to reproduce
Projects
None yet
Development

No branches or pull requests

4 participants