Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dryworld opened this issue Oct 21, 2023 · 7 comments

Comments

@dryworld
Copy link

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

all log attached

yocto2.txt

@ychuang3
Copy link
Contributor

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
Copy link
Author

dryworld commented Oct 22, 2023

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

@ychuang3
Copy link
Contributor

/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
Copy link
Author

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

@ychuang3
Copy link
Contributor

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

@dryworld
Copy link
Author

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants