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