>>> Done. * checking 60 files for package collisions * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how * to solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * Detected file collision(s): * * /usr/include/libmowgli-2/mowgli.h * /usr/include/libmowgli-2/vio/vio.h * /usr/include/libmowgli-2/thread/mutex.h * /usr/include/libmowgli-2/thread/thread.h * /usr/include/libmowgli-2/platform/machine.h * /usr/include/libmowgli-2/platform/constructor.h * /usr/include/libmowgli-2/platform/win32/win32_stdinc.h * /usr/include/libmowgli-2/object/metadata.h * /usr/include/libmowgli-2/object/message.h * /usr/include/libmowgli-2/object/class.h * /usr/include/libmowgli-2/object/object.h * /usr/include/libmowgli-2/module/module.h * /usr/include/libmowgli-2/linebuf/linebuf.h * /usr/include/libmowgli-2/ext/proctitle.h * /usr/include/libmowgli-2/ext/program_opts.h * /usr/include/libmowgli-2/ext/global_storage.h * /usr/include/libmowgli-2/ext/getopt_long.h * /usr/include/libmowgli-2/ext/error_backtrace.h * /usr/include/libmowgli-2/ext/confparse.h * /usr/include/libmowgli-2/eventloop/eventloop.h * /usr/include/libmowgli-2/dns/dns.h * /usr/include/libmowgli-2/container/patricia.h * /usr/include/libmowgli-2/container/index.h * /usr/include/libmowgli-2/container/queue.h * /usr/include/libmowgli-2/container/list.h * /usr/include/libmowgli-2/container/dictionary.h * /usr/include/libmowgli-2/base/mowgli_signal.h * /usr/include/libmowgli-2/base/random.h * /usr/include/libmowgli-2/base/memslice.h * /usr/include/libmowgli-2/base/hook.h * /usr/include/libmowgli-2/base/hash.h * /usr/include/libmowgli-2/base/formatter.h * /usr/include/libmowgli-2/base/bitvector.h * /usr/include/libmowgli-2/base/argstack.h * /usr/include/libmowgli-2/core/process.h * /usr/include/libmowgli-2/core/stdinc.h * /usr/include/libmowgli-2/core/mowgli_string.h * /usr/include/libmowgli-2/core/logger.h * /usr/include/libmowgli-2/core/iterator.h * /usr/include/libmowgli-2/core/heap.h * /usr/include/libmowgli-2/core/assert.h * /usr/include/libmowgli-2/core/allocator.h * /usr/include/libmowgli-2/core/allocation_policy.h * /usr/include/libmowgli-2/core/alloc.h * /usr/include/libmowgli-2/core/bootstrap.h * /usr/lib64/libmowgli-2.so.0.0.0 * /usr/lib64/pkgconfig/libmowgli-2.pc * /usr/lib64/libmowgli-2.so * /usr/lib64/libmowgli-2.so.0 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-libs/libmowgli-2.0.0-r1:2::gentoo * /usr/include/libmowgli-2/eventloop/eventloop.h * /usr/include/libmowgli-2/ext/confparse.h * /usr/include/libmowgli-2/ext/error_backtrace.h * /usr/include/libmowgli-2/ext/getopt_long.h * /usr/include/libmowgli-2/ext/global_storage.h * /usr/include/libmowgli-2/ext/proctitle.h * /usr/include/libmowgli-2/ext/program_opts.h * /usr/include/libmowgli-2/linebuf/linebuf.h * /usr/include/libmowgli-2/module/module.h * /usr/include/libmowgli-2/mowgli.h * /usr/include/libmowgli-2/object/class.h * /usr/include/libmowgli-2/object/message.h * /usr/include/libmowgli-2/object/metadata.h * /usr/include/libmowgli-2/object/object.h * /usr/include/libmowgli-2/platform/constructor.h * /usr/include/libmowgli-2/platform/machine.h * /usr/include/libmowgli-2/platform/win32/win32_stdinc.h * /usr/include/libmowgli-2/thread/mutex.h * /usr/include/libmowgli-2/thread/thread.h * /usr/include/libmowgli-2/vio/vio.h * * Package 'dev-libs/libmowgli-2.1.0' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message. * Messages for package sys-apps/coreutils-8.28: * Make sure you run 'hash -r' in your active shells. * You should also re-source your shell settings for LS_COLORS * changes, such as: source /etc/profile * Messages for package dev-libs/libmowgli-2.1.0: * This package will overwrite one or more files that may belong to other * packages (see list below). You can use a command such as `portageq * owners / <filename>` to identify the installed package that owns a * file. If portageq reports that only one package owns a file then do * NOT file a bug report. A bug report is only useful if it identifies at * least two or more packages that are known to install the same file(s). * If a collision occurs and you can not explain where the file came from * then you should simply ignore the collision since there is not enough * information to determine if a real problem exists. Please do NOT file * a bug report at https://bugs.gentoo.org/ unless you report exactly * which two packages install the same file(s). See * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how * to solve the problem. And once again, please do NOT file a bug report * unless you have completely understood the above message. * * Detected file collision(s): * * /usr/include/libmowgli-2/mowgli.h * /usr/include/libmowgli-2/vio/vio.h * /usr/include/libmowgli-2/thread/mutex.h * /usr/include/libmowgli-2/thread/thread.h * /usr/include/libmowgli-2/platform/machine.h * /usr/include/libmowgli-2/platform/constructor.h * /usr/include/libmowgli-2/platform/win32/win32_stdinc.h * /usr/include/libmowgli-2/object/metadata.h * /usr/include/libmowgli-2/object/message.h * /usr/include/libmowgli-2/object/class.h * /usr/include/libmowgli-2/object/object.h * /usr/include/libmowgli-2/module/module.h * /usr/include/libmowgli-2/linebuf/linebuf.h * /usr/include/libmowgli-2/ext/proctitle.h * /usr/include/libmowgli-2/ext/program_opts.h * /usr/include/libmowgli-2/ext/global_storage.h * /usr/include/libmowgli-2/ext/getopt_long.h * /usr/include/libmowgli-2/ext/error_backtrace.h * /usr/include/libmowgli-2/ext/confparse.h * /usr/include/libmowgli-2/eventloop/eventloop.h * /usr/include/libmowgli-2/dns/dns.h * /usr/include/libmowgli-2/container/patricia.h * /usr/include/libmowgli-2/container/index.h * /usr/include/libmowgli-2/container/queue.h * /usr/include/libmowgli-2/container/list.h * /usr/include/libmowgli-2/container/dictionary.h * /usr/include/libmowgli-2/base/mowgli_signal.h * /usr/include/libmowgli-2/base/random.h * /usr/include/libmowgli-2/base/memslice.h * /usr/include/libmowgli-2/base/hook.h * /usr/include/libmowgli-2/base/hash.h * /usr/include/libmowgli-2/base/formatter.h * /usr/include/libmowgli-2/base/bitvector.h * /usr/include/libmowgli-2/base/argstack.h * /usr/include/libmowgli-2/core/process.h * /usr/include/libmowgli-2/core/stdinc.h * /usr/include/libmowgli-2/core/mowgli_string.h * /usr/include/libmowgli-2/core/logger.h * /usr/include/libmowgli-2/core/iterator.h * /usr/include/libmowgli-2/core/heap.h * /usr/include/libmowgli-2/core/assert.h * /usr/include/libmowgli-2/core/allocator.h * /usr/include/libmowgli-2/core/allocation_policy.h * /usr/include/libmowgli-2/core/alloc.h * /usr/include/libmowgli-2/core/bootstrap.h * /usr/lib64/libmowgli-2.so.0.0.0 * /usr/lib64/pkgconfig/libmowgli-2.pc * /usr/lib64/libmowgli-2.so * /usr/lib64/libmowgli-2.so.0 * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-libs/libmowgli-2.0.0-r1:2::gentoo * /usr/include/libmowgli-2/eventloop/eventloop.h * /usr/include/libmowgli-2/ext/confparse.h * /usr/include/libmowgli-2/ext/error_backtrace.h * /usr/include/libmowgli-2/ext/getopt_long.h * /usr/include/libmowgli-2/ext/global_storage.h * /usr/include/libmowgli-2/ext/proctitle.h * /usr/include/libmowgli-2/ext/program_opts.h * /usr/include/libmowgli-2/linebuf/linebuf.h * /usr/include/libmowgli-2/module/module.h * /usr/include/libmowgli-2/mowgli.h * /usr/include/libmowgli-2/object/class.h * /usr/include/libmowgli-2/object/message.h * /usr/include/libmowgli-2/object/metadata.h * /usr/include/libmowgli-2/object/object.h * /usr/include/libmowgli-2/platform/constructor.h * /usr/include/libmowgli-2/platform/machine.h * /usr/include/libmowgli-2/platform/win32/win32_stdinc.h * /usr/include/libmowgli-2/thread/mutex.h * /usr/include/libmowgli-2/thread/thread.h * /usr/include/libmowgli-2/vio/vio.h * * Package 'dev-libs/libmowgli-2.1.0' NOT merged due to file collisions. * If necessary, refer to your elog messages for the whole content of the * above message.
Created attachment 491730 [details] emerge-info
Looks like someone zeroed the SLOT...
I zero'd the slot as per https://github.com/gentoo/gentoo/pull/5014#discussion_r126043502 My understanding is that slot 0 is appropriate for this package, but the old ebuilds still use slot 2. I'm not sure what fix to apply -- I could either change this package's slot to 2 ("legacy" fix) or perhaps change the old packages to use slot 0.
That comment was specific to how openssl is maintained. In case of libmowgli, there is still the old version co-existing with slot 0, so it's not appropriate to change it.
That said, the proper/safe fix here would be to: 1. revbump to -r1, 2. set SLOT=2, 3. add a blocker on =2.1.0. This will force Portage to cleanly upgrade without causing collisions between the wrong ebuild.
Created attachment 492210 [details, diff] Patch [1/2]
Created attachment 492212 [details, diff] Patch [2/2]
The first patch should set libmowgli back in the proper slot. The second patch updates atheme-services to depend on the proper slot. Portage should be able to handle all of this *unless* you managed to install libmowgli-2.1.0, in which case you may need to manually clean it via something like 'emerge -avC libmowgli'.
Comment on attachment 492210 [details, diff] Patch [1/2] >From 5b39fd4b43a0b0f0486c3e875b399f5fdbc2556f Mon Sep 17 00:00:00 2001 >From: Wade Cline <wadecline@hotmail.com> >Date: Sun, 3 Sep 2017 13:15:42 -0700 >Subject: [PATCH 1/2] dev-libs/libmowgli: Revbump to 2.1.0-r1 This is not a useful commit message. It doesn't say anything about anything being fixed or changed. Revbump is a side effect, not a solution to any problem. > >Bug: 629644 The correct form is Bug: https://bugs.gentoo.org/NNNNNN (or Closes: if you want to close it) >--- > dev-libs/libmowgli/libmowgli-2.1.0-r1.ebuild | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 dev-libs/libmowgli/libmowgli-2.1.0-r1.ebuild > >diff --git a/dev-libs/libmowgli/libmowgli-2.1.0-r1.ebuild b/dev-libs/libmowgli/libmowgli-2.1.0-r1.ebuild >new file mode 100644 >index 00000000000..e95bd78d845 >--- /dev/null >+++ b/dev-libs/libmowgli/libmowgli-2.1.0-r1.ebuild >@@ -0,0 +1,20 @@ >+# Copyright 1999-2017 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI=6 >+ >+DESCRIPTION="Useful set of performance and usability-oriented extensions to C" >+HOMEPAGE="https://github.com/atheme/libmowgli-2" >+SRC_URI="https://github.com/atheme/libmowgli-2/archive/v${PV}.tar.gz -> ${P}.tar.gz" >+ >+LICENSE="BSD-2" >+SLOT="2" >+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" >+IUSE="ssl" >+ >+RDEPEND="ssl? ( dev-libs/openssl:0= )" >+DEPEND="${RDEPEND} >+ !=dev-libs/libmowgli-2.1.0" >+ >+DOCS=(AUTHORS README doc/BOOST doc/design-concepts.txt) >+S="${WORKDIR}/${PN}-2-${PV}" >-- >2.13.5 > Why are you keeping the known-broken -r0?
Bug has been referenced in the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ef2de93196903dbd9fd7be908c9d8cfc7eb7d6 commit b9ef2de93196903dbd9fd7be908c9d8cfc7eb7d6 Author: Wade Cline <wadecline@hotmail.com> AuthorDate: 2017-09-03 20:40:51 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-09-06 10:58:30 +0000 net-irc/atheme-services: Revbump to 7.2.9-r1 Make atheme depend on the slot 2 version of libmowgli rather than slot 0. Bug: https://bugs.gentoo.org/629644 .../{atheme-services-7.2.9.ebuild => atheme-services-7.2.9-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Bug has been closed via the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c3f94a9b81e9939493f6c85a8ae905f2625d2b5 commit 4c3f94a9b81e9939493f6c85a8ae905f2625d2b5 Author: Wade Cline <wadecline@hotmail.com> AuthorDate: 2017-09-05 23:50:40 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-09-06 10:58:29 +0000 dev-libs/libmowgli: Bump to 2.1.1. Closes: https://bugs.gentoo.org/629644 Closes: https://bugs.gentoo.org/629856 dev-libs/libmowgli/Manifest | 2 +- .../libmowgli/{libmowgli-2.1.0.ebuild => libmowgli-2.1.1.ebuild} | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)