Bug 462650 - conflict between platform specific version of gtk+-devel
Summary: conflict between platform specific version of gtk+-devel
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk+
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Patrice Dumas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-17 19:50 UTC by Darren Cole
Modified: 2008-10-20 22:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-20 22:17:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Darren Cole 2008-09-17 19:50:54 UTC
Description of problem:
gtk+-devel for i386 and x86_64 conflict over /usr/bin/gtk-config

Version-Release number of selected component (if applicable):
gtk+-devel-1.2.10-61.fc9

How reproducible:
On a x86_64 Fedora 9 box install i386 version of gtk+-devel, then try to install the x86_64.

Steps to Reproduce:
1.Install i386 gtk+-devel on x86_64 Fedora 9 box
2.try to install x86_64 gtk+-devel 
3.
  
Actual results:
conflict

Expected results:
Should be able to install both versions.

Comment 1 Patrice Dumas 2008-10-01 22:31:22 UTC
The diff is:

--- i386/usr/bin/glib-config    2008-10-02 00:26:03.000000000 +0200
+++ x86_64/usr/bin/glib-config  2008-10-02 00:26:05.000000000 +0200
@@ -104,7 +104,7 @@
                libsa="$libsa -lpthread"
        fi
        if test "$lib_gmodule" = "yes"; then
-               libsp="-rdynamic -lgmodule $libsp"
+               libsp=" -lgmodule $libsp"
                libsa="$libsa -ldl"
        fi
        echo -L${libdir} $libsp $libsa

Comment 2 Patrice Dumas 2008-10-02 00:08:25 UTC
The difference was caused by config.sub being too old and not
handling x86_64, causing the host_os string to be empty and
threfore -rdynamic wasn't added although it should have.

I launched a rawhide build. If it succeeds I'll do updates.

Comment 3 Patrice Dumas 2008-10-02 00:18:28 UTC
Hum, this is not about glib... The conflict in glib is fixed, however.

But it seemed to me that not always using newer config.sub only appeared in 
f10. What is the file conflicting in F-9?

Comment 4 Patrice Dumas 2008-10-02 00:42:25 UTC
Ok, this is certainly another issue since it gives:

diff -u --recursive x86_64/usr/bin/gtk-config i386/usr/bin/gtk-config
--- x86_64/usr/bin/gtk-config   2008-10-02 02:26:59.000000000 +0200
+++ i386/usr/bin/gtk-config     2008-10-02 02:25:15.000000000 +0200
@@ -111,6 +111,6 @@
         fi
       done
 
-      echo $libdirs   -L/usr/lib64 -lgtk -lgdk $my_glib_libs  -lXi -lXext -lX11   -lm
+      echo $libdirs   -lgtk -lgdk $my_glib_libs  -lXi -lXext -lX11   -lm
 fi      

It seems to be caused by @x_ldflags@. It doesn't seems to an issue in
devel. 

Something bothers me, however, I can't find 1:1.2.10-62.fc9, so I cannot
check that it was fixed by a rebuild.

I think that the best would certainly be to remove @x_ldflags@ completly,
to be sure that it doesn't get in the way. I'll have a look at it 
tomorrow.

Comment 5 Darren Cole 2008-10-02 00:44:15 UTC
If you install both x86_64 then the i386 versions of gtk+-devel the i386 will conflict on this file:

/usr/bin/gtk-config

I just tried this again on a Fedora 9 machine using yum.  I installed the gtk+-devel.x86_64, then tried yum install gtk+-devel.i386 and got this error:

Transaction Check Error:
  file /usr/bin/gtk-config from install of gtk+-devel-1.2.10-61.fc9.i386 conflicts with file from package gtk+-devel-1.2.10-61.fc9.x86_64

Does that help?

Comment 6 Fedora Update System 2008-10-02 09:29:22 UTC
gtk+-1.2.10-66.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/gtk+-1.2.10-66.fc9

Comment 7 Fedora Update System 2008-10-03 22:33:45 UTC
gtk+-1.2.10-66.fc9 has been pushed to the Fedora 9 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 gtk+'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-8600

Comment 8 Fedora Update System 2008-10-20 22:17:00 UTC
gtk+-1.2.10-66.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


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