Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 880143

Summary: mail-mta/ssmtp file collision with merged-usr
Product: Gentoo Linux Reporter: Christian Bricart <christian>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: christian, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 690294    

Description Christian Bricart 2022-11-07 08:11:40 UTC
current ebuilds have explicit unconditional:

src_install()
  …
  if use mta; then
    …
    dosym ../sbin/ssmtp /usr/bin/sendmail
    dosym ssmtp /usr/sbin/sendmail
    …

which obviously makes it fail on a merged-usr system due to file collisions:

 * Package 'mail-mta/ssmtp-2.64_p11' has internal collisions between non-
 * identical files (located in separate directories in the installation
 * image (${D}) corresponding to merged directories in the target
 * filesystem (${ROOT})):
 *
 *      /usr/bin/sendmail
 *              /usr/bin/sendmail
 *              /usr/sbin/sendmail
 *                      Differences: size, content
 *


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-11-13 01:35:59 UTC
The bug has been closed via the following commit(s):

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

commit c98d4e43cf34fb8b632e52aeadb6484e91517928
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-11-13 01:32:41 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-11-13 01:32:41 +0000

    mail-mta/ssmtp: drop /usr/bin/sendmail symlink
    
    Closes: https://bugs.gentoo.org/880143
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 mail-mta/ssmtp/{ssmtp-2.64-r4.ebuild => ssmtp-2.64-r5.ebuild}      | 1 -
 mail-mta/ssmtp/{ssmtp-2.64_p11.ebuild => ssmtp-2.64_p11-r1.ebuild} | 1 -
 2 files changed, 2 deletions(-)