Bug 488922

Summary: /usr/include/curl/curlbuild.h conflicts between i386 and x86_64 packages
Product: [Fedora] Fedora Reporter: Eli Wapniarski <eli>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: erik-fedora, ffesti, hongjiu.lu, james.antill, jnovy, joe, kdudka, nbarriga, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: curl-7.19.4-3.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-11 09:30:04 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:

Description Eli Wapniarski 2009-03-06 08:14:29 UTC
There is a problem with updating curl. The 32bit compatibility package is missing from the updates repo. And as you can see... It's needed if I want to use nspluginwrapper. And I do want to use nspluginwrapper until flash comes out with a stable 64bit plugin.


Transaction Check Error:
  file /usr/share/man/man1/curl.1.gz from install of curl-7.19.4-1.fc10.x86_64 conflicts with file from package curl-7.18.2-1.fc8.i386
  file /usr/include/curl/curlbuild.h conflicts between attempted installs of libcurl-devel-7.19.4-1.fc10.x86_64 and libcurl-devel-7.19.4-1.fc10.i386

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

rpm -e curl-7.18.2-1.fc8.i386
error: Failed dependencies:
        libcurl.so.4 is needed by (installed) libcurl-devel-7.18.2-9.fc10.i386
        libcurl.so.4 is needed by (installed) nspluginwrapper-1.3.0-2.fc10.i386

Comment 1 Kamil Dudka 2009-03-06 15:27:44 UTC
*** Bug 488926 has been marked as a duplicate of this bug. ***

Comment 2 Kamil Dudka 2009-03-07 19:23:33 UTC
Thank you for the report. The man page should be moved to .noarch package, it could help in such cases. I am going to look at it next week.

Comment 3 Jindrich Novy 2009-03-09 17:10:05 UTC
*** Bug 489341 has been marked as a duplicate of this bug. ***

Comment 4 Eli Wapniarski 2009-03-10 07:26:30 UTC
The 32bit compatibility libraries were indeed there, but it seems some obsoletes are still missing.

I had to manually uninstall

   rpm -e --nodeps curl-7.18.2-1.fc8.i386

Then I had to specify the installations of

  libssh2.32bit
  libcurl.32bit

Then

rpm -e libcurl-devel-7.18.2-9.fc10.i386

Then everything updated correctly and all dependancies seem to be met.

Comment 5 Kamil Dudka 2009-03-10 12:06:05 UTC
The conflict is on file /usr/include/curl/curlbuild.h as reported in Bug 489341, thanks! This file was introduced in curl-7.19.0 and differs between i386 and x86_64 packages. Now I am looking for proper solution to avoid this conflict.

Comment 6 Kamil Dudka 2009-03-10 12:48:46 UTC
It's tough to hold architecture dependent headers separately but still easy reachable. Does anybody really need i386 and x86_64 libcurl-devel packages installed together? If not we can explicitly declare conflict between these packages.

Comment 7 James Antill 2009-03-10 13:56:40 UTC
Kamil, have a look at how pyconfig.h works in python (that has i386 and x86_64 versions of the file, and is tweaked so it can be installed at the same time).

Comment 8 Joe Nall 2009-03-10 14:08:30 UTC
"Does anybody really need i386 and x86_64 libcurl-devell packages installed together?"

We do on our multi-arch build boxes.

This bug is against rawhide but the curlbuild.h multi-arch issue is in F10 too.

Comment 9 Kamil Dudka 2009-03-10 18:53:47 UTC
James, this is exactly what I was looking for. Thanks! No problem to reuse it in the curl package I think...

Joe, thanks for insight.

We know that F9 and F10 curl packages are affected as well. They were updated to 7.19.4 recently. No need to open separate bugs.

Comment 10 Kamil Dudka 2009-03-11 09:30:04 UTC
built as curl-7.19.4-3.fc11

Comment 11 Fedora Update System 2009-03-16 08:25:52 UTC
curl-7.19.4-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/curl-7.19.4-3.fc10

Comment 12 Fedora Update System 2009-03-16 08:25:58 UTC
curl-7.19.4-3.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/curl-7.19.4-3.fc9

Comment 13 Fedora Update System 2009-03-16 19:43:34 UTC
curl-7.19.4-3.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2009-03-16 19:48:53 UTC
curl-7.19.4-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.