<?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>7343</bug_id>
          
          <creation_ts>2015-02-20 17:43:59 +0000</creation_ts>
          <short_desc>toolchain environment setup script has wrong paths if /opt/ is a symlink</short_desc>
          <delta_ts>2015-02-25 19:15:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>Installation</product>
          <component>Installation</component>
          <version>1.7.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>7032</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Kaiser">yocto</reporter>
          <assigned_to name="Aníbal Limón">anibal.limon</assigned_to>
          <cc>anibal.limon</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48964</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Kaiser">yocto</who>
    <bug_when>2015-02-20 17:43:59 +0000</bug_when>
    <thetext>I built a cross-toolchain for armvte and eventually got a
poky-glibc-x86_64-core-image-minimal-armv5te-toolchain-1.7.1.sh


On my system, /opt/ is a symlink to /usr/opt/

If I install to the default dir /opt/poky/1.7.1/, all paths in the environment setup script are prefixed with /usr/usr/opt/...

I have to correct this manually before the toolchain is usable.

This may be related to the readlink -m in the .sh script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49064</commentid>
    <comment_count>1</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2015-02-25 19:15:50 +0000</bug_when>
    <thetext>This issue is already solved patch are integrated into master and target to be integrated into 1.7 [1][2].

[1] http://lists.openembedded.org/pipermail/openembedded-core/2015-February/101562.html
[2] http://lists.openembedded.org/pipermail/openembedded-core/2015-February/101621.html

*** This bug has been marked as a duplicate of bug 7032 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>