<div dir="ltr"><div style="font-size:12.8px">Hi,<br><br></div><span style="font-size:12.8px">If i remove package_fixsymlinks from meta/classes/package.bbclass, it works else giving error as below:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">ERROR: external-linaro-toolchain-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">2017.01~dev-r0.arago30 do_package: Error executing a python function in exec_python_func() autogenerated:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">The stack trace of python calls that resulted in this exception/failure was:</span><br style="font-size:12.8px"><span style="font-size:12.8px">File: &#39;exec_python_func() autogenerated&#39;, lineno: 2, function: &lt;module&gt;</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0001:</span><br style="font-size:12.8px"><span style="font-size:12.8px"> *** 0002:package_fixsymlinks(d)</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0003:</span><br style="font-size:12.8px"><span style="font-size:12.8px">File: &#39;tisdk/sources/oe-core/meta/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">classes/package.bbclass&#39;, lineno: 1210, function: package_fixsymlinks</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1206:        inst_root = os.path.join(pkgdest, pkg)</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1207:        for path in pkgfiles[pkg]:</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1208:                rpath = path[len(inst_root):]</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1209:                pkg_files[pkg].append(rpath)</span><br style="font-size:12.8px"><span style="font-size:12.8px"> *** 1210:                rtarget = cpath.realpath(path, inst_root, True, assume_dir = True)</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1211:                if not cpath.lexists(rtarget):</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1212:                    dangling_links[pkg].append(os.</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">path.normpath(rtarget[len(</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">inst_root):]))</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1213:</span><br style="font-size:12.8px"><span style="font-size:12.8px">     1214:    newrdepends = {}</span><br style="font-size:12.8px"><span style="font-size:12.8px">File: tisdk/sources/oe-core/meta/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">lib/oe/cachedpath.py&#39;, lineno: 229, function: realpath</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0225:                # be printed a backtrace with 100s of OSError exceptions</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0226:                # else</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0227:                raise OSError(errno.ELOOP,</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0228:                         </span><wbr style="font-size:12.8px"><span style="font-size:12.8px">     &quot;too much recursions while resolving &#39;%s&#39;; loop in &#39;%s&#39;&quot; %</span><br style="font-size:12.8px"><span style="font-size:12.8px"> *** 0229:                         </span><wbr style="font-size:12.8px"><span style="font-size:12.8px">     (file, e.strerror))</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0230:</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0231:            raise</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0232:</span><br style="font-size:12.8px"><span style="font-size:12.8px">     0233:        return file</span><br style="font-size:12.8px"><span style="font-size:12.8px">Exception: OSError: [Errno 40] too much recursions while resolving &#39;tisdk/build/arago-tmp-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">external-linaro-toolchain/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">work/armv5-linux-gnueabi/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">external-linaro-toolchain/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">2017.01~dev-r0.arago30/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">packages-split/libstdc++-dev/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">usr/include/c++/6.2.1/arm-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">linux-gnueabi/arm-linux-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">gnueabi&#39;; loop in &#39;tisdk/build/arago-tmp-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">external-linaro-toolchain/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">work/armv5-linux-gnueabi/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">external-linaro-toolchain/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">2017.01~dev-r0.arago30/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">packages-split/libstdc++-dev/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">usr/include/c++/6.2.1/arm-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">linux-gnueabi/arm-linux-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">gnueabi&#39;</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">ERROR: external-linaro-toolchain-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">2017.01~dev-r0.arago30 do_package: Function failed: package_fixsymlinks</span><br style="font-size:12.8px"><span style="font-size:12.8px">ERROR: Logfile of failure stored in: tisdk/build/arago-tmp-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">external-linaro-toolchain/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">work/armv5-linux-gnueabi/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">external-linaro-toolchain/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">2017.01~dev-r0.arago30/temp/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">log.do_package.10039</span><br style="font-size:12.8px"><span style="font-size:12.8px">ERROR: Task 437 (tisdk/sources/meta-linaro/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">meta-linaro-toolchain/recipes-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">devtools/external-linaro-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">toolchain/</span><a href="http://external-linaro-toolchain.bb/" target="_blank" style="font-size:12.8px">external-linaro-<wbr>toolchain.bb</a><span style="font-size:12.8px">, do_package) failed with exit code &#39;1&#39;</span><br style="font-size:12.8px"><span style="font-size:12.8px">NOTE: Tasks Summary: Attempted 642 tasks of which 629 didn&#39;t need to be rerun and 1 failed.</span><br style="font-size:12.8px"><span style="font-size:12.8px">NOTE: Writing buildhistory</span><br style="font-size:12.8px"><span style="font-size:12.8px">Waiting for 0 running tasks to finish:</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">Summary: 1 task failed:</span><br style="font-size:12.8px"><span style="font-size:12.8px">tisdk/sources/meta-linaro/</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">meta-linaro-toolchain/recipes-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">devtools/external-linaro-</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">toolchain/</span><a href="http://external-linaro-toolchain.bb/" target="_blank" style="font-size:12.8px">external-linaro-<wbr>toolchain.bb</a><span style="font-size:12.8px">, do_package</span><br style="font-size:12.8px"><span style="font-size:12.8px">Summary: There were 3 WARNING messages shown.</span><br style="font-size:12.8px"><span style="font-size:12.8px">Summary: There were 2 ERROR messages shown, returning a non-zero exit code.</span><br style="font-size:12.8px"><br clear="all" style="font-size:12.8px"><div style="font-size:12.8px"><br>-- <br><div class="gmail-m_6676846015623668394gmail_signature"><div dir="ltr"><div>Regards,<br></div>Prashant</div></div></div></div>