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.
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
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.
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?
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.
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?
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
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
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.