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

Build failure: wezterm #231291

Closed
remi-gelinas opened this issue May 11, 2023 · 7 comments · Fixed by #233136
Closed

Build failure: wezterm #231291

remi-gelinas opened this issue May 11, 2023 · 7 comments · Fixed by #233136
Labels
0.kind: build failure A package fails to build

Comments

@remi-gelinas
Copy link

remi-gelinas commented May 11, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build wezterm for x86_64-darwin, on MacOS Ventura (13.3.x)

Build log

https://gist.github.com/remi-gelinas/fd07dce3a836a7c87f41b1a062350d9e

Additional context

Tested builds on both a x86_64-darwin hostSystem and an aarch64-darwin hostSystem and got the same error. Metadata was obtained on an aarch64-darwin machine compiling for both architectures, as x86 Darwin can be compiled for on Apple Silicon.

Notify maintainers

@SuperSandro2000

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 22.4.0, macOS 13.3.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.13.3`
 - channels(user): `""`
 - nixpkgs: `/nix/store/00d5ysz5ws1xpfv229m9ml6in7qlkz1b-source`
@remi-gelinas remi-gelinas added the 0.kind: build failure A package fails to build label May 11, 2023
@remi-gelinas remi-gelinas changed the title Build failure: western Build failure: wezterm May 11, 2023
@SuperSandro2000
Copy link
Member

No idea and I am not really motivated to dig into why this is broken myself. If someone figures it out, please fill a PR and I'll take a look at it.

  = note: Undefined symbols for architecture x86_64:
            "___darwin_check_fd_set_overflow", referenced from:
                _ssh_poll in liblibssh_rs_sys-fa10a07daad3af81.rlib(poll.o)
          ld: symbol(s) not found for architecture x86_64
          clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

@natsukium
Copy link
Member

FYI, the sdk versions may be bad.
#195606 (comment)
curl/curl#5210

@SuperSandro2000
Copy link
Member

We are using the 11 sdk since 08ccdcb

maybe some dependency also needs to be linked against that version?

/cc @mimame

@alienman5k
Copy link

Is there a way to choose the binary package instead of building from source?

@softinio
Copy link
Member

I am having the same issue since I last updated my flakes.

@SuperSandro2000
Copy link
Member

Is there a way to choose the binary package instead of building from source?

On MacOS you can download the wezterm binary from their page.

@remi-gelinas
Copy link
Author

Until this is fixed I've replaced the nixpkgs derivation with the MacOS universal binary. Working great so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants