[yocto] gcc not found

Burton, Ross ross.burton at intel.com
Wed Apr 25 02:00:47 PDT 2018


Good work Chen, the trailing slash was making me wonder but I didn't
check.  Best normalise both of those paths before comparing.

Ross

On 25 April 2018 at 09:59, ChenQi <Qi.Chen at windriver.com> wrote:
> After checking it again, I think removing the '/' would be sufficient.
>
> do_unpack[cleandirs] = "${@d.getVar('S') if d.getVar('S') !=
> d.getVar('WORKDIR') else os.path.join('${S}', 'patches')}"
>
> Best Regards,
> Chen Qi
>
>
> On 04/25/2018 04:38 PM, Burton, Ross wrote:
>>
>> Plenty of recipes do that though...
>>
>> On 25 April 2018 at 09:36, ChenQi <Qi.Chen at windriver.com> wrote:
>>>
>>> I guess the problem is caused by the following line.
>>>
>>> S = "${WORKDIR}/"
>>>
>>> Try setting it to some dir under ${WORKDIR}, and make sure source file is
>>> under it.
>>> Check if the problem is still there after the above change.
>>>
>>> Best Regards,
>>> Chen Qi
>>>
>>>
>>> On 04/25/2018 04:24 PM, Mirza Krak wrote:
>>>>
>>>> Hi.
>>>>
>>>> I have come across a somewhat strange error that I can not explain to
>>>> my self, why it is occurring and hopefully someone on the list can
>>>> provide some insight.
>>>>
>>>> I am currently on "rocko" on all my layers and the recipe that I
>>>> having issues with is brcm-patchram-plus[1]. And even though this
>>>> recipe is part of meta-rockchip it seems to be modeled after the
>>>> hello.bb that is found in poky so I still think that this is a
>>>> "generic" problem and not specific to brcm-patchram-plus[1].
>>>>
>>>> The issue I am having is that we get intermediate build errors on
>>>> brcm-patchram-plus[1] on our build server. We have a nightly build
>>>> that builds without "sstate" and this is where we are seeing the
>>>> error. It does not always fail, but every once in while with the log
>>>> pasted below.
>>>>
>>>> Doing a "bitbake -c cleansstate brcm-patchram-plus" and rebuilding
>>>> solves it, but I would like to prevent it to happening in the first
>>>> place.
>>>>
>>>> NOTE: Running task 2923 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_fetch)
>>>> NOTE: recipe netbase-1_5.4-r0: task do_install: Started
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_fetch: Started
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_fetch: Succeeded
>>>> NOTE: Running task 2924 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_prepare_recipe_sysroot)
>>>> NOTE: recipe netbase-1_5.4-r0: task do_install: Succeeded
>>>> NOTE: Running task 2925 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/poky/meta/recipes-core/netbase/netbase_5.4.bb:do_populate_sysroot)
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_prepare_recipe_sysroot:
>>>> Started
>>>> NOTE: recipe netbase-1_5.4-r0: task do_populate_sysroot: Started
>>>> NOTE: recipe netbase-1_5.4-r0: task do_populate_sysroot: Succeeded
>>>> NOTE: Running task 2926 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/poky/meta/recipes-core/netbase/netbase_5.4.bb:do_package)
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task
>>>> do_prepare_recipe_sysroot: Succeeded
>>>> NOTE: Running task 2927 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_unpack)
>>>> NOTE: recipe netbase-1_5.4-r0: task do_package: Started
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_unpack: Started
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_unpack: Succeeded
>>>> NOTE: Running task 2928 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_patch)
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_patch: Started
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_patch: Succeeded
>>>> NOTE: Running task 2929 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_configure)
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_configure: Started
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_configure: Succeeded
>>>> NOTE: Running task 2930 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_compile)
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_compile: Started
>>>> ERROR: brcm-patchram-plus-0.1-r0 do_compile: Function failed:
>>>> do_compile (log file is located at
>>>>
>>>>
>>>> /home/worker/yocto/build/tmp/work/cortexa17hf-neon-vfpv4-custom-linux-gnueabi/brcm-patchram-plus/0.1-r0/temp/log.do_compile.22289)
>>>> ERROR: Logfile of failure stored in:
>>>>
>>>>
>>>> /home/worker/yocto/build/tmp/work/cortexa17hf-neon-vfpv4-custom-linux-gnueabi/brcm-patchram-plus/0.1-r0/temp/log.do_compile.22289
>>>> Log data follows:
>>>> | DEBUG: Executing shell function do_compile
>>>> |
>>>>
>>>> /home/worker/yocto/build/tmp/work/cortexa17hf-neon-vfpv4-custom-linux-gnueabi/brcm-patchram-plus/0.1-r0/temp/run.do_compile.22289:
>>>> 100:
>>>>
>>>> /home/worker/yocto/build/tmp/work/cortexa17hf-neon-vfpv4-custom-linux-gnueabi/brcm-patchram-plus/0.1-r0/temp/run.do_compile.22289:
>>>> arm-custom-linux-gnueabi-gcc: not found
>>>> | WARNING: exit code 127 from a shell command.
>>>> | ERROR: Function failed: do_compile (log file is located at
>>>>
>>>>
>>>> /home/worker/yocto/build/tmp/work/cortexa17hf-neon-vfpv4-custom-linux-gnueabi/brcm-patchram-plus/0.1-r0/temp/log.do_compile.22289)
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_compile: Failed
>>>> ERROR: Task
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_compile)
>>>> failed with exit code '1'
>>>> NOTE: Running task 2931 of 3702
>>>>
>>>>
>>>> (/home/worker/yocto/layers/meta-rockchip/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb:do_populate_lic)
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_populate_lic: Started
>>>> NOTE: recipe brcm-patchram-plus-0.1-r0: task do_populate_lic: Succeeded
>>>> NOTE: recipe netbase-1_5.4-r0: task do_package: Succeeded
>>>> NOTE: recipe groff-native-1.22.3-r0: task do_compile: Succeeded
>>>> NOTE: recipe perl-5.24.1-r0: task do_compile: Succeeded
>>>> NOTE: Tasks Summary: Attempted 2931 tasks of which 0 didn't need to be
>>>> rerun and 1 failed.
>>>>
>>>> [1].
>>>>
>>>> https://github.com/rockchip-linux/meta-rockchip/blob/master/recipes-bsp/brcm-patchram-plus/brcm-patchram-plus_0.1.bb
>>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>
>
>



More information about the yocto mailing list