29.1_rc1 and 29.0.92 are in different slots (29 and 29-vcs respectively) so the common file collisions when both are installed at the same time. * Detected file collision(s): * * /usr/share/glib-2.0/schemas/org.gnu.emacs.defaults.gschema.xml * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * app-editors/emacs-29.0.92:29-vcs::gentoo * /usr/share/glib-2.0/schemas/org.gnu.emacs.defaults.gschema.xml Reproducible: Always Steps to Reproduce: 1.Have app-editors/emacs-29.0.92 installed 2.Try to update to app-editors/emacs-29.1_rc1 Actual Results: Installs without collisions Expected Results: File collision
Created attachment 866048 [details] build.log for 29.1_rc1
Created attachment 866049 [details] emerge --info
This file is related to the gsettings use flag and exists in emacs-29 and emacs master branch so emacs-30 is also affected but previous versions arent.
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=31bba950bc867e43188922a8ef03c2f07c6a784a
* Messages for package app-editors/emacs-30.0.9999: * Log file: /var/log/portage/build/app-editors/emacs-30.0.9999:20230724-083639.log.gz * 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/share/glib-2.0/schemas/org.gnu.emacs.defaults.gschema.xml * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * app-editors/emacs-29.0.92:29-vcs::gentoo * /usr/share/glib-2.0/schemas/org.gnu.emacs.defaults.gschema.xml * * Package 'app-editors/emacs-30.0.9999' NOT merged due to file * collisions. If necessary, refer to your elog messages for the whole * content of the above message.
So this will be an issue for normal people when slots 29 and 30 have to coexist.
And its related to pgtk branch (tested). So USE="gsettings gtk gui -X -aqua"
Adding this file to emacs-common is probably the best option for the future.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=538ec8834cfeed31b0b25216652a918dec54185f commit 538ec8834cfeed31b0b25216652a918dec54185f Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2023-07-24 16:03:04 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-07-24 16:05:21 +0000 app-editors/emacs: Don't install gsettings schema file This has been moved to app-emacs/emacs-common to avoid collisions between slots. Closes: https://bugs.gentoo.org/911117 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/emacs-29.1.9999.ebuild | 3 ++- app-editors/emacs/{emacs-29.1_rc1.ebuild => emacs-29.1_rc1-r1.ebuild} | 3 ++- app-editors/emacs/emacs-30.0.9999.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae9d8814015680b841a0c6190501f8bd7651b9a commit 2ae9d8814015680b841a0c6190501f8bd7651b9a Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2023-07-24 16:02:18 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-07-24 16:05:20 +0000 app-emacs/emacs-common: add 1.9 Closes: https://bugs.gentoo.org/911117 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-emacs/emacs-common/Manifest | 1 + app-emacs/emacs-common/emacs-common-1.9.ebuild | 111 +++++++++++++++++++++++++ app-emacs/emacs-common/metadata.xml | 2 + 3 files changed, 114 insertions(+)
Thank you for reporting!