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

ncurses-rs dependency causing build errors on ARM #63

Closed
cinerea0 opened this issue Aug 7, 2020 · 1 comment
Closed

ncurses-rs dependency causing build errors on ARM #63

cinerea0 opened this issue Aug 7, 2020 · 1 comment

Comments

@cinerea0
Copy link

cinerea0 commented Aug 7, 2020

While attempting to package dijo for Void Linux, I became aware that dijo does not compile on ARM architectures. Based on build logs, this appears to be due to a dependency on ncurses-rs. This library has known problems compiling on ARM architectures (jeaye/ncurses-rs#184, jeaye/ncurses-rs#193), and it appears to be unmaintained as of November last year (The author is still around but is no longer addressing issues or merging pull requests). Luckily, there is an open PR that appears to solve this issue, but again it is unlikely that it will be merged. In order to fix this, you may have to fork ncurses-rs, merge the PR yourself, and use your fork as a dependency instead.

@oppiliappan
Copy link
Owner

Shouldn't be a problem with the latest version of dijo: v0.2.3, the pancurses dependency (which depends on ncurses-rs) has been switched out for termion, so dijo no longer (transitively or directly) depends on ncurses-rs.

@@ -1,4 +1,4 @@
-dijo v0.2.2 (/home/np/code/rustuff/dijo)
+dijo v0.2.3 (/home/np/code/rustuff/dijo)
 ├── chrono v0.4.13
 │   ├── num-integer v0.1.43
 │   │   └── num-traits v0.2.12
@@ -108,18 +108,10 @@
 │   ├── lazy_static v1.4.0
 │   ├── libc v0.2.73
 │   ├── log v0.4.11 (*)
-│   ├── maplit v1.0.2
-│   ├── pancurses v0.16.1
-│   │   ├── libc v0.2.73
-│   │   ├── log v0.4.11 (*)
-│   │   └── ncurses v5.99.0
-│   │       └── libc v0.2.73
-│   │       [build-dependencies]
-│   │       ├── cc v1.0.58
-│   │       └── pkg-config v0.3.18
 │   ├── signal-hook v0.1.16 (*)
-│   ├── term_size v0.3.2
-│   │   └── libc v0.2.73
+│   ├── termion v1.5.5
+│   │   ├── libc v0.2.73
+│   │   └── numtoa v0.1.0
 │   ├── unicode-segmentation v1.6.0
 │   └── unicode-width v0.1.8
 ├── directories v3.0.1
@@ -161,6 +153,8 @@
 │   ├── itoa v0.4.6
 │   ├── ryu v1.0.5
 │   └── serde v1.0.114 (*)
+├── toml v0.5.6
+│   └── serde v1.0.114 (*)
 └── typetag v0.1.5
     ├── erased-serde v0.3.12 (*)
     ├── inventory v0.1.7

Feel free to reopen if you face any issues, and thanks for all the help with packaging for voidlinux!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants