TotalCross / meta-totalcross

OpenEmbedded/Yocto Project support layer for TotalCross
MIT License
1 stars 3 forks source link

Totalcross build fails with Yocto build #2

Open VicMisael opened 3 years ago

VicMisael commented 3 years ago

Describe the bug

I was doing some experimentation with TotalCross in order to create a Yocto Build based on our BSP 5 (dunfell) with meta-totalcross. One suggestion for the README.md of https://github.com/TotalCross/meta-totalcross is the addition of the meta-clang as dependency of meta-browser. I was following https://github.com/TotalCross/meta-totalcross and everything was going fine, after adding the required layers, configuring everything, I executed bitbake tdx-reference-multimedia-image , and it failed

Devices

OS:Windows 10(Ubuntu)

To Reproduce

Just do the described above

Screenshots or videos

image

VicMisael commented 3 years ago

This is a question asked by Andre Curvello from toradex

VicMisael commented 3 years ago

How can I reproduce this issue?

andrecurvello commented 3 years ago

Hi @VicMisael,

I already opened an issue in the meta-totalcross.

Can we continue this conversation through there?

Best regards, André Curvello

VicMisael commented 3 years ago

Hello @andrecurvello It's better to continue the conversation here, since we can better track it with the engineering team

andrecurvello commented 3 years ago

Hi @VicMisael,

Now the build is working.

I really don't know what happened, because this issue occurred on two different machines I have here. Could be something with the meta-python2 repo, some git pull that was going wrong... Who knows.

Then I decided to start from zero (again) with a Yocto build for BSP 5.1.0 of Toradex, setting all the dependencies for meta-totalcross (plus meta-totalcross itself) and it was OK.

I'll keep a watch on this if this will happen again.

Thanks for your support.

Best regards, André Curvello

otavio commented 3 years ago

Good, if you see this again, please get us involved. I bet that somehow your BitBake cache was corrupted. I saw this a few times in the past, and this is not easy to happen, but it explains why it suddenly started to work once you started fresh.

In any case, for Yocto Project issues, please open issues against meta-totalcross so we can track the issues where it belongs and avoid it not been noticed if Yocto Project users face the same issue.

andrecurvello commented 3 years ago

Hi @otavio,

Thanks for the feedback! What was more strange is that I tried this on 2 different computers, and the same error occurred in both.

And about issues against meta-totalcross, the issue was originally created here, see this link.

Best regards, André Curvello