Hi, my portage found a collision, portageq says this: mail-mta/courier-0.53.2-r1 /usr/bin/addcr sys-apps/ucspi-tcp-0.88-r16 /usr/bin/addcr I figured the flags of these packages might help: [ebuild R ] mail-mta/courier-0.53.2-r1 USE="crypt fam mysql nls spell -fax -ipv6 -ldap -mailwrapper -norewrite -pam -postgres" 0 kB [ebuild R ] sys-apps/ucspi-tcp-0.88-r16 USE="-doc (-selinux)" 0 kB emerge --info: Portage 2.1.4.4 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r12 x86_64) ================================================================= System uname: 2.6.23-hardened-r12 x86_64 AMD Athlon(tm) 64 Processor 3200+ Timestamp of tree: Wed, 21 May 2008 09:45:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fforce-addr -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb /var/lib/postgresql/data" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -fforce-addr -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.virginmedia.com/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://sycamoretest.info/gentoo-portage" USE="3dnow 3dnowext 7zip X aac acpi alsa amd64 arts artswrappersuid berkdb branding bzip2 cddb cjk cracklib crypt cups dbus device-mapper divx dvd dvdr dvdread fam ftp fuse gif gpm hal hardened jpeg justify loop-aes midi mng mp3 multilib mysql nls nptl nptlonly nsplugin offensive opengl pam pic png postgres postgresql python quicktime quotas rar readline realmedia reiserfs spell sse sse2 ssl svg symlink tiff truetype unicode urandom utempter vhosts vorbis wma wmp xinerama xorg xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I installed courier as MTA, that was when the collision was reported. Not sure what the other package is, dependency of sth. I should note that I had courier-imap and postfix before, but unmerged them before merging courier. depclean gives a bunch of results but neither of the colliders Anything else I can do/get let me know Thanks, Steffen
Issue still present with mail-mta/courier-0.59.0, currently preventing install of ucspi-tcp.
Problem still present with sys-apps/ucspi-tcp-0.88-r16 and mail-mta/courier-0.62.2
Problem still present 8 months on. Can we have a suggested workaround? Does one particular version of addcr work for both packages?
*** Bug 350394 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > Problem still present 8 months on. > > Can we have a suggested workaround? Does one particular version of addcr work > for both packages? I don't think so. I believe the solution is to rename addcr of one package.
there do have people talk about this on SF last year https://sourceforge.net/p/courier/mailman/message/35365637/ debian did an approach to solve this by divert addcr from ucspi-tcp https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476489
Created attachment 462860 [details] hacked courier ebuild
Created attachment 462862 [details] hacked ucspi-tcp ebuild
just provide simple hacked ebuild to solve the issue if anyone need a quick solution, courier-0.76.4.ebuild added an extra USE flag called [collide-ucspi-tcp] ucspi-tcp-0.88-r18.ebuild also added an extra USE flag called [collide-courier] when courier doesn't have [collide-ucspi-tcp] flag, it block ucspi-tcp, if [collide-ucspi-tcp] set for courier, it require ucspi-tcp[collide-courier], when ucspi-tcp[collide-courier] is set, it will install uscpi-tcp ver "addcr" as "addcr.uscpi-tcp" to avoid collision with courier.