Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 930807

Summary: sys-libs/ncurses-6.4: Detected file collision: /usr/share/terminfo/r/rio
Product: Gentoo Linux Reporter: Jonas Frei <freijon>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas Frei 2024-04-28 05:12:08 UTC
Today I wanted to upgrade to the newest stable version of ncurses: ncurses-6.4_p20240330
However, while merging there is a file conflict: /usr/share/terminfo/r/rio

This file is installed with the package x11-terms/rio-terminfo (I'm the maintainer of this package on GURU).

Is there something wrong with that package that I should fix on my side? Why is there suddenly a file conflict where it was no issue before?

Reproducible: Always

Steps to Reproduce:
1. Install x11-terms/rio-terminfo (from GURU)
2. Upgrade ncurses to ncurses-6.4_p20240330
Comment 1 Ionen Wolkens gentoo-dev 2024-04-28 08:40:18 UTC
That typically just means the separate terminfo package is obsolete, aka ncurses provides it now.

Is this the same terminfo or (somehow) something else that just happen to be named the same?

You could have whatever package that depends on rio-terminfo instead depend on || ( >=ncurses-ver rio-terminfo ), and have rio-terminfo depend on older ncurses and eventually last-rite that package whenever the required ncurses version is stable.
Comment 2 Ionen Wolkens gentoo-dev 2024-04-28 08:42:03 UTC Comment hidden (obsolete)
Comment 3 Ionen Wolkens gentoo-dev 2024-04-28 12:48:13 UTC
(In reply to Ionen Wolkens from comment #1)
> eventually last-rite that package whenever the required ncurses
> version is stable.
Err wait, you did say "newest stable", hadn't noticed it is :)

Guess I'd just last-rite rio-terminfo and depend on >=ncurses-ver then, can be extended in case people had it in their @world set, mask is useful to tell them to cleanup.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-28 21:05:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=844a6efd34181027e42bb391853f2b86928c65e5

commit 844a6efd34181027e42bb391853f2b86928c65e5
Author:     Jonas Frei <freijon@pm.me>
AuthorDate: 2024-04-28 18:40:04 +0000
Commit:     Jonas Frei <freijon@pm.me>
CommitDate: 2024-04-28 18:40:04 +0000

    x11-terms/rio: Depending on sys-libs/ncurses, masking rio-terminfo
    
    Since version sys-libs/ncurses-6.4_p20240330, the terminfo file
    is provided by the ncurses package. This makes the package
    x11-terms/rio-terminfo obsolete. Therefore: Masking + softblocking.
    
    Closes: https://bugs.gentoo.org/930807
    Signed-off-by: Jonas Frei <freijon@pm.me>

 profiles/package.mask                                     | 5 +++++
 x11-terms/rio/{rio-0.0.36.ebuild => rio-0.0.36-r1.ebuild} | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)