OpenNuvoton / MA35D1_Yocto-v3.1.3

MA35D1 Yocto
2 stars 7 forks source link

when I execute "bitbake nvt-image-qt5 -c cleanall && bitbake nvt-image-qt5" happened error #6

Open dryworld opened 10 months ago

dryworld commented 10 months ago

ERROR: qtbase-5.14.2+gitAUTOINC+3a6d8df521-r0 do_compile: oe_runmake failed

all log attached

yocto2.txt

ychuang3 commented 10 months ago

I run "bitbake nvt-image-qt5 -c cleanall" and then "bitbake nvt-image-qt5", it works well. Once you fix the spinor issue and have a successful "bitbake nvt-image-qt5", it should be fine.

dryworld commented 10 months ago

Itried after fix the spinor issue, as you can see the error about qtbase.

ychuang3 commented 10 months ago

/usr/src/debug/qtbase/5.14.2+gitAUTOINC+3a6d8df521-r0/git/examples/widgets/tutorials/addressbook/part7/finddialog.h:63: undefined reference to `FindDialog::staticMetaObject'

I seems some files lost. It can be caused by download failed, but the log did not include that phase. I suggest you to delete nvt-image-qt5. Just do 'bitbake nvt-image-qt5' only. If it still failed, we have a complete log to inspect what happened.

dryworld commented 10 months ago

How can I delete nvt-image-qt5? As I understand, "bitbake nvt-image-qt5 -c cleanall" am I right?

ychuang3 commented 10 months ago

rm -rf nvt-image-qt5 Just remove the whole 'nvt-image-qt5' directory.

dryworld commented 10 months ago

rm -rf nvt-image-qt5 command is just delete current directory.

I search the nvt-image-qt5 directory.

drywo@bd35a407339a:~/shared/yocto$ find ./ -name nvt-image-qt5 ./build/tmp-glibc/work/numaker_som_ma35d16a81-poky-linux/nvt-image-qt5 ./build/tmp-glibc/stamps/numaker_som_ma35d16a81-poky-linux/nvt-image-qt5 ./build/tmp-glibc/log/cleanlogs/nvt-image-qt5

drywo@bd35a407339a:~/shared/yocto$ rm -rf ./build/tmp-glibc/work/numaker_som_ma35d16a81-poky-linux/nvt-image-qt5 drywo@bd35a407339a:~/shared/yocto$ rm -rf ./build/tmp-glibc/stamps/numaker_som_ma35d16a81-poky-linux/nvt-image-qt5 drywo@bd35a407339a:~/shared/yocto$ rm -rf ./build/tmp-glibc/log/cleanlogs/nvt-image-qt5

after that I execute "bitbake nvt-image-qt5" and same error happened, log attached.

yocto3.txt

ychuang3 commented 10 months ago

OK, you should have use 'MACHINE=numaker-som-ma35d16a81 DISTRO=nvt-ma35d1-directfb source sources/init-build-env build', and your directory name is 'build'. I means delete the 'build' directory. This is essentially starting over, including re-downloading.