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 658051 - File conflicts between libevent-devel multilib packages in Optional repo
Summary: File conflicts between libevent-devel multilib packages in Optional repo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libevent
Version: 6.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Petr Sklenar
URL:
Whiteboard:
Depends On:
Blocks: 644778
TreeView+ depends on / blocked
 
Reported: 2010-11-29 08:49 UTC by Alexander Todorov
Modified: 2013-03-04 20:20 UTC (History)
5 users (show)

Fixed In Version: libevent-1.4.13-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 644778
: 810138 (view as bug list)
Environment:
Last Closed: 2012-06-20 15:10:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
diff between i686 and x86_64 (5.38 KB, patch)
2011-04-12 04:42 UTC, Bobby Powers
no flags Details | Diff
rpm output on f17 (13.16 KB, application/octet-stream)
2012-04-04 15:23 UTC, Bobby Powers
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0968 0 normal SHIPPED_LIVE libevent bug fix update 2012-06-19 21:11:58 UTC

Description Alexander Todorov 2010-11-29 08:49:46 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/event-config.h conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/latex/doxygen.sty conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/latex/refman.tex conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/sample/Makefile conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.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 Ric Wheeler 2010-12-01 18:01:20 UTC
Is this something for the NFS team to fix, or something for rpm developers?

Comment 2 Alexander Todorov 2010-12-02 08:54:55 UTC
Ric,
those kinds of errors is something that package maintainers need to fix usually. The reference to rpm was FYI.

Can you tell why those files are different between arches and what's their role in the package? Based on that we can decide on a course of action.

Comment 3 Bobby Powers 2011-04-12 04:40:54 UTC
update:

Transaction Check Error:
  file /usr/include/event2/event-config.h from install of libevent-devel-2.0.10-2.fc15.i686 conflicts with file from package libevent-devel-2.0.10-2.fc15.x86_64
  file /usr/share/doc/libevent-devel-2.0.10/latex/doxygen.sty from install of libevent-devel-2.0.10-2.fc15.i686 conflicts with file from package libevent-devel-2.0.10-2.fc15.x86_64
  file /usr/share/doc/libevent-devel-2.0.10/latex/refman.tex from install of libevent-devel-2.0.10-2.fc15.i686 conflicts with file from package libevent-devel-2.0.10-2.fc15.x86_64
  file /usr/share/doc/libevent-devel-2.0.10/sample/Makefile from install of libevent-devel-2.0.10-2.fc15.i686 conflicts with file from package libevent-devel-2.0.10-2.fc15.x86_64


event-config.h and Makefile have arch specific info (I imagine they're generated by configure)

doxygen.sty and refman.tex have different timestamps.  I imagine we can reduce these timestamps to day resolution (from second resolution) and that will (usually) fix the problem.

IDK about event-config.h, I guess we can have event-config.h conditionally include event-config-%{_arch}.h, and the same with the sample makefile?

I'll attach the diff.

Comment 4 Bobby Powers 2011-04-12 04:42:02 UTC
Created attachment 491403 [details]
diff between i686 and x86_64

diff of the conflicts between -devel i686 and x86_64

Comment 5 Bobby Powers 2011-04-12 04:45:12 UTC
#477685 is a duplicate of this, BTW (and both #634919 and #550844 are related).  Oh, I'm on Fedora 15, but see the same thing

Comment 6 Ric Wheeler 2011-06-09 16:14:41 UTC
Is this still the case with the early builds of 6.2?

Comment 7 Alexander Todorov 2011-06-10 07:56:50 UTC
============================================================================================================================================================================
 Package                                  Arch                         Version                              Repository                                                 Size
============================================================================================================================================================================
Installing:
 libevent-devel                           i686                         1.4.13-1.el6                         /libevent-devel-1.4.13-1.el6.i686                         1.3 M
 libevent-devel                           x86_64                       1.4.13-1.el6                         /libevent-devel-1.4.13-1.el6.x86_64                       1.4 M
Installing for dependencies:
 glibc                                    i686                         2.12-1.26.el6                        beaker-Workstation                                        4.3 M
 libevent                                 i686                         1.4.13-1.el6                         beaker-Workstation                                         66 k
 nss-softokn-freebl                       i686                         3.12.9-3.el6                         beaker-Workstation                                        114 k

Transaction Summary
============================================================================================================================================================================
Install       5 Package(s)

Total size: 7.2 M
Total download size: 4.5 M
Installed size: 16 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): glibc-2.12-1.26.el6.i686.rpm                                                                                                                  | 4.3 MB     00:00     
(2/3): libevent-1.4.13-1.el6.i686.rpm                                                                                                                |  66 kB     00:00     
(3/3): nss-softokn-freebl-3.12.9-3.el6.i686.rpm                                                                                                      | 114 kB     00:00     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                        17 MB/s | 4.5 MB     00:00     
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/include/event-config.h conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/latex/doxygen.sty conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/latex/refman.tex conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/sample/Makefile conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686

Error Summary
-------------

Comment 8 RHEL Program Management 2011-07-06 00:39:39 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 9 Akemi Yagi 2012-01-16 00:49:52 UTC
This issue still exists in RHEL 6.2.

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)

$ sudo yum install libevent-devel.x86_64 libevent-devel.i686

Transaction Check Error:
  file /usr/include/event-config.h conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/latex/doxygen.sty conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/latex/refman.tex conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686
  file /usr/share/doc/libevent-devel-1.4.13/sample/Makefile conflicts between attempted installs of libevent-devel-1.4.13-1.el6.x86_64 and libevent-devel-1.4.13-1.el6.i686

Comment 18 Bobby Powers 2012-04-04 15:23:40 UTC
Created attachment 575172 [details]
rpm output on f17

FWIW I still see this conflict with F17

Comment 19 Petr Sklenar 2012-04-05 09:08:06 UTC
(In reply to comment #18)
> Created attachment 575172 [details]
> rpm output on f17
> 
> FWIW I still see this conflict with F17

Hello Bobby,
Thanks much for you comment.
I created bug 810138 as clone of this one only for Fedora, not to mix it with rhel6 release.

Comment 21 Steve Dickson 2012-04-23 13:58:56 UTC
Changing back to MODIFY since the current breaks the nfs-utils build.

Comment 25 errata-xmlrpc 2012-06-20 15:10:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0968.html


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