Bug 437675

Summary: ppc64 pangox.pc contains unneeded rpath linkage
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: pangoAssignee: Behdad Esfahbod <behdad>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fonts-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-08-28 15:35:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 433199    

Description Mamoru TASAKA 2008-03-16 06:57:53 UTC
Description of problem:

When I am reviewing anjuta (bug 433199), I noticed that
ppc64 pangox.pc contains the line
Libs: -L${libdir} -lpangox-1.0  -L/usr/lib64 -R/usr/lib64 -lX11
which contains "-R/usr/lib64". This adds unneeded rpath
to all binaries using pangox.pc when compiling.
This causes anjuta build failure on ppc64 with


Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Check /usr/lib64/pkgconfig/pangox.pc

Comment 1 Behdad Esfahbod 2008-03-16 23:27:16 UTC
Why does anjuta even use pangox?  That's been obsolete for more than 5 years...

Comment 2 Mamoru TASAKA 2008-03-17 00:08:28 UTC
On anjuta pangox is used via vte.pc. i.e. vte.pc (in vte-devel)
Name: vte
Description: Vte terminal widget.
Version: 0.16.13
Requires: xft >= 2.0 glib-2.0 gobject-2.0 gtk+-2.0 fontconfig pangoxft >= 1.1.0

Comment 3 Behdad Esfahbod 2008-03-17 00:22:47 UTC
Umm, can you also see if you can find out where the rpath is coming from in pango?

Comment 4 Mamoru TASAKA 2008-03-17 00:27:12 UTC
Okay. I will try later.

Comment 5 Mamoru TASAKA 2008-03-17 01:25:02 UTC

(build intentionally exited with 1, just to catch some logs)

pangox.pc.in contains
Libs: -L${libdir} -lpangox-@PANGO_API_VERSION@ @X_LIBS@
so -R/usr/lib64 in ppc64 comes from X_LIBS.

And in ppc64 -R/usr/lib64 is added to X_LIBS around lines
20580-20668 in configure.
on ppc64:
checking whether -R must be followed by a space... no
Then -R/usr/lib64 is added to X_LIBS around the line 20620
in configure.
On the other hand, in x86_64:
   205  checking whether -R must be followed by a space... neither works

Comment 6 Bug Zapper 2008-05-14 06:38:10 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:

Comment 7 Mamoru TASAKA 2008-08-28 15:35:05 UTC
pango-1.21.5-1.fc10 does not have this issue. Once closing.