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

Bug 885781

Summary: mail-mta/sendmail: installs makemap symlink which collides on merged-usr
Product: Gentoo Linux Reporter: Majed <majedzouhairy>
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    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 690294    

Description Majed 2022-12-13 14:23:09 UTC
after running emerge  --oneshot /usr/sbin
and error occurs on the sendmail package and emerge is unable to continue.

 * Package 'mail-mta/sendmail-8.17.1.9' 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/makemap
 * 		/usr/bin/makemap
 * 		/usr/sbin/makemap
 * 			Differences: type, mode
 * 
 * Package 'mail-mta/sendmail-8.17.1.9' 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 Larry the Git Cow gentoo-dev 2022-12-14 01:53:10 UTC
The bug has been closed via the following commit(s):

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

commit 02b4f7073e6f0ea6829c8936b99ee605db117779
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-14 01:45:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-14 01:45:06 +0000

    mail-mta/sendmail: fix makemap file collision for merged-usr
    
    There's no need to make this symlink at all - it's within /usr
    for both (not /usr -> /), it deviates from both upstream and
    other distros' packaging, and there's also no benefit
    given non-root PATH contains sbin anyway.
    
    Also, symlink's been there since 2002 (initial commit), so
    it's not like it was added to solve some problem.
    
    Ionen did the analysis on this on IRC (thank you!).
    
    Closes: https://bugs.gentoo.org/885781
    Signed-off-by: Sam James <sam@gentoo.org>

 mail-mta/sendmail/sendmail-8.17.1-r3.ebuild | 1 -
 mail-mta/sendmail/sendmail-8.17.1.9.ebuild  | 1 -
 2 files changed, 2 deletions(-)