Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949209 - Can't install x11-terms/ghostty-terminfo-1.1.0 do to file conflict with x11-terms/ghostty-1.0.1-r3
Summary: Can't install x11-terms/ghostty-terminfo-1.1.0 do to file conflict with x11-t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: sin-ack
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-02-01 23:46 UTC by Christopher Bayliss
Modified: 2025-02-16 14:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ghostty-terminfo-1.1.0.build.log (ghostty-terminfo-1.1.0.build.log,4.41 KB, text/plain)
2025-02-01 23:49 UTC, Christopher Bayliss
Details
ncurses-6.5_p20250125.build.log.xz (ncurses-6.5_p20250125.build.log.xz,39.75 KB, application/x-xz)
2025-02-01 23:50 UTC, Christopher Bayliss
Details
system-info.txt (system-info.txt,6.78 KB, text/plain)
2025-02-01 23:55 UTC, Christopher Bayliss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Bayliss 2025-02-01 23:46:18 UTC
It isn't currently possible to update to x11-terms/ghostty-1.1.0 from x11-terms/ghostty-1.0.1-r3 due to the terminfo files being now being provided by either x11-terms/ghostty-terminfo-1.1.0 or sys-libs/ncurses-6.5_p20250118[-minimal] and trying to build either of the latter packages results in a file collison
Comment 1 Christopher Bayliss 2025-02-01 23:49:31 UTC
Created attachment 918026 [details]
ghostty-terminfo-1.1.0.build.log

ghostty-terminfo-1.1.0.build.log
Comment 2 Christopher Bayliss 2025-02-01 23:50:40 UTC
Created attachment 918027 [details]
ncurses-6.5_p20250125.build.log.xz
Comment 3 Christopher Bayliss 2025-02-01 23:55:16 UTC
Created attachment 918028 [details]
system-info.txt
Comment 4 Larry the Git Cow gentoo-dev 2025-02-16 14:46:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9704315cea8e4f472b58396a5e57365ab44c8490

commit 9704315cea8e4f472b58396a5e57365ab44c8490
Author:     sin-ack <sin-ack@protonmail.com>
AuthorDate: 2025-02-04 20:55:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-16 14:46:23 +0000

    x11-terms/ghostty-terminfo: add symlink IUSE for ncurses compat
    
    We have to be compatible with both USE=minimal and USE=-minimal and
    still provide both the "ghostty" and "xterm-ghostty" terminfo entries.
    When USE=symlink is unset, we require that the "ghostty" entry be
    provided by ncurses instead.
    
    Closes: https://bugs.gentoo.org/949209
    Signed-off-by: sin-ack <sin-ack@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...1.0.ebuild => ghostty-terminfo-1.1.0-r1.ebuild} | 24 +++++++++++++++++++---
 x11-terms/ghostty-terminfo/metadata.xml            |  3 +++
 2 files changed, 24 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6db81b87c1a5adb5f2cc229283243961a12862

commit 5b6db81b87c1a5adb5f2cc229283243961a12862
Author:     sin-ack <sin-ack@protonmail.com>
AuthorDate: 2025-02-04 20:58:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-16 14:46:24 +0000

    x11-terms/ghostty: unconditionally depend on x11-terms/ghostty-terminfo
    
    The ghostty-terminfo package now does the right thing in all cases so
    always depend on it.
    
    Bug: https://bugs.gentoo.org/949209
    Signed-off-by: sin-ack <sin-ack@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-terms/ghostty/{ghostty-1.1.0.ebuild => ghostty-1.1.0-r1.ebuild} | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3f2550fba607bafe0eeb23d45ce488195c27bf1

commit b3f2550fba607bafe0eeb23d45ce488195c27bf1
Author:     sin-ack <sin-ack@protonmail.com>
AuthorDate: 2025-02-03 01:03:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-16 14:46:23 +0000

    sys-libs/ncurses: weak block older x11-terms/ghostty versions
    
    Ghostty by default ships its own terminfo database. Newer versions of
    ncurses have incorporated this data and it is installed unless
    USE=minimal is specified. Newer Ghostty versions adapt to this by
    installing a ghostty-terminfo package when ncurses[minimal] is
    installed, and deferring to ncurses otherwise. However, to make upgrades
    automatic, we must block older versions of Ghostty so that ncurses can
    replace Ghostty-installed files.
    
    Bug: https://bugs.gentoo.org/949209
    Signed-off-by: sin-ack <sin-ack@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/ncurses/ncurses-6.5_p20250118.ebuild | 1 +
 sys-libs/ncurses/ncurses-6.5_p20250125.ebuild | 1 +
 2 files changed, 2 insertions(+)