Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911117 - app-editors/emacs-29.1_rc1: file collision with 29.0.92 when USE="gsettings gtk gui -X -aqua"
Summary: app-editors/emacs-29.1_rc1: file collision with 29.0.92 when USE="gsettings g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-24 07:51 UTC by Alfred Wingate
Modified: 2023-07-24 16:15 UTC (History)
0 users

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


Attachments
build.log for 29.1_rc1 (emacs-29.1_rc1:20230724-045226.log.gz,140.59 KB, application/gzip)
2023-07-24 07:53 UTC, Alfred Wingate
Details
emerge --info (emerge--info.txt,21.01 KB, text/plain)
2023-07-24 07:53 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2023-07-24 07:51:30 UTC
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
Comment 1 Alfred Wingate 2023-07-24 07:53:04 UTC
Created attachment 866048 [details]
build.log for 29.1_rc1
Comment 2 Alfred Wingate 2023-07-24 07:53:57 UTC
Created attachment 866049 [details]
emerge --info
Comment 3 Alfred Wingate 2023-07-24 08:45:29 UTC
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.
Comment 5 Alfred Wingate 2023-07-24 08:55:43 UTC
 * 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.
Comment 6 Alfred Wingate 2023-07-24 09:00:01 UTC
So this will be an issue for normal people when slots 29 and 30 have to coexist.
Comment 7 Alfred Wingate 2023-07-24 09:17:58 UTC
And its related to pgtk branch (tested). So USE="gsettings gtk gui -X -aqua"
Comment 8 Alfred Wingate 2023-07-24 10:14:42 UTC
Adding this file to emacs-common is probably the best option for the future.
Comment 9 Larry the Git Cow gentoo-dev 2023-07-24 16:10:23 UTC
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(+)
Comment 10 Ulrich Müller gentoo-dev 2023-07-24 16:15:17 UTC
Thank you for reporting!