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
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.
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)
In the mean time, I have checked in a temporary patch to the Fedora CVS to F13 and rawhide branches.
to me it seems c-ares doesn't use those defines anyway so I guess we can just remove them
I have sent a patch upstream, I guess we can resume the discussion there. Thanks for the quick reply!
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
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.