wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.77k stars 795 forks source link

wanted: aarch64 ubuntu packages #1329

Closed ghost closed 2 years ago

ghost commented 2 years ago

poco x3 pro termux proot-distro

/etc/os-release

NAME="Ubuntu"
VERSION="21.04 (Hirsute Hippo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 21.04"
VERSION_ID="21.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute
cargo build --release
Updating git repository `https://github.com/wez/ssh2-rs.git`
error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to load source for dependency `ssh2`

Caused by:
  Unable to update https://github.com/wez/ssh2-rs.git?branch=win32ssl#c6506704

Caused by:
  object not found - no match for id (c65067040c97a0cf7f96c69d6fc87764a32c34ae); class=Odb (9); code=NotFound (-3)
wez commented 2 years ago

Which version of wezterm are you building?

ghost commented 2 years ago

wezterm-20210814-124438-54e29167

wez commented 2 years ago

Please try the nightly build instead!

ghost commented 2 years ago

git clone

[root wezterm]# cargo build --release                                     Updating crates.io index                                              Updating git repository `https://github.com/yeslogic/allsorts.git`
error: failed to get `allsorts` as a dependency of package `wezterm-font v0.1.0 (/root/git/wezterm/wezterm-font)`                           
Caused by:                                                              failed to load source for dependency `allsorts`                                                                                           Caused by:                                                              Unable to update https://github.com/yeslogic/allsorts.git?rev=3947164a201ab5e15d5f23204faaaaaad52531aa#3947164a
                                                                      Caused by:                                                              the given reference name 'refs/remotes/origin/.l2s.HEAD.lock0001' is not valid; class=Reference (4)
wez commented 2 years ago

That sounds like a local-to-you issue with your git repo :-/

ghost commented 2 years ago

It seems that some people have faced the same problem with termux builds.

https://github.com/jheinen/GR.jl/issues/271

ghost commented 2 years ago

Do you know that X11 and OpenGL can work with termux in android? (Not VNC!) alacritty is buildable and working.

ghost commented 2 years ago

I've put together a list of ways to use X11 with termux and will describe them.

https://github.com/nagasawa/termux-tools/wiki

wez commented 2 years ago

I don't really know anything about termux, and I don't have a device to try to figure things out there. However, from the info you shared, it sounds like having a pre-built aarch64 ubuntu package would work there?

ghost commented 2 years ago

yes

jwiede commented 2 years ago

Nvidia Jetpack users would also love AARCH64/ARM64 Ubuntu 18.04 builds of wezterm!

wez commented 2 years ago

What's needed to make progress here is figuring out how to get GitHub Actions CI to run on that architecture to produce that output (Alternatively: cross compile for it), so that we can automate producing these packages.

wez commented 2 years ago

aarch64 builds are now available for the flathub version of wezterm https://wezfurlong.org/wezterm/install/linux.html#installing-on-linux-via-flathub

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.