meta-java / meta-java

OpenEmbedded/YoctoProject layer for Java support
https://git.yoctoproject.org/meta-java
MIT License
5 stars 13 forks source link

classpath-initial-native: build fail with --no-setscene #1

Open thakur-virendra opened 2 years ago

thakur-virendra commented 2 years ago

classpath-initial-native fail to build in do compile stage when build with --no-setscene . This issue is observed sporadically but when run 10 or 20 times . able to reproduce this issue.

do_compile.log

g0hl1n commented 2 years ago

Hi, thanks for reporting this issue.

To be able to reproduce it, can you please add the revs (meta-java and oe-core) you're using?

Thanks & regards;rl

thakur-virendra commented 2 years ago

@g0hl1n Thank you for responding , I am using meta-java dunfell branch. meta-java .

https://git.yoctoproject.org/meta-java/commit/?id=3af889e112ddb5c677990535b1e0209c08f68e3f

thakur-virendra commented 2 years ago

@g0hl1n https://lists.openembedded.org/g/openembedded-devel/topic/meta_java_dunfell_bug/83840423

Observe the similar issue again.

g0hl1n commented 2 years ago

Which poky.git and meta-openembedded.git ref do you use? I'm unable to reproduce with current dunfell states.

thakur-virendra commented 2 years ago

@g0hl1n all are sync with dunfell branch. issue is not reproducible always. but if you run with --no-setscene this is issue is observed sporadically. sometimes 1/20 , or 1/50 build

moto-timo commented 1 year ago

I would suggest setting up a containerized build loop to exercise the build 1,000 times or more to get some real feel for the probability. This is how some hard to find bugs have been captured in the past (in bitbake).

g0hl1n commented 1 year ago

Thanks for the suggestion @moto-timo. I was planning to set up some CI build infrastructure for quite a long time. I guess this is now the final trigger for it :wink:

I'll take a look at it as soon as possible (will be in about 2 weeks).