Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880143 - mail-mta/ssmtp file collision with merged-usr
Summary: mail-mta/ssmtp file collision with merged-usr
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: usrmerge, usrmerge-fixes
  Show dependency tree
 
Reported: 2022-11-07 08:11 UTC by Christian Bricart
Modified: 2022-11-13 01:35 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)