Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 658065 - File conflicts between dovecot-devel multilib packages in Optional repo
File conflicts between dovecot-devel multilib packages in Optional repo
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: releng (Show other bugs)
6.0
All Linux
medium Severity medium
: rc
: ---
Assigned To: Dennis Gregorovic
Release Test Team
: Reopened
Depends On:
Blocks: 644778
  Show dependency treegraph
 
Reported: 2010-11-29 04:07 EST by Alexander Todorov
Modified: 2013-03-04 15:20 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 644778
Environment:
Last Closed: 2011-05-19 08:55:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0540 normal SHIPPED_LIVE redhat-release enhancement update for Red Hat Enterprise Linux 6.1 2011-05-18 13:44:50 EDT

  None (edit)
Description Alexander Todorov 2010-11-29 04:07:35 EST
+++ This bug was initially created as a clone of Bug #644778 +++

Description of problem:
There is a file conflict between many packages (i386 and x86_64) in the optional repository for the Workstation variant, x86_64 arch.

Version-Release number of selected component (if applicable):
RHEL6.0-20100922.1 
yum-3.2.27-14.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Do yum localinstall *.rpm inside the optional repository
2.
3.
  
Actual results:
Multiple file conflicts, transaction aborted.

Expected results:
No conflicts

Additional info:
WIll post the entire log in the next comment.

--- Additional comment from atodorov@redhat.com on 2010-10-20 12:05:41 EEST ---

Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/include/dovecot/config.h conflicts between attempted installs of dovecot-devel-1:2.0-0.10.beta6.20100630.el6.x86_64 and dovecot-devel-1:2.0-0.10.beta6.20100630.el6.i686
--- Additional comment from atodorov@redhat.com on 2010-10-20 14:02:24 EEST ---

For the conflicting documentation files see bug #449731 (RHEL4) - it requested that rpm ignores file conflicts under /usr/share/doc to work around several multilib conflicts on ia64.
Comment 1 Michal Hlavinka 2010-11-29 05:54:57 EST
conflicting file is not expected to have the same content on all arches and is generated during the build, so there is no easy nor clean way how to fix this. I'm planning to close this bug as wontfix, any objections?
Comment 2 Alexander Todorov 2010-11-30 02:35:27 EST
Michal,
before closing I'd like to better understand the implications of this.

Is that handled differently in RHLE5 or rpm simply ignores the conflict? 

Is config.h supposed to be included in other source files or not? What will happen if the user has installed both packages (32 and 64bit) and tries to build an application that uses config.h ? Will the different content have any impact? 

Can we remove the 32bit package from the tree ?
Comment 3 Michal Hlavinka 2010-11-30 07:46:00 EST
(In reply to comment #2)
> Michal,
> before closing I'd like to better understand the implications of this.
> 
> Is that handled differently in RHLE5 or rpm simply ignores the conflict? 

differently, we do not ship devel sub-package nor any plugin sub-package

> Is config.h supposed to be included in other source files or not? 

yes 
> What will
> happen if the user has installed both packages (32 and 64bit) and tries to
> build an application that uses config.h ? 

there is no "usual" way how to install both packages (because of that conflict) without forcing it and if user deliberately breaks his system, which you can't prevent him from doing so, it's his fault

> Will the different content have any
> impact? 

yes, it could silently break plugins (struct sizes and other stuff like that))

> Can we remove the 32bit package from the tree ?

you are asking wrong person, from my pov I don't see any reason why both 32bit and 64bit version would be needed nor why 64bit is not sufficient
Comment 4 Alexander Todorov 2010-12-02 04:21:49 EST
Adding Dennis to CC. 

Dennis,
can we remove dovecot-devel 32bit?
Comment 5 Dennis Gregorovic 2010-12-02 09:14:14 EST
In RHEL 6, we pull in all -devel packages as multilib by default.  It's possible to add exclusions, but I would like to understand first why this package should be an exclusion.  Is it possible to fix the multilib issue using tips from http://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks?
Comment 6 Michal Hlavinka 2010-12-03 04:57:44 EST
I've looked at it already but did not find anything useful for this situation. It can be solved using wordsize ifdefs, but I have doubts it's really bulletproof and even on that page is written that that kind of api specification is bad. Also I doubt anyone ever tries to compile anything against dovecot-devel, so I don't think using ugly solutions for this is worth it at all.
Comment 7 Ondrej Vasik 2010-12-03 08:42:41 EST
Based on Michal's opinion, I'm giving dev_nack for that issue... please, add dovecot to multilib exclusion, Dennis.
Comment 8 RHEL Product and Program Management 2010-12-03 08:55:10 EST
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.
Comment 9 Alexander Todorov 2010-12-03 09:13:15 EST
Moving to releng and re-opening.
Comment 10 Dennis Gregorovic 2011-02-04 12:11:55 EST
dovecot-devel added to multiarch blacklist in distill and should get removed from the next compose.
Comment 13 Alexander Todorov 2011-02-07 08:27:44 EST
# pwd
/mnt/redhat/nightly/RHEL6.1-20110207.n.0/6

# find -name "dovecot-devel*"
./Workstation/optional/i386/os/Packages/dovecot-devel-2.0.9-2.el6.i686.rpm
./Workstation/optional/x86_64/os/Packages/dovecot-devel-2.0.9-2.el6.x86_64.rpm
./Server/optional/i386/os/Packages/dovecot-devel-2.0.9-2.el6.i686.rpm
./Server/optional/x86_64/os/Packages/dovecot-devel-2.0.9-2.el6.x86_64.rpm
./Server/optional/ppc64/os/Packages/dovecot-devel-2.0.9-2.el6.ppc64.rpm
./Server/optional/s390x/os/Packages/dovecot-devel-2.0.9-2.el6.s390x.rpm

No multilib packages for dovecot-devel. Moving to VERIFIED.
Comment 14 errata-xmlrpc 2011-05-19 08:55:33 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0540.html

Note You need to log in before you can comment on or make changes to this bug.