<div dir="ltr">Hi Raj,<div><br></div><div>Thank you for reply.</div><div><br></div><div>Yes i am using gcc-linaro-6.2.1-arm-linux-gnueabi toolchain</div><div><br></div><div>If i comment below line from python package_fixsymlinks () function, it works</div><div><br></div><div><div><b>                rtarget = cpath.realpath(path, inst_root, True)</b></div><div><b>                if not cpath.lexists(rtarget):</b></div><div><b>                    dangling_links[pkg].append(os.path.normpath(rtarget[len(inst_root):]))</b></div></div><div><br></div><div>Regards,</div><div>Prashant</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 27, 2017 at 11:45 AM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">does this happen if you remove meta-linaro-toolchain from your layer mix ?<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jan 26, 2017 at 8:23 PM, ANDANI PRASHANT<br>
&lt;<a href="mailto:andani.prashant@gmail.com">andani.prashant@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; If i remove package_fixsymlinks from meta/classes/package.bbclass, it works<br>
&gt; else giving error as below:<br>
&gt;<br>
&gt; ERROR: external-linaro-toolchain-<wbr>2017.01~dev-r0.arago30 do_package: Error<br>
&gt; executing a python function in exec_python_func() autogenerated:<br>
&gt;<br>
&gt; The stack trace of python calls that resulted in this exception/failure was:<br>
&gt; File: &#39;exec_python_func() autogenerated&#39;, lineno: 2, function: &lt;module&gt;<br>
&gt;      0001:<br>
&gt;  *** 0002:package_fixsymlinks(d)<br>
&gt;      0003:<br>
&gt; File: &#39;tisdk/sources/oe-core/meta/<wbr>classes/package.bbclass&#39;, lineno: 1210,<br>
&gt; function: package_fixsymlinks<br>
&gt;      1206:        inst_root = os.path.join(pkgdest, pkg)<br>
&gt;      1207:        for path in pkgfiles[pkg]:<br>
&gt;      1208:                rpath = path[len(inst_root):]<br>
&gt;      1209:                pkg_files[pkg].append(rpath)<br>
&gt;  *** 1210:                rtarget = cpath.realpath(path, inst_root, True,<br>
&gt; assume_dir = True)<br>
&gt;      1211:                if not cpath.lexists(rtarget):<br>
&gt;      1212:<br>
&gt; dangling_links[pkg].append(os.<wbr>path.normpath(rtarget[len(<wbr>inst_root):]))<br>
&gt;      1213:<br>
&gt;      1214:    newrdepends = {}<br>
&gt; File: tisdk/sources/oe-core/meta/<wbr>lib/oe/cachedpath.py&#39;, lineno: 229,<br>
&gt; function: realpath<br>
&gt;      0225:                # be printed a backtrace with 100s of OSError<br>
&gt; exceptions<br>
&gt;      0226:                # else<br>
&gt;      0227:                raise OSError(errno.ELOOP,<br>
&gt;      0228:                              &quot;too much recursions while resolving<br>
&gt; &#39;%s&#39;; loop in &#39;%s&#39;&quot; %<br>
&gt;  *** 0229:                              (file, e.strerror))<br>
&gt;      0230:<br>
&gt;      0231:            raise<br>
&gt;      0232:<br>
&gt;      0233:        return file<br>
&gt; Exception: OSError: [Errno 40] too much recursions while resolving<br>
&gt; &#39;tisdk/build/arago-tmp-<wbr>external-linaro-toolchain/<wbr>work/armv5-linux-gnueabi/<wbr>external-linaro-toolchain/<wbr>2017.01~dev-r0.arago30/<wbr>packages-split/libstdc++-dev/<wbr>usr/include/c++/6.2.1/arm-<wbr>linux-gnueabi/arm-linux-<wbr>gnueabi&#39;;<br>
&gt; loop in<br>
&gt; &#39;tisdk/build/arago-tmp-<wbr>external-linaro-toolchain/<wbr>work/armv5-linux-gnueabi/<wbr>external-linaro-toolchain/<wbr>2017.01~dev-r0.arago30/<wbr>packages-split/libstdc++-dev/<wbr>usr/include/c++/6.2.1/arm-<wbr>linux-gnueabi/arm-linux-<wbr>gnueabi&#39;<br>
&gt;<br>
&gt; ERROR: external-linaro-toolchain-<wbr>2017.01~dev-r0.arago30 do_package: Function<br>
&gt; failed: package_fixsymlinks<br>
&gt; ERROR: Logfile of failure stored in:<br>
&gt; tisdk/build/arago-tmp-<wbr>external-linaro-toolchain/<wbr>work/armv5-linux-gnueabi/<wbr>external-linaro-toolchain/<wbr>2017.01~dev-r0.arago30/temp/<wbr>log.do_package.10039<br>
&gt; ERROR: Task 437<br>
&gt; (tisdk/sources/meta-linaro/<wbr>meta-linaro-toolchain/recipes-<wbr>devtools/external-linaro-<wbr>toolchain/<a href="http://external-linaro-toolchain.bb" rel="noreferrer" target="_blank">external-linaro-<wbr>toolchain.bb</a>,<br>
&gt; do_package) failed with exit code &#39;1&#39;<br>
&gt; NOTE: Tasks Summary: Attempted 642 tasks of which 629 didn&#39;t need to be<br>
&gt; rerun and 1 failed.<br>
&gt; NOTE: Writing buildhistory<br>
&gt; Waiting for 0 running tasks to finish:<br>
&gt;<br>
&gt; Summary: 1 task failed:<br>
&gt; tisdk/sources/meta-linaro/<wbr>meta-linaro-toolchain/recipes-<wbr>devtools/external-linaro-<wbr>toolchain/<a href="http://external-linaro-toolchain.bb" rel="noreferrer" target="_blank">external-linaro-<wbr>toolchain.bb</a>,<br>
&gt; do_package<br>
&gt; Summary: There were 3 WARNING messages shown.<br>
&gt; Summary: There were 2 ERROR messages shown, returning a non-zero exit code.<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Regards,<br>
&gt; Prashant<br>
&gt;<br>
</div></div><span class="HOEnZb"><font color="#888888">&gt; --<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
&gt;<br>
</font></span></blockquote></div><br></div>