Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ncurses-term file conflicts
@ 2020-11-25 15:50 ahesford
  2020-11-25 15:56 ` ericonr
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ahesford @ 2020-11-25 15:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

New issue by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/26700

Description:
The `ncurses-term` package ships some terminfo databases that conflict with files installed by terminal-specific packages:
- `alacritty-terminfo`
- `dvtm`
- `fbterm`
- `st-terminfo`

The `fbterm` package installs the compiled `/usr/share/terminfo/f/fbterm` directly, which is an outright conflict with a matching file in `ncurses-term`. The other three install source files (`*.info`) that do not directly conflict, but the `INSTALL` scripts compile these and overwrite corresponding files in `ncurses-term`; the `REMOVE` scripts of these packages remove the files.

This, at least, causes unnecessary noise in `xbps-pkgdb -a` output when both `ncurses-term` and terminal-specific packages are installed. More problematic is the potential breakage or degradation that may result when installing or reinstalling `ncurses-term`, which can replace newer databases that might be required by terminal emulators.

There doesn't appear to be a good way to handle this gracefully and automatically. I work around this issue for `alacritty` by adding XBPS `noextract` rules for `/usr/share/terminfo/a/alacritty{,-direct,+common}`. One possibility would be installing similar rules in `/usr/share/xbps.d` in each package that installs terminal-specific files, but not sure what happens on for `xbps<0.58`.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
@ 2020-11-25 15:56 ` ericonr
  2020-11-25 16:05 ` ahesford
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-11-25 15:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-733793743

Comment:
Older XBPS isn't really supported, right?

We could look into configuring `ncurses-term` to remove those? It might be the best solution, since the upstream terminfo files should be the correct ones.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
  2020-11-25 15:56 ` ericonr
@ 2020-11-25 16:05 ` ahesford
  2020-11-25 16:54 ` ericonr
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ahesford @ 2020-11-25 16:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-733799020

Comment:
Having to know in `ncurses-term` which files are offered by other packages (which may, over time, come and go) seems like an uglier solution than adding `noextract` rules to the specific packages, but I don't have a strong conviction.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
  2020-11-25 15:56 ` ericonr
  2020-11-25 16:05 ` ahesford
@ 2020-11-25 16:54 ` ericonr
  2020-11-25 20:01 ` ahesford
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2020-11-25 16:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-733827407

Comment:
They are all really ugly solutions IMO, but changing `ncurses-term` would be the more correct one. If that correctness is worth it, idk.

Something like remove the bad files from `ncurses-term` and then make it depend on all the terminfo subpackages.

We could look into how other distros manage this.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
                   ` (2 preceding siblings ...)
  2020-11-25 16:54 ` ericonr
@ 2020-11-25 20:01 ` ahesford
  2021-08-08 14:15 ` ericonr
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ahesford @ 2020-11-25 20:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-733920451

Comment:
Arch and Alpine both do the opposite. The ncurses package provides these terminfo files. The alacritty packages in both decline to manually copy and compile the provided terminfo. The dvtm packages in both explicitly remove the terminfo after installation. I didn't bother looking at the other two.

I'm ok with removing the specific terminfo packages, letting them pull in ncurses-term instead. I'm also okay with noextract rules in the individual packages because they don't require specific knowledge. It's just a way to say, "I don't care who provides these files, I take precedence so don't allow anybody else to overwrite these." Going the other direction, removing specific files from ncurses because we want to defer to the specific packages, requires too much special casing and distributed knowledge for my taste.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
                   ` (3 preceding siblings ...)
  2020-11-25 20:01 ` ahesford
@ 2021-08-08 14:15 ` ericonr
  2022-04-30  2:14 ` github-actions
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2021-08-08 14:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-894804314

Comment:
The idea of making sub packages and having ncurses-term depend on them would probably break bootstrapping, unless we make ncurses-term a separate package instead of a sub package.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
                   ` (4 preceding siblings ...)
  2021-08-08 14:15 ` ericonr
@ 2022-04-30  2:14 ` github-actions
  2022-04-30  3:53 ` [ISSUE] [CLOSED] " ahesford
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2022-04-30  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-1113893112

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
                   ` (6 preceding siblings ...)
  2022-04-30  3:53 ` [ISSUE] [CLOSED] " ahesford
@ 2022-04-30  3:53 ` ahesford
  2022-05-01 19:08 ` ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ahesford @ 2022-04-30  3:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-1113905929

Comment:
There's no great solution here, and I'm just using urxvt these days anyway.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ISSUE] [CLOSED] ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
                   ` (5 preceding siblings ...)
  2022-04-30  2:14 ` github-actions
@ 2022-04-30  3:53 ` ahesford
  2022-04-30  3:53 ` ahesford
  2022-05-01 19:08 ` ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ahesford @ 2022-04-30  3:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]

Closed issue by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/26700

Description:
The `ncurses-term` package ships some terminfo databases that conflict with files installed by terminal-specific packages:
- `alacritty-terminfo`
- `dvtm`
- `fbterm`
- `st-terminfo`

The `fbterm` package installs the compiled `/usr/share/terminfo/f/fbterm` directly, which is an outright conflict with a matching file in `ncurses-term`. The other three install source files (`*.info`) that do not directly conflict, but the `INSTALL` scripts compile these and overwrite corresponding files in `ncurses-term`; the `REMOVE` scripts of these packages remove the files.

This, at least, causes unnecessary noise in `xbps-pkgdb -a` output when both `ncurses-term` and terminal-specific packages are installed. More problematic is the potential breakage or degradation that may result when installing or reinstalling `ncurses-term`, which can replace newer databases that might be required by terminal emulators.

There doesn't appear to be a good way to handle this gracefully and automatically. I work around this issue for `alacritty` by adding XBPS `noextract` rules for `/usr/share/terminfo/a/alacritty{,-direct,+common}`. One possibility would be installing similar rules in `/usr/share/xbps.d` in each package that installs terminal-specific files, but not sure what happens on for `xbps<0.58`.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ncurses-term file conflicts
  2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
                   ` (7 preceding siblings ...)
  2022-04-30  3:53 ` ahesford
@ 2022-05-01 19:08 ` ericonr
  8 siblings, 0 replies; 10+ messages in thread
From: ericonr @ 2022-05-01 19:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/26700#issuecomment-1114311786

Comment:
I'm just assigning myself so I can find it more easily if some great idea ever shines on me.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-05-01 19:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 15:50 [ISSUE] ncurses-term file conflicts ahesford
2020-11-25 15:56 ` ericonr
2020-11-25 16:05 ` ahesford
2020-11-25 16:54 ` ericonr
2020-11-25 20:01 ` ahesford
2021-08-08 14:15 ` ericonr
2022-04-30  2:14 ` github-actions
2022-04-30  3:53 ` [ISSUE] [CLOSED] " ahesford
2022-04-30  3:53 ` ahesford
2022-05-01 19:08 ` ericonr

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).