Bug 602880

Summary: c-ares-devel multilib conflict
Product: [Fedora] Fedora Reporter: Philippe Troin <phil>
Component: c-aresAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: daniel, jhrozek, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: c-ares-1.7.0-5.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 604131 (view as bug list) Environment:
Last Closed: 2010-07-07 17:34:55 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: 604131    

Description Philippe Troin 2010-06-10 22:37:30 UTC
Description of problem:

yum install c-ares-devel.{i686,x86_64}

yields:

Transaction Check Error:
  file /usr/include/ares_build.h from install of c-ares-devel-1.7.0-1.fc13.i686 conflicts with file from package c-ares-devel-1.7.0-1.fc13.x86_64


Version-Release number of selected component (if applicable):
c-ares-devel-1.7.0-1.fc13

Comment 1 Jakub Hrozek 2010-06-11 08:34:29 UTC
Right, that is caused by the ares_build.h file being generated during configure-time. The header includes stuff like (sigh) #define CARES_SIZEOF_LONG

So it's not just a packaging issue and should be discussed with upstream first.

Comment 2 Jakub Hrozek 2010-06-15 13:29:53 UTC
Daniel, what kind of patch would upstream accept to make the headers identical across architectures? 

Would moving the definitions that are different per arch to a header included from ares_private.h work for you? Something along the lines of "ares_private_build.h" and "ares_private_rules.h"?

(The meat of the problem is that for 32bit and 64bit -devel packages to be installable in parallel, the headers distributed must be the same)

Comment 3 Jakub Hrozek 2010-06-15 13:30:54 UTC
In the mean time, I have checked in a temporary patch to the Fedora CVS to F13 and rawhide branches.

Comment 4 Daniel Stenberg 2010-06-15 21:36:19 UTC
to me it seems c-ares doesn't use those defines anyway so I guess we can just remove them

Comment 5 Jakub Hrozek 2010-06-16 09:34:01 UTC
I have sent a patch upstream, I guess we can resume the discussion there.

Thanks for the quick reply!

Comment 6 Fedora Update System 2010-06-16 17:50:53 UTC
c-ares-1.7.0-5.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update c-ares'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/c-ares-1.7.0-5.fc13

Comment 7 Fedora Update System 2010-07-07 17:34:50 UTC
c-ares-1.7.0-5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.