Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913144 - mail-mta/opensmtpd-7.3.0_p1 file collision
Summary: mail-mta/opensmtpd-7.3.0_p1 file collision
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:
 
Reported: 2023-08-28 08:21 UTC by Per Pomsel
Modified: 2023-09-05 14:37 UTC (History)
2 users (show)

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


Attachments
Potential new mailx ebuild fixing 913144 (mailx-8.1.2.20180807.ebuild,1.35 KB, text/plain)
2023-08-31 08:41 UTC, Paul Gover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Per Pomsel 2023-08-28 08:21:20 UTC
...
 * Detected file collision(s):
 * 
 *      /usr/share/man/man1/lockspool.1.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * mail-client/mailx-support-20060102-r2:0::gentoo
 *      /usr/share/man/man1/lockspool.1.bz2
 * 
 * Package 'mail-mta/opensmtpd-7.3.0_p1' NOT merged due to file
 * collisions.
...

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2023-08-28 16:07:33 UTC
The bug has been closed via the following commit(s):

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

commit fc3c3fee06bf9608106c3d2f84a75f8ffdaef2bd
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-08-28 16:07:22 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-08-28 16:07:22 +0000

    mail-client/mailx-support: add blocker for mail-mta/opensmtpd
    
    Closes: https://bugs.gentoo.org/913144
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...lx-support-20060102-r2.ebuild => mailx-support-20060102-r3.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit 4d7b0439a83f07f408743d83ef2f8af6afff8163
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-08-28 16:07:21 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-08-28 16:07:21 +0000

    mail-mta/opensmtpd: add blocker for mail-client/mailx-support
    
    Bug: https://bugs.gentoo.org/913144
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../{opensmtpd-7.3.0_p1.ebuild => opensmtpd-7.3.0_p1-r1.ebuild}          | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Per Pomsel 2023-08-29 05:19:26 UTC
Now I get:  [blocks B      ] mail-mta/opensmtpd ("mail-mta/opensmtpd" is soft blocking mail-client/mailx-support-20060102-r3)
[blocks B      ] mail-client/mailx-support ("mail-client/mailx-support" is soft blocking mail-mta/opensmtpd-7.3.0_p1-r1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (mail-mta/opensmtpd-7.3.0_p1-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    mail-mta/opensmtpd required by @selected 
    mail-mta/opensmtpd[mta] required by (virtual/mta-1-r2:0/0::gentoo, installed) USE="userland_GNU"

  (mail-client/mailx-support-20060102-r3:0/0::gentoo, ebuild scheduled for merge) pulled in by
    mail-client/mailx-support required by (mail-client/mailx-8.1.2.20180807:0/0::gentoo, installed) USE="userland_GNU"
Comment 3 Paul Gover 2023-08-31 08:39:05 UTC
IIUC, this mess is because mailx requires the lockspool utility, which actually comes from opensmtpd, and to allow mailx to run other MTAs the function was split out into mailx-support.

If that's correct, either mailx or opensmtpd can supply lockspool, but not both.

So I've made a small change to the mailx DEPENDs to allow either.  Then emerged it, depcleaned mailx-support, and emerged the new opensmtpd successfully.

I'll attach my ebuild.
Comment 4 Paul Gover 2023-08-31 08:41:52 UTC
Created attachment 869085 [details]
Potential new mailx ebuild fixing 913144
Comment 5 Per Pomsel 2023-09-05 05:44:44 UTC
Thank you! It works for me (private overlay).
Comment 6 Larry the Git Cow gentoo-dev 2023-09-05 09:22:33 UTC
The bug has been referenced in the following commit(s):

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

commit ab17ff4c976762f8fcea0987c2813c24d62ca200
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-09-05 09:22:14 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-09-05 09:22:14 +0000

    mail-client/mailx: update EAPI 7 -> 8
    
    Bug: https://bugs.gentoo.org/913144
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/mailx-8.1.2.20050715-offsetof.patch      | 21 +++++++---------
 ...80807.ebuild => mailx-8.1.2.20180807-r1.ebuild} | 28 ++++++++++------------
 2 files changed, 22 insertions(+), 27 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2023-09-05 14:37:01 UTC
The bug has been closed via the following commit(s):

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

commit f571d35d15b7e75c0606e3faa6ef5aa25b8c15ec
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-09-05 14:36:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-09-05 14:36:51 +0000

    mail-mta/opensmtpd: drop 6.8.0_p2-r2, 6.8.0_p2-r3
    
    Closes: https://bugs.gentoo.org/881701
    Closes: https://bugs.gentoo.org/899788
    Closes: https://bugs.gentoo.org/913144
    Signed-off-by: David Seifert <soap@gentoo.org>

 mail-mta/opensmtpd/Manifest                        |   1 -
 .../opensmtpd/files/opensmtpd-6.8.0_p2-ar.patch    |  42 ---
 ...pd-6.8.0_p2-implicit-function-declaration.patch | 303 ---------------------
 .../opensmtpd-6.8.0_p2-strict-prototypes.patch     |  74 -----
 mail-mta/opensmtpd/files/smtpd.service             |  10 -
 mail-mta/opensmtpd/files/smtpd.socket              |   8 -
 mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r2.ebuild    |  78 ------
 mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild    |  91 -------
 8 files changed, 607 deletions(-)