[meta-ti] Kernel recipe that works with OECore + meta-ti fails with Poky + meta-ti
Denys Dmytriyenko
denys at ti.com
Wed Oct 9 11:09:02 PDT 2013
On Wed, Oct 09, 2013 at 09:10:49AM -0400, Brian Hutchinson wrote:
> Hi,
>
> I recently was able to get a master checkout of OECore + meta-ti to build
> my custom board kernel using linux-ti81xx-psp_2.6.37.bb. I tried to make
> the same modifications to a master yocto + meta-ti checkout and when I try
> to build, bitbake absolutely takes forever to build
I have 2 questions:
1. Which bitbake you use when building oe-core+meta-ti? Since Poky comes with
own copy of bitbake, you may want to compare them.
2. Not that it would affect packaging, but where in bblayer.conf did you add
meta-ti?
And one more suggestion - you may want to compare classes between oe-core and
poky/meta to see if there are any big differences, especially in the packaging
area...
--
Denys
> linux-ti81xx-psp_2.6.37.bb and it gets stuck on the do_package. I finally
> just let it go (hours and hours on a very fast modern machine) and it looks
> like it finally just gave up the ghost and ran out of memory or something.
> I've never seen anything like it. Anyone seen anything like this before:
>
> Build Configuration:
> BB_VERSION = "1.20.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "Debian-7.1"
> TARGET_SYS = "arm-poky-linux-gnueabi"
> MACHINE = "c6a816x-evm"
> DISTRO = "poky"
> DISTRO_VERSION = "1.5"
> TUNE_FEATURES = "armv7a vfp neon"
> TARGET_FPU = "vfp-neon"
> meta
> meta-yocto
> meta-yocto-bsp = "master:104166c804e9068d85ccdaa887a33df72c8aeb85"
> meta-ti = "master:9c36e6c7573c3e68c5816dd04f3dd43f485b0550"
> meta-oe
> meta-networking
> meta-webserver = "master:8aafddccb03f54923927e9d1c8c80223baf581de"
>
> NOTE: Preparing runqueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: Error executing a python function in
> /home/hutch/yocto_master_wcs_10_4_2013/poky/meta-ti/recipes-kernel/linux/
> linux-ti81xx-psp_2.6.37.bb:
>
> The stack trace of python calls that resulted in this exception/failure was:
> File: 'package_do_filedeps', lineno: 56, function:
> <module>
>
> 0052: for pkg in provides_files:
> 0053: d.setVar("FILERPROVIDESFLIST_" + pkg, "
> ".join(provides_files[pkg]))
> 0054:
> 0055:
> *** 0056:package_do_filedeps(d)
> 0057:
> File: 'package_do_filedeps', lineno: 25, function: package_do_filedeps
> 0021:
> 0022: import multiprocessing
> 0023: nproc = multiprocessing.cpu_count()
> 0024: pool = bb.utils.multiprocessingpool(nproc)
> *** 0025: processed = list(pool.imap(oe.package.filedeprunner, pkglist))
> 0026: pool.close()
> 0027: pool.join()
> 0028:
> 0029: provides_files = {}
> File: '/usr/lib/python2.7/multiprocessing/pool.py', lineno: 653, function:
> next
> 0649:
> 0650: success, value = item
> 0651: if success:
> 0652: return value
> *** 0653: raise value
> 0654:
> 0655: __next__ = next # XXX
> 0656:
> 0657: def _set(self, i, obj):
> Exception: OSError: [Errno 12] Cannot allocate memory
>
> ERROR: Function failed: package_do_filedeps
> ERROR: Logfile of failure stored in:
> /home/hutch/yocto_master_wcs_10_4_2013/poky/build/tmp/work/c6a816x_evm-poky-linux-gnueabi/linux-ti81xx-psp/2.6.37-r0/temp/log.do_package.12766
> ERROR: Task 200
> (/home/hutch/yocto_master_wcs_10_4_2013/poky/meta-ti/recipes-kernel/linux/
> linux-ti81xx-psp_2.6.37.bb, do_package) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2756 tasks of which 2752 didn't need to be
> rerun and 1 failed.
> No currently running tasks (2023 of 2770)
>
> Summary: 1 task failed:
> /home/hutch/yocto_master_wcs_10_4_2013/poky/meta-ti/recipes-kernel/linux/
> linux-ti81xx-psp_2.6.37.bb, do_package
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list