Summary: | app-vim/vim-tmux-3.0.0 and app-misc/tmux-2.2 file collision: both install /usr/share/vim/vimfiles/ftdetect/tmux.vim | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Boris Moddemann <valuial> |
Component: | Current packages | Assignee: | Patrice Clement (RETIRED) <monsieurp> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | franz.trischberger, jstein, mgorny, shell-tools, vim |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Output of emerge --info
vim-tmux-3.0.0-r1.ebuild vim-tmux-3.0.0-r1.ebuild |
commit cfd560ee7b35cfd78231d9da747c7b733c4bbf2d (HEAD) Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: Thu Aug 3 22:08:30 2017 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Thu Aug 3 22:11:19 2017 +0200 app-misc/tmux: add a dependency on app-vim/vim-tmux. Turning on the vim-syntax USE flag will now install the app-vim/vim-tmux plugin instead of just one single file. This plugin can be found at https://github.com/tmux-plugins/vim-tmux. Gentoo-Bug: https://bugs.gentoo.org/603526 Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-misc/tmux/tmux-2.5-r2.ebuild | 83 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 app-misc/tmux/tmux-2.5-r2.ebuild We now have a circular dependency: [nomerge ] app-misc/tmux-2.5-r2::gentoo USE="vim-syntax -debug (-selinux) -utempter" [ebuild N ] app-vim/vim-tmux-3.0.0::gentoo 0 KiB [ebuild N ~] app-misc/tmux-2.5-r2::gentoo USE="vim-syntax -debug (-selinux) -utempter" 0 KiB Total: 2 packages (2 new), Size of downloads: 0 KiB * Error: circular dependencies: (app-vim/vim-tmux-3.0.0:0/0::gentoo, ebuild scheduled for merge) depends on (app-misc/tmux-2.5-r2:0/0::gentoo, ebuild scheduled for merge) (buildtime) (app-vim/vim-tmux-3.0.0:0/0::gentoo, ebuild scheduled for merge) (runtime) It might be possible to break this cycle by applying the following change: - app-misc/tmux-2.5-r2 (Change USE: -vim-syntax) That even persists when trying to just install vim-tmux. Temporarily changing USE Flags is possible, but I feel this to be ugly. commit 63c20034193dfaef37f6b431c4eb224c4fdf6816 (HEAD -> master, origin/master, origin/HEAD) Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: Fri Aug 4 14:26:34 2017 +0200 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Fri Aug 4 14:30:05 2017 +0200 app-vim/vim-tmux: remove dependency on app-misc/tmux. Gentoo-Bug: https://bugs.gentoo.org/603526 Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-vim/vim-tmux/vim-tmux-3.0.0.ebuild | 1 - 1 file changed, 1 deletion(-) Please give it a try and report back. *** Bug 627032 has been marked as a duplicate of this bug. *** Guys, do you really need to get back to doing the quizzes? File collisions are solved by *adding blockers*, not *removing dependencies and hoping things will randomly order right*. Created attachment 487998 [details]
vim-tmux-3.0.0-r1.ebuild
Proposed vim-tmux-3.0.0-r1.ebuild
Blocks <app-misc/tmux-2.5-r2
Created attachment 488000 [details]
vim-tmux-3.0.0-r1.ebuild
Corrected keywords.
510fb8ff0e10a7702dda487f7c550b69078f22e8 |
Created attachment 457162 [details] Output of emerge --info Trying to merge app-vim/vim-tmux-3.0.0 with app-misc/tmux-2.2 installed (last updated from 2.1 to 2.2 on Dec 19): * Detected file collision(s): * * /usr/share/vim/vimfiles/ftdetect/tmux.vim * ********** * * app-misc/tmux-2.2:0::gentoo * /usr/share/vim/vimfiles/ftdetect/tmux.vim Either the update didn't remove the old file from tmux-2.1 or tmux-2.2 still has that file installed. --- genlop -i tmux * app-misc/tmux Total builds: 6 Global build time: 3 minutes and 35 seconds. Average merge time: 35 seconds. Info about currently installed ebuild: * app-misc/tmux-2.2 Install date: Mon Dec 19 07:44:01 2016 USE="vim-syntax kernel_linux -debug -selinux -utempter -kernel_FreeBSD" CFLAGS="-march=sandybridge -O2 -pipe CXXFLAGS="-march=sandybridge -O2 -pipe LDFLAGS="-Wl,-O1 -Wl,--as-needed"