[yocto] yocto-kernel-tools and multiple users
Bruce Ashfield
bruce.ashfield at windriver.com
Thu Dec 1 17:34:50 PST 2016
On 12/01/2016 06:09 PM, Trevor Woerner wrote:
> On Thu 2016-12-01 @ 05:50:21 PM, Bruce Ashfield wrote:
>> Can you just provide me the details of exactly how you are invoking
>> the build that triggers the error ?
>
> $ git clone git://git.openembedded.org/openembedded-core.git
> (HEAD @ 11063a01d4511b2688ea7ba2d7359e4e07328c66)
> $ git clone git://git.yoctoproject.org/meta-raspberrypi
> (HEAD @ 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9)
> $ git clone git://git.openembedded.org/bitbake.git
> (HEAD @ 0bb188f01e396052b127e170a25246d79a6d6741)
>
> $ openembedded-core/oe-init-build-env raspi2-test bitbake
> $ bitbake-layers add-layer ../meta-raspberrypi
>
> $ MACHINE=raspberrypi2 bitbake virtual/kernel
FYI: I've found the issue and will bundle it into the /tmp/ fix
tomorrow.
Bruce
>
> Build Configuration:
> BB_VERSION = "1.32.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "opensuse-42.2"
> TARGET_SYS = "arm-oe-linux-gnueabi"
> MACHINE = "raspberrypi2"
> DISTRO = "nodistro"
> DISTRO_VERSION = "nodistro.0"
> TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard
> cortexa7"
> TARGET_FPU = "hard"
> meta = "master:11063a01d4511b2688ea7ba2d7359e4e07328c66"
> meta-raspberrypi = "master:44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9"
>
> ERROR: linux-raspberrypi-1_4.4.28+gitAUTOINC+5afda48c34-r0 do_kernel_metadata: Function failed: do_kernel_metadata (log file is located at /z/layerindex-master/raspi2-basic-2/tmp-glibc/work/raspberrypi2-oe-linux-gnueabi/linux-raspberrypi/1_4.4.28+gitAUTOINC+5afda48c34-r0/temp/log.do_kernel_metadata.9670)
> ERROR: Logfile of failure stored in: /z/layerindex-master/raspi2-basic-2/tmp-glibc/work/raspberrypi2-oe-linux-gnueabi/linux-raspberrypi/1_4.4.28+gitAUTOINC+5afda48c34-r0/temp/log.do_kernel_metadata.9670
> Log data follows:
> | DEBUG: Executing shell function do_kernel_metadata
> | [ERROR]: processing of file /tmp/tmp.G7DTQu11V3 failed
> | /z/layerindex-master/raspi2-basic-2/tmp-glibc/sysroots/x86_64-linux/usr/bin/scc-cmds/patch.cmd: line 29: : No such file or directory
> |
> | Context around the error is:
> |
> | #
> | prefix /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/
> | kconf non-hardware /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig
> | prefix /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/
> | patch "/z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch"
> | # run time: 0 seconds
> | # processed files:
> | # _cfg /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig
> | # _cfg /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch
> |
> | See pre-processed file /tmp/tmp.G7DTQu11V3 for more details
> | #
> | # scc v0.8
> | # processed: Thu Dec 1 18:08:50 EST 2016
> | #
> | # This is a scc output file, do not edit
> | #
> | [ERROR]: processing of file /tmp/tmp.zvbMU6XqZm failed
> | # _reloc_dir /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux
> | # _reloc_dir /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux
> | /z/layerindex-master/raspi2-basic-2/tmp-glibc/sysroots/x86_64-linux/usr/bin/scc-cmds/patch.cmd: line 29: : No such file or directory
> |
> | Context around the error is:
> |
> | #
> | prefix /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/
> | kconf non-hardware /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig
> | prefix /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/
> | patch "/z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch"
> | # run time: 0 seconds
> | # processed files:
> | # _cfg /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi/defconfig
> | # _cfg /z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-4.4/0001-fix-dtbo-rules.patch
> |
> | See pre-processed file /tmp/tmp.zvbMU6XqZm for more details
> | ERROR: Function failed: do_kernel_metadata (log file is located at /z/layerindex-master/raspi2-basic-2/tmp-glibc/work/raspberrypi2-oe-linux-gnueabi/linux-raspberrypi/1_4.4.28+gitAUTOINC+5afda48c34-r0/temp/log.do_kernel_metadata.9670)
> ERROR: Task (/z/layerindex-master/layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_4.4.bb:do_kernel_metadata) failed with exit code '1'
>
More information about the yocto
mailing list