Bug 228172

Summary: multi-lib conflict
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: plplotAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-22 22:52:56 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: 213321    

Description Michael Schwendt 2007-02-10 23:30:15 UTC
plplot-tk-devel - 5.7.2-1.fc7.x86_64
  Conflicts: 3
  File conflict in:
     /usr/share/plplot5.7.2/examples/tk/tclIndex
     /usr/share/plplot5.7.2/examples/tk/Makefile
     /usr/share/plplot5.7.2/examples/tcl/tclIndex
  Packages with the same files:
     plplot-tk-devel - 5.7.2-1.fc7.i386

Files in /usr/share should be arch-independent. Why do they differ
between i386 and x86_64?

Comment 1 Orion Poplawski 2007-02-12 19:23:34 UTC
Makefile is typical lib/lib64 issue.  Suggestions?  I'm have to remove the RPATH
stuff completely.  

--- i386/usr/share/plplot5.7.2/examples/tk/Makefile     2007-02-12
12:03:22.000000000 -0700
+++ x86_64/usr/share/plplot5.7.2/examples/tk/Makefile   2007-02-12
12:03:37.000000000 -0700
@@ -24,8 +24,8 @@
 EXEEXT =

 LIB_TAG = d
-PKG_CONFIG_ENV = PKG_CONFIG_PATH=/usr/lib/pkgconfig
-RPATHCMD = -Wl,-rpath -Wl,/usr/lib:/usr/lib
+PKG_CONFIG_ENV = PKG_CONFIG_PATH=/usr/lib64/pkgconfig
+RPATHCMD = -Wl,-rpath -Wl,/usr/lib64:/usr/lib64

 EXECUTABLES_list = \
                 xtk01$(EXEEXT) \


The tclIndex files appear to be generated with tcl's auto_mkindex:

auto_mkindex . *.tcl

Perhaps they can be sorted though to the output is deterministic.

Comment 2 Orion Poplawski 2007-02-13 05:22:09 UTC
I'm completely removing the PKG_CONFIG_ENV and RPATHCMD variables since they
aren't useful in the Fedora package.  Using sort to make tclIndex files
deterministic.  Will be fixed in 5.7.2-3 once we can build against Tcl 8.5.