<?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>6851</bug_id>
          
          <creation_ts>2014-10-16 13:27:01 +0000</creation_ts>
          <short_desc>icu-native: not relocatable via sstate</short_desc>
          <delta_ts>2015-06-04 14:00:00 +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>deployment</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="André Draszik">byo</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46384</commentid>
    <comment_count>0</comment_count>
    <who name="André Draszik">byo</who>
    <bug_when>2014-10-16 13:27:01 +0000</bug_when>
    <thetext>The icu recipe installs icu-native twice, once in the usual location,
and once for cross builds into the path given by --with-cross-build.

This latter path is not included in the list of paths recognised by
chrpath.bbclass, hence the binaries in there retain the rpath as used
during compilation. This causes the package to not be relocateable
from sstate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46385</commentid>
    <comment_count>1</comment_count>
      <attachid>2191</attachid>
    <who name="André Draszik">byo</who>
    <bug_when>2014-10-16 13:28:24 +0000</bug_when>
    <thetext>Created attachment 2191
fix hard paths

using PREPROCESS_RELOCATE_DIRS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46404</commentid>
    <comment_count>2</comment_count>
    <who name="André Draszik">byo</who>
    <bug_when>2014-10-17 09:11:30 +0000</bug_when>
    <thetext>It seems this change alone doesn&apos;t cause the sstate signature to become invalid, hence bitbake uses an existing archive from sstate (which still has the old rpaths).

Not sure what&apos;s missing to force a signature change here, other than doing a -c cleansstate</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46405</commentid>
    <comment_count>3</comment_count>
    <who name="André Draszik">byo</who>
    <bug_when>2014-10-17 09:21:58 +0000</bug_when>
    <thetext>And BTW, in the patch, I did try using ${STAGING_ICU_DIR_NATIVE} instead of open-coding ${datadir}/${BPN}/${PV}, originally, but that didn&apos;t work, as at the time chrpath.bbclass was running, this translated into .../usr/lib instead of .../usr/share (as it should and does during all the other tasks).

I didn&apos;t find the reason for that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50354</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-04-16 15:17:17 +0000</bug_when>
    <thetext>Andre, can you submit this to the oe-core list as a git-formatted patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51505</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-06-04 14:00:00 +0000</bug_when>
    <thetext>Fixed in oe-core e7fcaa534511e3f65b630b01cf0c824ee5a5fd4d.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>2191</attachid>
            <date>2014-10-16 13:28:24 +0000</date>
            <delta_ts>2014-10-16 13:28:24 +0000</delta_ts>
            <desc>fix hard paths</desc>
            <filename>0001-icu-native-fix-hard-paths-in-native-icu.patch</filename>
            <type>text/plain</type>
            <size>1338</size>
            <attacher name="André Draszik">byo</attacher>
            
              <data encoding="base64">RnJvbSAzZjgxNGFkZmFmYjFmM2E3NTQzODM1OWFmOTQ1OWVmMDFiNWI3YmE3IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/QW5kcj1DMz1BOT0yMERyYXN6aWs/PSA8YWRy
YXN6aWtAZGlnaXNvZnQudHY+CkRhdGU6IFRodSwgMTYgT2N0IDIwMTQgMTQ6MDE6MjYgKzAxMDAK
U3ViamVjdDogW1BBVENIXSBpY3UtbmF0aXZlOiBmaXggaGFyZCBwYXRocyBpbiBuYXRpdmUgaWN1
CgpUaGUgaWN1IHJlY2lwZSBpbnN0YWxscyBpY3UtbmF0aXZlIHR3aWNlLCBvbmNlIGluIHRoZSB1
c3VhbCBsb2NhdGlvbiwKYW5kIG9uY2UgZm9yIGNyb3NzIGJ1aWxkcyBpbnRvIHRoZSBwYXRoIGdp
dmVuIGJ5IC0td2l0aC1jcm9zcy1idWlsZC4KClRoaXMgbGF0dGVyIHBhdGggaXMgbm90IGluY2x1
ZGVkIGluIHRoZSBsaXN0IG9mIHBhdGhzIHJlY29nbmlzZWQgYnkKY2hycGF0aC5iYmNsYXNzLCBo
ZW5jZSB0aGUgYmluYXJpZXMgaW4gdGhlcmUgcmV0YWluIHRoZSBycGF0aCBhcyB1c2VkCmR1cmlu
ZyBjb21waWxhdGlvbi4gVGhpcyBjYXVzZXMgdGhlIHBhY2thZ2UgdG8gbm90IGJlIHJlbG9jYXRl
YWJsZQpmcm9tIHNzdGF0ZQpbWU9DVE8gIzY4NTFdCgpXZSB1c2UgdGhlIGluZnJhc3RydWN0dXJl
IHRoYXQgaXMgaW4gcGxhY2UgYWxyZWFkeSwgYW5kIHNpbXBseSBzZXQKUFJFUFJPQ0VTU19SRUxP
Q0FURV9ESVJTIGFzIG5lY2Vzc2FyeSwgYW5kIHRoaW5ncyBzdGFydCB0byB3b3JrLgotLS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