Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 658065

Summary: File conflicts between dovecot-devel multilib packages in Optional repo
Product: Red Hat Enterprise Linux 6 Reporter: Alexander Todorov <atodorov>
Component: relengAssignee: Dennis Gregorovic <dgregor>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: dgregor, dmach, ovasik
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 644778 Environment:
Last Closed: 2011-05-19 12:55:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 644778    

Description Alexander Todorov 2010-11-29 09:07:35 UTC
+++ 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 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 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 10:54:57 UTC
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 07:35:27 UTC
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 12:46:00 UTC
(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 09:21:49 UTC
Adding Dennis to CC. 

Dennis,
can we remove dovecot-devel 32bit?

Comment 5 Dennis Gregorovic 2010-12-02 14:14:14 UTC
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 09:57:44 UTC
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 13:42:41 UTC
Based on Michal's opinion, I'm giving dev_nack for that issue... please, add dovecot to multilib exclusion, Dennis.

Comment 8 RHEL Program Management 2010-12-03 13:55:10 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.

Comment 9 Alexander Todorov 2010-12-03 14:13:15 UTC
Moving to releng and re-opening.

Comment 10 Dennis Gregorovic 2011-02-04 17:11:55 UTC
dovecot-devel added to multiarch blacklist in distill and should get removed from the next compose.

Comment 13 Alexander Todorov 2011-02-07 13:27:44 UTC
# 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 12:55:33 UTC
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