Bug 527960

Summary: on IA64, rpm installs i386 static libraries to /usr/lib
Product: Red Hat Enterprise Linux 5 Reporter: Jan Safranek <jsafrane>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4CC: ffesti
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-07 16:13:37 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:
Bug Depends On:    
Bug Blocks: 521820    

Description Jan Safranek 2009-10-08 11:50:11 UTC
Description of problem:
I have static libraries in net-snmp-devel.i386 package. When I install it on IA64 machine, they are installed to /usr/lib directory instead of /emul/ia32-linux/.

This causes multilib conflicts between net-snmp-devel.ia64 and net-snmp-devel.i386.

Version-Release number of selected component (if applicable):
rpm-4.4.2.3-18.el5

How reproducible:
always

Steps to Reproduce:
1. rpm -i net-snmp-devel.ia64*
2. rpm -i net-snmp-devel.i386*
  
Actual results:
	file /usr/lib/libnetsnmp.a from install of net-snmp-devel-5.3.2.2-7.el5.i386 conflicts with file from package net-snmp-devel-5.3.2.2-7.el5.ia64
	file /usr/lib/libnetsnmpagent.a from install of net-snmp-devel-5.3.2.2-7.el5.i386 conflicts with file from package net-snmp-devel-5.3.2.2-7.el5.ia64
	file /usr/lib/libnetsnmphelpers.a from install of net-snmp-devel-5.3.2.2-7.el5.i386 conflicts with file from package net-snmp-devel-5.3.2.2-7.el5.ia64
	file /usr/lib/libnetsnmpmibs.a from install of net-snmp-devel-5.3.2.2-7.el5.i386 conflicts with file from package net-snmp-devel-5.3.2.2-7.el5.ia64
	file /usr/lib/libnetsnmptrapd.a from install of net-snmp-devel-5.3.2.2-7.el5.i386 conflicts with file from package net-snmp-devel-5.3.2.2-7.el5.ia64
	file /usr/lib/libsnmp.a from install of net-snmp-devel-5.3.2.2-7.el5.i386 conflicts with file from package net-snmp-devel-5.3.2.2-7.el5.ia64

(there are also other errors, but on net-snmp side, traced as bug #521820)

Expected results:
net-snmp-devel.i386 installed

Additional info:
There is something bad in coloring of the static libraries. RPM does not recognize them as worth relocating to /emul. It's quite similar to bug #491349, see comment #12 and later for some insights, maybe they apply to RHEL5 too.

Comment 1 Florian Festi 2013-03-07 16:13:37 UTC
As there is no colored file in the package at all there is nothing we can really do from the rpm side. Sorry.