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

Bug 73486

Summary: courier: Installs /usr/sbin/sendmail, collision with mailwrapper
Product: Gentoo Linux Reporter: Alexander Skwar <askwar>
Component: Current packagesAssignee: Scott Taylor (RETIRED) <swtaylor>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 62670    
Bug Blocks:    

Description Alexander Skwar 2004-12-05 14:46:53 UTC
>>> Install mailwrapper-0.2 into /var/tmp/portage/mailwrapper-0.2/image/ category net-mail
man:
prepallstrip:
strip:
strip:
   usr/sbin/sendmail
>>> Completed installing mailwrapper-0.2 into /var/tmp/portage/mailwrapper-0.2/image/

* checking 4 files for package collisions
existing file /usr/sbin/sendmail is not owned by this package
* spent 0.0435509681702 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org

package net-mail/mailwrapper-0.2 NOT merged

No package files given... Grabbing a set.
23:41:07 askwar@alturo:~ $ epm -qf /usr/sbin/sendmail
courier-0.47


This is very closely related to bug #62670. Checking the changelog of courier at http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/mail-mta/courier/ChangeLog, I'm not able to see that the newly released mail-mta/courier-0.47.20041129 "complies" to bug #62670.

Reproducible: Always
Steps to Reproduce:




23:41:36 askwar@alturo:~ $ emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.9-gentoo-r3.PHP2.4kb.cleaned.no-preempt.05 i686)
=================================================================
System uname: 2.6.9-gentoo-r3.PHP2.4kb.cleaned.no-preempt.05 i686 Intel(R)
Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 14 2004, 22:41:19)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-fomit-frame-pointer -pipe -O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://194.117.158.29/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl apache2 apm arts async avi bzlib crypt cscope cups curl curlwrappers
diet djbfft encode exif fam flash foomaticdb ftp fwdzone gd gdbm gif hal
hardened iconv imagemagick imap imlib immqt-bc ithreads javascript jpeg libedit
libg++ libwww lzo lzw lzw-tiff mad maildir mailwrapper mbox mmap mmx mng mpeg
mysql ncurses nls no-old-linux noantlr nobcel nobeanutils nobsh nocommonslogging
nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan
noxerces nptl offensive oggvorbis opengl oss pam parse-clocks pcntl pcre pdflib
perl pic pie png posix postgres pwdb python qt quicktime readline recode sasl
sdl shared slang sockets spell sse ssl sysvipc tcpd tiff truetype unicode vhosts
x86 xfs xml2 xmms xv zlib linguas_de"
Comment 1 Scott Taylor (RETIRED) gentoo-dev 2004-12-05 16:24:58 UTC
From courier-0.47.20041129:

    if use mailwrapper ; then
        mv ${D}/usr/bin/sendmail ${D}/usr/bin/sendmail.courier
        rm ${D}/usr/bin/rmail
        insinto /etc/mail
        doins ${FILESDIR}/mailer.conf
    else

Versions of courier PRIOR to that had made no accommodations for mailwrapper.
Doing this (until i get something better) should build the new courier without
the link in sbin, after which point, mailwrapper should be able to build:

USE="mailwrapper" emerge --nodeps =mail-mta/courier-0.47.20041129
Comment 2 Scott Taylor (RETIRED) gentoo-dev 2004-12-05 19:56:44 UTC
ok, both current versions of courier have been updated to cooperate better with
mailwrapper, and they will try to install themselves before mailwrapper, removing
their sbin link in the process if the mailwrapper USE flag is set.

However it is OK if mailwrapper overwrites the file. So, set USE="mailwrapper", then:

FEATURES="-collision-protect" emerge courier mailwrapper