Bug 697138

Summary: [PATCH] fix glib2-devel multilib conflict
Product: [Fedora] Fedora Reporter: Bobby Powers <bobbypowers>
Component: glib2Assignee: Matthias Clasen <mclasen>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: bobbypowers, caolanm, goeran, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 673452 Environment:
Last Closed: 2011-04-24 18:47:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
places systemtap tapsets in arch-specific location
none
updated on top of latest f15 (2.28.6-2) none

Description Bobby Powers 2011-04-16 02:53:17 UTC
Created attachment 492535 [details]
places systemtap tapsets in arch-specific location

+++ This bug was initially created as a clone of Bug #673452 +++

I cloned #673452 because I couldn't reopen it.  This is a regression from F14, and the attached patch fixes the one conflict (systemtap files).  This bug makes it impossible (fine, prohibitively hard :) to compile 32-bit software that links against glib2.  See below for more info.  Thanks!

yours,
Bobby
~~~

Description of problem:
yum 
Version-Release number of selected component (if applicable):
glib2-devel-2.27.92-2.fc15

How reproducible:
100%

Steps to Reproduce:
yum install glib2-devel.i686
  
Actual results:
Transaction Check Error:
  file /usr/share/systemtap/tapset/glib.stp from install of glib2-devel-2.27.92-2.fc15.i686 conflicts with file from package glib2-devel-2.27.92-2.fc15.x86_64
  file /usr/share/systemta

--- Additional comment from bobby on 2011-04-11 23:10:31 EDT ---

I'm still seeing this myself:


Transaction Check Error:
  file /usr/share/systemtap/tapset/glib.stp from install of glib2-devel-2.28.5-2.fc15.i686 conflicts with file from package glib2-devel-2.28.5-2.fc15.x86_64
  file /usr/share/systemtap/tapset/gobject.stp from install of glib2-devel-2.28.5-2.fc15.i686 conflicts with file from package glib2-devel-2.28.5-2.fc15.x86_64

--- Additional comment from bobby on 2011-04-12 00:03:05 EDT ---

Created attachment 491402 [details]
specfile fix

fix for tip of f15/master glib2 git branch

--- Additional comment from bobby on 2011-04-12 00:08:04 EDT ---

The above patch allows me to install both i686 and x86_64 devel packages, tested locally with a mock build.

--- Additional comment from mclasen on 2011-04-14 17:12:31 EDT ---

-devel packages are not supposed to be parallel installable. multilib only means that library packages are parallel installable.

--- Additional comment from bobby on 2011-04-14 18:12:13 EDT ---

Matthias:

this is absolutely a bug.  -devel packages install symlinks required for linking, like:
/usr/lib/libglib-2.0.so

Without this you must specify the exact library path when linking 32-bit libraries (meaning you can't use pkgconfig).

Also, this is a regression.  glib2-devel was parallel installable on f14.

Please either repon or apply my patch.  I am glad to rework it if you have specific comments on it.

yours,
Bobby

Comment 1 Bobby Powers 2011-04-17 07:04:57 UTC
Created attachment 492672 [details]
updated on top of latest f15 (2.28.6-2)

Comment 2 Göran Uddeborg 2011-04-24 18:47:19 UTC
I reopened 673452 for you, Bobby.  I'm not sure why I'm allowed to reopen, but not you.  But I assume you prefer to continue the case in the original report rather than split some of it to this clone.

*** This bug has been marked as a duplicate of bug 673452 ***