Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482098 - mail-mta/netqmail-1.06-r2 with net-mail/courier-imap-4.8.0-r1 - file collision in man1/maildirmake.1.bz2
Summary: mail-mta/netqmail-1.06-r2 with net-mail/courier-imap-4.8.0-r1 - file collisio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-22 14:07 UTC by Harold Anderson
Modified: 2018-01-08 18:51 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harold Anderson 2013-08-22 14:07:22 UTC
* Messages for package mail-mta/netqmail-1.06-r2:                                                                                                               
                                                                                                                                                                 
 * This package will overwrite one or more files that may belong to other                                                                                        
 * packages (see list below). You can use a command such as `portageq                                                                                            
 * owners / <filename>` to identify the installed package that owns a                                                                                            
 * file. If portageq reports that only one package owns a file then do                                                                                           
 * NOT file a bug report. A bug report is only useful if it identifies at                                                                                        
 * least two or more packages that are known to install the same file(s).                                                                                        
 * If a collision occurs and you can not explain where the file came from                                                                                        
 * then you should simply ignore the collision since there is not enough                                                                                         
 * information to determine if a real problem exists. Please do NOT file                                                                                         
 * a bug report at http://bugs.gentoo.org unless you report exactly which                                                                                        
 * two packages install the same file(s). See                                                                                                                    
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to                                                                                        
 * solve the problem. And once again, please do NOT file a bug report                                                                                            
 * unless you have completely understood the above message.                                                                                                      
 *                                                                                                                                                               
 * Detected file collision(s):                                                                                                                                   
 *                                                                                                                                                               
 *      /usr/share/man/man1/maildirmake.1.bz2                                                                                                                    
 *                                                                                                                                                               
 * Searching all installed packages for file collisions...                                                                                                       
 *                                                                                                                                                               
 * Press Ctrl-C to Stop                                                                                                                                          
 *                                                                                                                                                               
 * net-mail/courier-imap-4.8.0-r1:0::gentoo                                                                                                                      
 *      /usr/share/man/man1/maildirmake.1.bz2                                                                                                                    
 *                                                                                                                                                               
 * Package 'mail-mta/netqmail-1.06-r2' NOT merged due to file collisions.                                                                                        
 * If necessary, refer to your elog messages for the whole content of the                                                                                        
 * above message.                                                                                                                                                
 *                                                                                                                                                               
 * The following package has failed to build or install:                                                                                                         
 *                                                                                                                                                               
 *  (mail-mta/netqmail-1.06-r2::gentoo, ebuild scheduled for merge), Log file:                                                                                   
 *   '/var/tmp/portage/mail-mta/netqmail-1.06-r2/temp/build.log'                                                                                                 
 *                                                        



                                                                             

Reproducible: Always

Steps to Reproduce:
1. Emerge courier-imap
2. Emerge qmail
3. Emerge netqmail
Comment 1 Harold Anderson 2013-08-22 14:08:44 UTC
 emerge --info                                                                                                                             
Portage 2.2.0 (default/linux/amd64/13.0/no-multilib, gcc-4.7.3, glibc-2.17, 3.9.5-gentooBlackSwan x86_64)                                                        
=================================================================                                                                                                
System uname: Linux-3.9.5-gentooBlackSwan-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_0_@_2.00GHz-with-gentoo-2.2                                                        
KiB Mem:     7699064 total,   7263948 free                                                                                                                       
KiB Swap:          0 total,         0 free                                                                                                                       
Timestamp of tree: Sun, 18 Aug 2013 11:15:01 +0000                                                                                                               
ld GNU ld (GNU Binutils) 2.23.2                                                                                                                                  
app-shells/bash:          4.2_p45                                                                                                                                
dev-java/java-config:     2.2.0                                                                                                                                  
dev-lang/python:          2.7.5-r1, 3.2.5-r1                                                                                                                     
dev-util/cmake:           2.8.11.1                                                                                                                               
dev-util/pkgconfig:       0.28                                                                                                                                   
sys-apps/baselayout:      2.2                                                                                                                                    
sys-apps/openrc:          0.12                                                                                                                                   
sys-apps/sandbox:         2.6-r1                                                                                                                                 
sys-devel/autoconf:       2.69                                                                                                                                   
sys-devel/automake:       1.12.6                                                                                                                                 
sys-devel/binutils:       2.23.2                                                                                                                                 
sys-devel/gcc:            4.7.3                                                                                                                                  
sys-devel/gcc-config:     1.8                                                                                                                                    
sys-devel/libtool:        2.4.2                                                                                                                                  
sys-devel/make:           3.82-r4                                                                                                                                
sys-kernel/linux-headers: 3.10 (virtual/os-headers)                                                                                                              
sys-libs/glibc:           2.17                                                                                                                                   
Repositories: gentoo                                                                                                                                             
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                                   
ACCEPT_LICENSE="*"                                                                                                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                     
CFLAGS="-O2 -pipe"                                                                                                                                               
CHOST="x86_64-pc-linux-gnu"                                                                                                                                      
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"                                                                                             
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apac\
he2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revd\
ep-rebuild /etc/sandbox.d /etc/terminfo"                                                                                                                         
CXXFLAGS="-O2 -pipe"                                                                                                                                             
DISTDIR="/usr/portage/distfiles"                                                                                                                                 
EMERGE_DEFAULT_OPTS=" --keep-going"                                                                                                                              
FCFLAGS="-O2 -pipe"                                                                                                                                              
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync parallel-fetch preserve-libs protect-owned sandbox \
sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                                                       
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                
MAKEOPTS="-j16"                                                                                                                                                  
PKGDIR="/usr/portage/packages"                                                                                                                                   
PORTAGE_CONFIGROOT="/"                                                                                                                                           
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeou\
t=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                 
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                        
PORTDIR="/usr/portage"                                                                                                                                           
PORTDIR_OVERLAY=""                                                                                                                                               
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"                                                                                                                
USE="acl amd64 apache2 authdaemond bzip2 cli cracklib crypt cxx dri fortran gdbm gif hwdb iconv imap ipv6 jpeg ldap maildir mmx modules mudflap mysql ncurses nl\
s nptl openmp pam pcre png postgres python readline sasl session spell sqlite3 sse sse2 ssl svg tcpd tiff unicode urandom vda vhosts vim-syntax zlib" ABI_X86="6\
4" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 triden\
t usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm a\
uthn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid 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 uniqu\
e_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="\
df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nm\
ea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="\
bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NGINX_MODULES\
_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi up\
stream_ip_hash userid uwsgi realip gzip_static gunzip spdy cache_purge limit_conn slowfs_cache" NGINX_MODULES_MAIL="smtp pop3 imap" OFFICE_IMPLEMENTATION="libre\
office" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="fbde\
v glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options i\
pset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"                                                
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 zlg (RETIRED) gentoo-dev 2014-07-28 04:58:33 UTC
I can confirm this happening on amd64 stable, hardened profile. Removing courier-imap resolved the problem, but clearly that's not optimal. :)
Comment 3 Michael Orlitzky gentoo-dev 2017-03-27 05:13:01 UTC
I just renamed maildirmake to courier-maildirmake in courier-imap-4.17.3. Let's see how that plays out -- maybe it resolves the issue, or maybe its users will yell at me.
Comment 4 atx 2017-06-16 08:53:51 UTC
I am one of the users to yell at you ;-)
I now have no maildirmake binary left in my system having only courier-imap. This was a problem because I had a maildroprc that expects maildirmake to automatically create new maildirs if the user locally exists.

I have renamed maildirmake to courier-maildirmake in my maildroprc and now it works.
I am not really sure how common this is as I am the only one complaining.
Nevertheless, a warning after courier-imap upgrade would have been nice.
Comment 5 Michael Orlitzky gentoo-dev 2017-08-06 14:24:10 UTC
(In reply to atx from comment #4)
> Nevertheless, a warning after courier-imap upgrade would have been nice.

Sorry, I forgot to reply to this.

Normally it would have been easy to add a message in the postinst phase that is only shown to upgraders: "warning, the maildirmake binary has been renamed to courier-maildirmake" or something like that. But shortly after I committed the new version (and before you brought it up), the arches began marking the new version stable. Which now means two things:

 * I can't touch the ebuild.

 * Anyone who was going to be bit by this during an upgrade (i.e. stable
   users) has already been bit by it.

At this point, I could do a new revision with the warning, but it would only affect ~arch users who ran into the problem months ago. Thus the cat has probably flown on this one.