Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648472 - sys-libs/ncurses-6.1-r1 file collisions with app-i18n/fbterm and app-misc/dvtm
Summary: sys-libs/ncurses-6.1-r1 file collisions with app-i18n/fbterm and app-misc/dvtm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 648858 650302 650306 650310 (view as bug list)
Depends on: 651900
Blocks: ncurses-6.1
  Show dependency tree
 
Reported: 2018-02-22 09:23 UTC by Franz Trischberger
Modified: 2018-05-08 05:20 UTC (History)
8 users (show)

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


Attachments
build.log.gz (ncurses-6.1-r1:20180222-085758.log.gz,276.81 KB, application/gzip)
2018-02-22 09:23 UTC, Franz Trischberger
Details
dvtm-0.15-stop-installing-terminfo.patch (dvtm-0.15-stop-installing-terminfo.patch,474 bytes, patch)
2018-02-22 23:45 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
patch file for patched dvtm-0.14-r1.ebuild (dvtm-0.14-stop-installing-terminfo.patch,443 bytes, text/plain)
2018-03-25 18:29 UTC, CaptainBlood
Details
patched dvtm-0.14-r1.ebuild (dvtm-0.14-r1.ebuild,1.54 KB, text/plain)
2018-03-25 18:31 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Trischberger 2018-02-22 09:23:19 UTC
Created attachment 520524 [details]
build.log.gz

* Detected file collision(s):
 * 
 * 	/usr/share/terminfo/f/fbterm
 * 	/usr/share/terminfo/d/dvtm
 * 	/usr/share/terminfo/d/dvtm-256color
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * app-misc/dvtm-0.15-r1:0::gentoo
 * 	/usr/share/terminfo/d/dvtm
 * 	/usr/share/terminfo/d/dvtm-256color
 * 
 * app-i18n/fbterm-1.7-r3:0::gentoo
 * 	/usr/share/terminfo/f/fbterm
 * 
 * Package 'sys-libs/ncurses-6.1-r1' NOT merged due to file collisions.
 * If necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-02-22 23:45:38 UTC
Created attachment 520658 [details, diff]
dvtm-0.15-stop-installing-terminfo.patch

dvtm needs to stop installing these files. Presumably the same is true for fbterm.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-03-13 14:15:52 UTC
*** Bug 650310 has been marked as a duplicate of this bug. ***
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-03-18 20:57:48 UTC
*** Bug 650302 has been marked as a duplicate of this bug. ***
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-03-18 20:58:03 UTC
*** Bug 650306 has been marked as a duplicate of this bug. ***
Comment 5 Martin Mokrejš 2018-03-21 10:08:56 UTC
Same here:

 * app-i18n/fbterm-1.7-r3:0::gentoo
 *      /usr/share/terminfo/f/fbterm
Comment 6 Akinori Hattori gentoo-dev 2018-03-23 13:28:10 UTC
*** Bug 648858 has been marked as a duplicate of this bug. ***
Comment 7 CaptainBlood 2018-03-25 18:29:17 UTC
Created attachment 525430 [details]
patch file for patched dvtm-0.14-r1.ebuild

file to be installed in /usr/local/portage/app-misc/dvtm/files
Comment 8 CaptainBlood 2018-03-25 18:31:51 UTC
Created attachment 525432 [details]
patched dvtm-0.14-r1.ebuild

File to be installed in /usr/local/portage/app-misc/dvtm directory
Comment 9 Attila Tóth 2018-03-28 06:59:41 UTC
Patch attached in comment #1 works well simply as a user patch.
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-03-29 09:09:56 UTC
The situation is a bit unfortunate. The new app-misc/dvtm revision would have to RDEPEND on >=sys-libs/ncurses-6.1:0 but if ncurses is upgraded first, portage will run into the file collision.

Retroactively applying RDEPEND="!>=sys-libs/ncurses-6.1" blocker on existing ebuilds is no longer allowed I think, and will not work for installed ebuilds.

I am therefore going to create dvtm-0.14-r1 ebuild which adds only the blocker, and 0.15-r2 which no longer installs terminfo files and depends on ncurses-6.1.
Comment 11 Larry the Git Cow gentoo-dev 2018-03-29 09:23:33 UTC
The bug has been referenced in the following commit(s):

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

commit 84501aba8f2775f67fde23af25e6c58167e13a46
Author:     Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
AuthorDate: 2018-03-29 09:22:28 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
CommitDate: 2018-03-29 09:22:28 +0000

    app-misc/dvtm: add blocker for sys-libs/ncurses-6.1 file collisions
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=648472
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-misc/dvtm/{dvtm-0.14.ebuild => dvtm-0.14-r1.ebuild}    | 5 +++--
 app-misc/dvtm/{dvtm-0.15-r1.ebuild => dvtm-0.15-r2.ebuild} | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)}
Comment 12 Larry the Git Cow gentoo-dev 2018-03-29 09:53:23 UTC
The bug has been referenced in the following commit(s):

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

commit 3a8b441ca3250b4b7bc2534720c79ff8a64d4e10
Author:     Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
AuthorDate: 2018-03-29 09:53:11 +0000
Commit:     Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
CommitDate: 2018-03-29 09:53:11 +0000

    app-misc/dvtm: add patch to avoid file collisions with sys-libs/ncurses
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=648472
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-misc/dvtm/dvtm-0.15-r3.ebuild                  | 60 ++++++++++++++++++++++
 app-misc/dvtm/dvtm-9999.ebuild                     |  5 +-
 .../files/dvtm-0.15-stop-installing-terminfo.patch | 12 +++++
 3 files changed, 75 insertions(+), 2 deletions(-)}
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-03-29 09:57:04 UTC
I added dvtm-0.14-r1 and dvtm-0.15-r2 ebuilds, which add only the blocker. And dvtm-0.15-r3 which adds the patch and requires ncurses-6.1.

Due to the file collisions, it may be necessary to upgrade to 0.14-r1 or 0.15-r2 first, before ncurses-6.1 compatible 0.15-r3 can be installed.
Comment 14 Larry the Git Cow gentoo-dev 2018-05-07 12:58:23 UTC
The bug has been referenced in the following commit(s):

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

commit 7e17670a886d15ab6a0ba40c906cbbe0dce5d066
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2018-04-01 10:54:14 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2018-05-07 12:51:56 +0000

    app-i18n/fbterm: fix file collision with sys-libs/ncurses-6.1
    
    Bug: https://bugs.gentoo.org/648472
    Closes: https://github.com/gentoo/gentoo/pull/7764
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../{fbterm-1.7-r3.ebuild => fbterm-1.7-r4.ebuild} |  8 +--
 app-i18n/fbterm/fbterm-1.7-r5.ebuild               | 59 ++++++++++++++++++++++
 app-i18n/fbterm/files/fbterm-noterminfo.patch      | 15 ++++++
 3 files changed, 79 insertions(+), 3 deletions(-)
Comment 15 Arfrever Frehtes Taifersar Arahesis 2018-05-08 05:20:13 UTC
Fixed version of app-misc/dvtm was stabilized in bug #651900.

app-i18n/fbterm has no stable keywords.