* [ISSUE] alacritty-terminfo fails script, because ncurses is not installed
@ 2021-12-05 12:52 hasufell
2021-12-11 3:19 ` [ISSUE] [CLOSED] " ericonr
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: hasufell @ 2021-12-05 12:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1750 bytes --]
New issue by hasufell on void-packages repository
https://github.com/void-linux/void-packages/issues/34392
Description:
In an empty docker container, I install `bash` and `alacritty-terminfo`, but the latter seems to fail part of the install stage, suggesting dependencies are not correctly declared for this subpackage.
```
# xbps-install alacritty-terminfo
Name Action Version New version Download size
alacritty-terminfo install - 0.9.0_1 3281B
Size to download: 3793B
Size required on disk: 4930B
Space available on disk: 194GB
Do you want to continue? [Y/n]
[*] Downloading packages
alacritty-terminfo-0.9.0_1.x86_64.xbps.sig: 512B [avg rate: 18MB/s]
alacritty-terminfo-0.9.0_1.x86_64.xbps: 3281B [avg rate: 112MB/s]
alacritty-terminfo-0.9.0_1: verifying RSA signature...
[*] Collecting package files
alacritty-terminfo-0.9.0_1: collecting files...
[*] Unpacking packages
alacritty-terminfo-0.9.0_1: unpacking ...
[*] Configuring unpacked packages
alacritty-terminfo-0.9.0_1: configuring ...
/tmp/.xbps-script-DuhzIC: 34: tic: not found
alacritty-terminfo-0.9.0_1: installed successfully.
1 downloaded, 1 installed, 0 updated, 1 configured, 0 removed.
```
### System
voidlinux/voidlinux docker image c26f06f5f5c5
### Expected behavior
Installation and scripts succeed, pulling in `ncurses` as a dependency.
### Actual behavior
Installation succeeds, script fails, ncurses needs to be installed afterwards and then alacritty-terminfo force-reinstalled.
### Steps to reproduce the behavior
1. `docker run -ti --rm voidlinux/voidlinux sh`
2. `xbps-install bash alacritty-terminfo`
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ISSUE] [CLOSED] alacritty-terminfo fails script, because ncurses is not installed
2021-12-05 12:52 [ISSUE] alacritty-terminfo fails script, because ncurses is not installed hasufell
@ 2021-12-11 3:19 ` ericonr
2022-07-21 2:50 ` erwin
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-12-11 3:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]
Closed issue by hasufell on void-packages repository
https://github.com/void-linux/void-packages/issues/34392
Description:
In an empty docker container, I install `bash` and `alacritty-terminfo`, but the latter seems to fail part of the install stage, suggesting dependencies are not correctly declared for this subpackage.
```
# xbps-install alacritty-terminfo
Name Action Version New version Download size
alacritty-terminfo install - 0.9.0_1 3281B
Size to download: 3793B
Size required on disk: 4930B
Space available on disk: 194GB
Do you want to continue? [Y/n]
[*] Downloading packages
alacritty-terminfo-0.9.0_1.x86_64.xbps.sig: 512B [avg rate: 18MB/s]
alacritty-terminfo-0.9.0_1.x86_64.xbps: 3281B [avg rate: 112MB/s]
alacritty-terminfo-0.9.0_1: verifying RSA signature...
[*] Collecting package files
alacritty-terminfo-0.9.0_1: collecting files...
[*] Unpacking packages
alacritty-terminfo-0.9.0_1: unpacking ...
[*] Configuring unpacked packages
alacritty-terminfo-0.9.0_1: configuring ...
/tmp/.xbps-script-DuhzIC: 34: tic: not found
alacritty-terminfo-0.9.0_1: installed successfully.
1 downloaded, 1 installed, 0 updated, 1 configured, 0 removed.
```
### System
voidlinux/voidlinux docker image c26f06f5f5c5
### Expected behavior
Installation and scripts succeed, pulling in `ncurses` as a dependency.
### Actual behavior
Installation succeeds, script fails, ncurses needs to be installed afterwards and then alacritty-terminfo force-reinstalled.
### Steps to reproduce the behavior
1. `docker run -ti --rm voidlinux/voidlinux sh`
2. `xbps-install bash alacritty-terminfo`
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alacritty-terminfo fails script, because ncurses is not installed
2021-12-05 12:52 [ISSUE] alacritty-terminfo fails script, because ncurses is not installed hasufell
2021-12-11 3:19 ` [ISSUE] [CLOSED] " ericonr
@ 2022-07-21 2:50 ` erwin
2022-07-21 7:17 ` meator
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: erwin @ 2022-07-21 2:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
New comment by erwin on void-packages repository
https://github.com/void-linux/void-packages/issues/34392#issuecomment-1190977891
Comment:
When I run `toe -a` I'm getting:
```
toe -a >/dev/null
toe: couldn't open terminfo file alacritty.info.
```
Because of the file:
```
/usr/share/terminfo/a/alacritty.info
```
This is the only `.info` file under /usr/share/terminfo. All of the other files installed there have already been converted.
```
❯ find /usr/share/terminfo | grep info$
/usr/share/terminfo
/usr/share/terminfo/a/alacritty.info
```
Shouldn't this be packaged the way `kitty-terminfo` is?
```
❮ xbps-query -f kitty-terminfo
/usr/share/terminfo/x/xterm-kitty
```
Maybe terminfo/a/alacritty should be moved from `ncurses-term` to `alacritty-terminfo`?
```
xlocate /usr/share/terminfo/a/alacritty
alacritty-terminfo-0.10.1_1 /usr/share/terminfo/a/alacritty.info
ncurses-term-6.3_2 /usr/share/terminfo/a/alacritty
ncurses-term-6.3_2 /usr/share/terminfo/a/alacritty+common
ncurses-term-6.3_2 /usr/share/terminfo/a/alacritty-direct
```
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alacritty-terminfo fails script, because ncurses is not installed
2021-12-05 12:52 [ISSUE] alacritty-terminfo fails script, because ncurses is not installed hasufell
2021-12-11 3:19 ` [ISSUE] [CLOSED] " ericonr
2022-07-21 2:50 ` erwin
@ 2022-07-21 7:17 ` meator
2022-07-21 7:44 ` erwin
2022-07-21 8:25 ` meator
4 siblings, 0 replies; 6+ messages in thread
From: meator @ 2022-07-21 7:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]
New comment by meator on void-packages repository
https://github.com/void-linux/void-packages/issues/34392#issuecomment-1191131393
Comment:
[`dvtm`](https://github.com/void-linux/void-packages/blob/master/srcpkgs/dvtm/INSTALL) and [`alacritty-terminfo`](https://github.com/void-linux/void-packages/blob/master/srcpkgs/alacritty/alacritty-terminfo.INSTALL) package the `.info` files with them and they are compiled in `INSTALL` script when they are being installed. These should be he only two packages that are doing this. I don't know why they don't simply compile them while building and then ship the compiled files, but I think the maintainers of these packages wouldn't have chosen this more complicated way of packaging terminfo without a reason.
Since these files are compiled on install, you should both have the `.info` and the compiled version @erwin. If not, than there is a problem with the `alacritty-terminfo` and it should be fixed.
And it might be more visible if you would create a separate issue for this if there are any problems with this rather than commenting on a old and closed issue.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alacritty-terminfo fails script, because ncurses is not installed
2021-12-05 12:52 [ISSUE] alacritty-terminfo fails script, because ncurses is not installed hasufell
` (2 preceding siblings ...)
2022-07-21 7:17 ` meator
@ 2022-07-21 7:44 ` erwin
2022-07-21 8:25 ` meator
4 siblings, 0 replies; 6+ messages in thread
From: erwin @ 2022-07-21 7:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
New comment by erwin on void-packages repository
https://github.com/void-linux/void-packages/issues/34392#issuecomment-1191155918
Comment:
> These should be he only two packages that are doing this. I don't know why they don't simply compile them while building and then ship the compiled files, but I think the maintainers of these packages wouldn't have chosen this more complicated way of packaging terminfo without a reason.
My point is really just that if you dump the `.info` file inside of `/usr/share/terminfo`, then `toe -a` will complain to STDERR that it can't open the raw .info file.
```
toe: couldn't open terminfo file alacritty.info.
```
So I don't think it's normal to leave the .info files in the /usr/share/terminfo directory.
I'll open a new issue. Just seemed minor and didn't want to alert more people than necessary.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alacritty-terminfo fails script, because ncurses is not installed
2021-12-05 12:52 [ISSUE] alacritty-terminfo fails script, because ncurses is not installed hasufell
` (3 preceding siblings ...)
2022-07-21 7:44 ` erwin
@ 2022-07-21 8:25 ` meator
4 siblings, 0 replies; 6+ messages in thread
From: meator @ 2022-07-21 8:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
New comment by meator on void-packages repository
https://github.com/void-linux/void-packages/issues/34392#issuecomment-1191193672
Comment:
We are programmers. We don't care about warnings, we care about errors. Here's the fix:
```sh
toe -a 2>/dev/null
```
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-07-21 8:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-05 12:52 [ISSUE] alacritty-terminfo fails script, because ncurses is not installed hasufell
2021-12-11 3:19 ` [ISSUE] [CLOSED] " ericonr
2022-07-21 2:50 ` erwin
2022-07-21 7:17 ` meator
2022-07-21 7:44 ` erwin
2022-07-21 8:25 ` meator
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).