Hello team,

i fixed it with below steps

to fix libtool or any package error

do cleanstate of that package

bitbake -c do_cleansstate libtool

do cleanstate of parent package

bitbake -c do_cleansstate gcc

do cleanstate of main image and rerun bitbake

bitbake -c do_cleansstate rpi-test-image

hope it helps

On Mon, Mar 25, 2024 at 11:40 AM Amol Practise via lists.yoctoproject.org <amolpractise=gmail.com@lists.yoctoproject.org> wrote:

Yes this error is reproducible, there is no memory issues, crashes or coredump, i am getting libtool not found error see below lines

| /bin/bash: ./libtool: No such file or directory
| make[2]: *** [Makefile:612: findcomp.lo] Error 127
| make[2]: Leaving directory '/home/amol/git_repos/poky/rpi-build/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/gcc/13.2.0/gcc-13.2.0/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libcc1'
| make[1]: Leaving directory '/home/amol/git_repos/poky/rpi-build/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/gcc/13.2.0/gcc-13.2.0/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libcc1'
| make[1]: *** [Makefile:443: all] Error 2
| make: *** [Makefile:11455: all-libcc1] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/amol/git_repos/poky/meta/recipes-devtools/gcc/gcc_13.2.bb:do_compile) failed with exit code '1'

please guide.

thanks
amol.

On Mon, Mar 25, 2024 at 7:03 AM Khem Raj <raj.khem@gmail.com> wrote:
is this error reproducible ? Check if its causing some sort of out of
memory errors and crashes on your build system. Can you see if there
are some coredumps etc ?

On Sun, Mar 24, 2024 at 9:04 AM Amol Practise <amolpractise@gmail.com> wrote:
>
> Hello ,
>
> I am getting error while building yocto for raspberry pi , please see attached log file for reference.
>
> Help is appreciated.
>
> Thank you.
> Amol Palshetkar
>
>
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62836): https://lists.yoctoproject.org/g/yocto/message/62836
Mute This Topic: https://lists.yoctoproject.org/mt/105121719/8370142
Group Owner: yocto+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [amolpractise@gmail.com]
-=-=-=-=-=-=-=-=-=-=-=-