Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697570 - mail-mta/msmtp-1.8.6[mta] has internal collision
Summary: mail-mta/msmtp-1.8.6[mta] has internal collision
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-12 18:24 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2020-02-17 02:42 UTC (History)
0 users

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


Attachments
Patch (msmtp.patch,2.25 KB, patch)
2019-10-12 18:30 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2019-10-12 18:24:52 UTC
* checking 26 files for package collisions
 * Package 'mail-mta/msmtp-1.8.6' 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
 *
 * Package 'mail-mta/msmtp-1.8.6' NOT merged due to internal collisions
 * between non-identical files. If necessary, refer to your elog messages
 * for the whole content of the above message.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-10-12 18:30:20 UTC
Created attachment 592596 [details, diff]
Patch

It is sufficient to install /usr/bin/sendmail, no need for /usr/sbin/sendmail.
Comment 2 Larry the Git Cow gentoo-dev 2019-10-14 07:46:28 UTC
The bug has been closed via the following commit(s):

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

commit 3af9a5d2e6dc4ba078180ce2215ff0bb4a24053d
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2019-10-12 18:28:32 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-10-14 07:46:22 +0000

    mail-mta/msmtp: Fix internal collision.
    
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Closes: https://bugs.gentoo.org/697570
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 mail-mta/msmtp/msmtp-1.8.3.ebuild    | 4 +---
 mail-mta/msmtp/msmtp-1.8.5-r1.ebuild | 4 +---
 mail-mta/msmtp/msmtp-1.8.6.ebuild    | 4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)
Comment 3 Stefan Strogin gentoo-dev 2020-02-17 02:38:18 UTC
I don't believe it is right to install /usr/bin/sendmail instead of /usr/sbin/sendmail.

AFAIK all `mail` command providers (net-mail/mailutils, mail-client/s-nail at least) use /usr/sbin/sendmail by default. So let's change

- dosym msmtp /usr/bin/sendmail
+ dosym ../bin/msmtp /usr/sbin/sendmail
Comment 4 Stefan Strogin gentoo-dev 2020-02-17 02:42:18 UTC
PS. FWIW, Debian installs it into /usr/sbin/sendmail, not /usr/bin/: https://packages.debian.org/sid/amd64/msmtp-mta/filelist