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
dvtm doesn't build for aarch64 #83575
Comments
Update: I also tried
I already have dvtm installed on my baremetal aarch64 system, and it didn't use that store path (I wouldn't expect it to with nix-shell)--It still downloaded paths like when cross-compiling, yet it worked. I guess it's a problem with cross-compiling? I'm currently trying to x-compile for armv6l on my aarch machine just to see what happens. e: same error. Another note: the version called 'dvtm-unstable' has behaved exactly the same in every situation so far. |
After some debugging/brainstorming in irc and comming across a possible cause, I added |
Weird... ncurses is part of the build inputs and it's the one that provides
|
[root@aarch64-1:~]# ls -l $(nix-build '<nixpkgs>' -A ncurses.dev)/bin/
total 96
-r-xr-xr-x 2 root root 69312 Dec 31 1969 infocmp
lrwxrwxrwx 3 root root 16 Dec 31 1969 ncurses-config -> ncursesw6-config
-r-xr-xr-x 2 root root 6817 Dec 31 1969 ncursesw6-config
-r-xr-xr-x 2 root root 19456 Dec 31 1969 toe
[root@aarch64-1:~]# ls -l $(nix-build '<nixpkgs>' -A ncurses)/bin/
total 188
lrwxrwxrwx 5 root root 3 Nov 18 08:07 captoinfo -> tic
-r-xr-xr-x 2 root root 14632 Nov 18 08:07 clear
lrwxrwxrwx 5 root root 3 Nov 18 08:07 infotocap -> tic
lrwxrwxrwx 3 root root 4 Nov 18 08:07 reset -> tset
-r-xr-xr-x 2 root root 19176 Nov 18 08:07 tabs
-r-xr-xr-x 2 root root 91704 Nov 18 08:07 tic
-r-xr-xr-x 2 root root 25088 Nov 18 08:07 tput
-r-xr-xr-x 2 root root 29360 Nov 18 08:07 tset
[root@aarch64-1:~]# find $(nix-build '<nixos>' -A ncurses) $(nix-build '<nixos>' -A ncurses.dev) -name 'tic'
/nix/store/1h25s1q29sx9ylpmiz81i573h7vzf8yb-ncurses-6.1-20190112/bin/tic |
Hmm, now I notice you are trying to build it from a different machine and use I'm suspecting that a different nixpkgs/pkgs/tools/misc/dvtm/dvtm.nix Line 12 in f601ab3
Besides that linked part of the docs, there's https://nixos.org/nixpkgs/manual/#ssec-stdenv-dependencies which should be even more relevant. |
Only |
@petersjt014 your issue I believe is fixed in #84415, could you please recheck and close the issue if it's fixed. |
Describe the bug
Currently dvtm does not build for aarch64 (or armv6l, but I suspect it's due to the same problem).
To Reproduce
Additional context
Dvtm still builds just fine on x64:
tic
is apparently part of ncurses, which is imported in dvtm.nix, so it should be available in the build. The only probable hint is the patch applied within it (because it has something to do with terminfo), but I can't see where the architecture is making a difference.(probably) relevant: https://linux.die.net/man/5/terminfo
Maintainers
I suspect either @vrthra (the maintainer) or @volth (last editor of the package file) might know what's going on.
Metadata
The text was updated successfully, but these errors were encountered: