Skip to content

New package: wezterm-20220905_1 #36903

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

Merged
merged 1 commit into from
Nov 17, 2022
Merged

Conversation

jbenden
Copy link
Contributor

@jbenden jbenden commented Apr 28, 2022

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

@jbenden
Copy link
Contributor Author

jbenden commented Apr 28, 2022

I've also locally built aarch64 (cross) and i686 (cross).

I do not know what to do about the i686 check errors. These seem like bugs within some Rust crate(s), and may not impact use of the program on i686.

Thoughts, comments, and suggestions are welcomed,
-Joe

@classabbyamp
Copy link
Member

classabbyamp commented Apr 28, 2022

you could do something like

if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
    # comment explaining why
    make_check=no
fi

@paper42 paper42 added the new-package This PR adds a new package label Apr 29, 2022
@jbenden jbenden requested a review from paper42 April 29, 2022 20:59
@classabbyamp
Copy link
Member

classabbyamp commented Jun 25, 2022

arch's package also installs some shell completions, it would be good to include those too

https://github.com/archlinux/svntogit-community/blob/b903da54ec78dc74fff1e6fb692c358d3898c2fb/trunk/PKGBUILD#L78-L80

@jbenden
Copy link
Contributor Author

jbenden commented Jul 9, 2022

I added zlib-devel in hopes of resolving the various build errors; but it did not help. Additionally, I have no idea on why i686 is segmentation faulting.

Thoughts, suggestions, and/or ideas are always welcomed,
-Joe

@auronandace
Copy link
Contributor

Does the latest version have the same issues?

Also, I came across this page: https://github.com/wez/wezterm/blob/main/README-DISTRO-MAINTAINER.md

@jbenden jbenden force-pushed the wezterm branch 2 times, most recently from 4d22b0e to 899b894 Compare September 25, 2022 17:05
@jbenden
Copy link
Contributor Author

jbenden commented Sep 25, 2022

Yup. :(

wez added a commit to wezterm/wezterm that referenced this pull request Oct 15, 2022
I noticed from void-linux/void-packages#36903
that 32-bit systems were failing to pass the test suite.

Running `cargo test --target i686-unknown-linux-gnu  -- --nocapture
teeny_string` showed that we were faulting in the teenystring code
and digging a bit deeper showed that it was because our assumptions
about the high bits were wrong for 32-bit systems.

Fix this by making TeenyString based around a u64 rather than usize
so that we guarantee its size on all current systems.
@wez
Copy link

wez commented Oct 15, 2022

I do not know what to do about the i686 check errors. These seem like bugs within some Rust crate(s), and may not impact use of the program on i686.

Those were serious bugs that would break the program on i686 and should be resolved by wezterm/wezterm@7b904f0

@jbenden jbenden force-pushed the wezterm branch 2 times, most recently from 01c7b63 to 4911140 Compare October 17, 2022 23:13
@jbenden jbenden force-pushed the wezterm branch 3 times, most recently from 74cd171 to 69b4128 Compare October 20, 2022 15:43
@classabbyamp classabbyamp changed the title New package: wezterm-20220408_1 New package: wezterm-20220905_1 Oct 27, 2022
Copy link
Member

@classabbyamp classabbyamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i think these are my last comments

@classabbyamp classabbyamp requested a review from paper42 October 27, 2022 22:49
@classabbyamp
Copy link
Member

I might be able to investigate the cross issue soon, but I think that can be solved later if I don't have time

@classabbyamp
Copy link
Member

actually one more thing: swap the location the do_check and do_build functions, so the order matches the order of the steps in xbps-src

@vikigenius
Copy link
Contributor

Is there anything else blocking this from merging? I would love to use Wezterm in void

@paper42 paper42 requested a review from classabbyamp November 14, 2022 22:33
@classabbyamp
Copy link
Member

was going to look at this tonight and see if I can fix cross -- if not, I'll merge it as-is

@paper42
Copy link
Member

paper42 commented Nov 14, 2022

was going to look at this tonight and see if I can fix cross -- if not, I'll merge it as-is

Great, I also think this might fail to build for ppc*, but I don't have a way to test that and it's just a guess, so I think we can just restrict it when it fails.

@jbenden jbenden force-pushed the wezterm branch 3 times, most recently from 8771c5f to c175df4 Compare November 16, 2022 18:29
Copy link
Member

@classabbyamp classabbyamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, last round, hopefully

Fixes: void-linux#35721
Signed-off-by: Joseph Benden <joe@benden.us>
@jbenden
Copy link
Contributor Author

jbenden commented Nov 17, 2022

@classabbyamp Has anyone told you how awesome you are! Thank you for helping so much with this PR; it has certainly produced a better package!

@classabbyamp classabbyamp merged commit 6002186 into void-linux:master Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants