<?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>2669</bug_id>
          
          <creation_ts>2012-06-27 15:46:16 +0000</creation_ts>
          <short_desc>libiconv external recipe has RPATH QA issue</short_desc>
          <delta_ts>2013-02-11 18:08:46 +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>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Bogdan Marinescu">bogdan.a.marinescu</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>john.toomey</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</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>22642</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-27 15:46:16 +0000</bug_when>
    <thetext>If you build the external libiconv recipe in master then it produces a QA error during do_package:

ERROR: QA Issue: package libiconv contains bad RPATH $ORIGIN/../lib:/media/large/tmp/work/i586-poky-linux/libiconv-1.14-r1/image/usr/lib in file /media/large/tmp/work/i586-poky-linux/libiconv-1.14-r1/packages-split/libiconv/usr/bin/iconv

This has gone unnoticed (I only picked it up because someone reported it on IRC), which suggests we are not testing building it at all at the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22674</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-06-28 14:45:33 +0000</bug_when>
    <thetext>This recipe is only used in uclibc configuration which is why this is only seen in certain cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22676</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-28 14:59:32 +0000</bug_when>
    <thetext>Interesting - FWIW, the report was from a user building a custom recipe for &quot;dcmtk&quot; that apparently was not working in conjunction with the libiconv built into eglibc. I did not dig further but I don&apos;t think they were using uclibc at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22693</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-06-29 14:05:12 +0000</bug_when>
    <thetext>OK, ignore my previous comment.

Would it make sense to skip this recipe unless uclibc is being used?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26626</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-10-16 08:28:17 +0000</bug_when>
    <thetext>A fix was merged to disable the libiconv recipe when using eglibc:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8a2664b1c2f7ad6d34714d87ff78c02b4af99562

However for uclibc users we still need to fix the QA issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29674</commentid>
    <comment_count>5</comment_count>
      <attachid>1066</attachid>
    <who name="Björn Stenberg">bjst</who>
    <bug_when>2013-02-08 10:57:55 +0000</bug_when>
    <thetext>Created attachment 1066
Patch to remove RPATH from libiconv.

Here&apos;s a quick and dirty patch to get past this on uclibc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29675</commentid>
    <comment_count>6</comment_count>
      <attachid>1067</attachid>
    <who name="Björn Stenberg">bjst</who>
    <bug_when>2013-02-08 11:02:28 +0000</bug_when>
    <thetext>Created attachment 1067
Corrected uclibc patch

Previous patch had a line cut short.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29717</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-02-11 18:08:46 +0000</bug_when>
    <thetext>Björn&apos;s patch has now been merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=00a2411470b989ca80bc2a6de08d105bc400dae5</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>1066</attachid>
            <date>2013-02-08 10:57:55 +0000</date>
            <delta_ts>2013-02-08 10:57:55 +0000</delta_ts>
            <desc>Patch to remove RPATH from libiconv.</desc>
            <filename>libiconv-uclib-remove-rpath.patch</filename>
            <type>text/plain</type>
            <size>705</size>
            <attacher name="Björn Stenberg">bjst</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvcmVjaXBlcy1zdXBwb3J0L2xpYmljb252L2xpYmljb252XzEuMTQu
YmIgYi9tZXRhL3JlY2lwZXMtc3VwcG8KaW5kZXggNjY2Njg2Ni4uYjFkMjYxMiAxMDA2NDQKLS0t
IGEvbWV0YS9yZWNpcGVzLXN1cHBvcnQvbGliaWNvbnYvbGliaWNvbnZfMS4xNC5iYgorKysgYi9t
ZXRhL3JlY2lwZXMtc3VwcG9ydC9saWJpY29udi9saWJpY29udl8xLjE0LmJiCkBAIC0zNCw2ICsz
NCwxMiBAQCBkb19jb25maWd1cmVfcHJlcGVuZCAoKSB7CiAgICAgICAgcm0gLWYgbTQvbGlidG9v
bC5tNCBtNC9sdG9wdGlvbnMubTQgbTQvbHRzdWdhci5tNCBtNC9sdHZlcnNpb24ubTQgbTQvbHR+
CiB9CiAKK2RvX2NvbmZpZ3VyZV9hcHBlbmQgKCkgeworICAgICAgICAjIGZvcmNpYmx5IHJlbW92
ZSBSUEFUSCBmcm9tIGxpYnRvb2wKKyAgICAgICAgc2VkIC1pICdzfF5oYXJkY29kZV9saWJkaXJf
ZmxhZ19zcGVjPS4qfGhhcmRjb2RlX2xpYmRpcl9mbGFnX3NwZWM9IiJ8ZycKKyAgICAgICAgc2Vk
IC1pICdzfF5ydW5wYXRoX3Zhcj1MRF9SVU5fUEFUSHxydW5wYXRoX3Zhcj1fTk9fUlBBVEhffGcn
ICpsaWJ0b29sCit9CisKIGRvX2luc3RhbGxfYXBwZW5kICgpIHsKICAgICAgICBybSAtcmYgJHtE
fSR7bGliZGlyfS9wcmVsb2FkYWJsZV9saWJpY29udi5zbwogICAgICAgIHJtIC1yZiAke0R9JHts
aWJkaXJ9L2NoYXJzZXQuYWxpYXMK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>1067</attachid>
            <date>2013-02-08 11:02:28 +0000</date>
            <delta_ts>2013-02-08 11:02:28 +0000</delta_ts>
            <desc>Corrected uclibc patch</desc>
            <filename>libiconv-uclib-remove-rpath.patch</filename>
            <type>text/plain</type>
            <size>868</size>
            <attacher name="Björn Stenberg">bjst</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL21ldGEvcmVjaXBlcy1zdXBwb3J0L2xpYmljb252L2xpYmljb252XzEuMTQu
YmIgYi9tZXRhL3JlY2lwZXMtc3VwcG9ydC9saWJpY29udi9saWJpY29udl8xLjE0LmJiCmluZGV4
IDY2NjY4NjYuLmIxZDI2MTIgMTAwNjQ0Ci0tLSBhL21ldGEvcmVjaXBlcy1zdXBwb3J0L2xpYmlj
b252L2xpYmljb252XzEuMTQuYmIKKysrIGIvbWV0YS9yZWNpcGVzLXN1cHBvcnQvbGliaWNvbnYv
bGliaWNvbnZfMS4xNC5iYgpAQCAtMzQsNiArMzQsMTIgQEAgZG9fY29uZmlndXJlX3ByZXBlbmQg
KCkgewogCXJtIC1mIG00L2xpYnRvb2wubTQgbTQvbHRvcHRpb25zLm00IG00L2x0c3VnYXIubTQg
bTQvbHR2ZXJzaW9uLm00IG00L2x0fm9ic29sZXRlLm00IGxpYmNoYXJzZXQvbTQvbGlidG9vbC5t
NCBsaWJjaGFyc2V0L200L2x0b3B0aW9ucy5tNCBsaWJjaGFyc2V0L200L2x0c3VnYXIubTQgbGli
Y2hhcnNldC9tNC9sdHZlcnNpb24ubTQgbGliY2hhcnNldC9tNC9sdH5vYnNvbGV0ZS5tNAogfQog
Citkb19jb25maWd1cmVfYXBwZW5kICgpIHsKKyAgICAgICAgIyBmb3JjaWJseSByZW1vdmUgUlBB
VEggZnJvbSBsaWJ0b29sCisgICAgICAgIHNlZCAtaSAnc3xeaGFyZGNvZGVfbGliZGlyX2ZsYWdf
c3BlYz0uKnxoYXJkY29kZV9saWJkaXJfZmxhZ19zcGVjPSIifGcnICpsaWJ0b29sCisgICAgICAg
IHNlZCAtaSAnc3xecnVucGF0aF92YXI9TERfUlVOX1BBVEh8cnVucGF0aF92YXI9X05PX1JQQVRI
X3xnJyAqbGlidG9vbAorfQorCiBkb19pbnN0YWxsX2FwcGVuZCAoKSB7CiAJcm0gLXJmICR7RH0k
e2xpYmRpcn0vcHJlbG9hZGFibGVfbGliaWNvbnYuc28KIAlybSAtcmYgJHtEfSR7bGliZGlyfS9j
aGFyc2V0LmFsaWFzCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>