<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2995</bug_id>
          
          <creation_ts>2012-08-23 01:30:08 +0000</creation_ts>
          <short_desc>pango fails to build for x86_64</short_desc>
          <delta_ts>2012-08-29 15:37:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Andy Ross">andy.ross</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24376</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-08-23 01:30:08 +0000</bug_when>
    <thetext>pango-querymodules specifies 

-Wl,-rpath -Wl,/usr/lib/../lib to libtool and that gets into ELF and later QA checker detects it and complains


ERROR: QA Issue: pango: /work/x86_64-poky-linux/pango-1.30.0-r0/packages-split/pango/usr/bin/pango-view contains probably-redundant RPATH /usr/lib/../lib
ERROR: QA Issue: pango: /work/x86_64-poky-linux/pango-1.30.0-r0/packages-split/pango/usr/bin/pango-querymodules contains probably-redundant RPATH /usr/lib/../lib
ERROR: QA run found fatal errors. Please consider fixing them.


note that my build host is ubuntu 12.04/x86_64 and target is qemux86-64

this does not happen in dissimilar arches e.g. it builds ok for i586 or ppc


So two questions, 1 somehow libtool is behaving strangely when both build system and target system are same proabably because its able to read files in /usr/lib on build host.

secondly there is a patch to libtool which should have converted this relative path to normal /usr/lib and I do have that patch applied to metadata

it still fails.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24430</commentid>
    <comment_count>1</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-08-24 03:11:14 +0000</bug_when>
    <thetext>the similar error also happened on nightly-build (20120822-1) when build qemux86-64 meta-toolchain-gmae (both i686 and x86_64),log from autobuilder:
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86-64/builds/593/steps/shell_50/logs/stdio
http://autobuilder.pokylinux.org:8010/builders/nightly-x86-64/builds/593/steps/shell_64/logs/stdio

--------------
...
ERROR: QA Issue: pango: /work/x86_64-poky-linux/pango-1.30.0-r0/packages-split/pango/usr/bin/pango-querymodules contains probably-redundant RPATH /usr/lib/../lib
ERROR: QA Issue: pango: /work/x86_64-poky-linux/pango-1.30.0-r0/packages-split/pango/usr/bin/pango-view contains probably-redundant RPATH /usr/lib/../lib
...
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
...
Summary: 1 task failed:
  /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/meta/recipes-graphics/pango/pango_1.30.0.bb, do_package
---------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24433</commentid>
    <comment_count>2</comment_count>
    <who name="Andy Ross">andy.ross</who>
    <bug_when>2012-08-24 03:18:58 +0000</bug_when>
    <thetext>This was latent, and unmasked by oe-core commit 72a924d068, which fixed the warning condition to properly normalize the path before comparing vs. &quot;/usr/lib&quot;.  An libtool patch was required to properly normalize the -rpath argument passed to ld, but apparently more treatment is needed.  Specifically, Saul discovered that the many of the .la files produced by libtool have the /usr/lib/../lib construction, including pango and libstdc++.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24551</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-08-28 15:07:18 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=16a7a61510b60e9a11f4c2018cca3294cd8eb29f</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24617</commentid>
    <comment_count>4</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-08-29 15:37:19 +0000</bug_when>
    <thetext>Verified with commit 92e40ec8599d567f3907837c616b83e089c2b544 on Ubuntu 12.04</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>