Warning and build stops

I am getting below warning and compilation stops, kindly help.

DEBUG: Executing shell function do_compile_ptest_base
# github.com/mendersoftware/mender/vendor/github.com/bmatsuo/lmdb-go/lmdb
mdb.c: In function 'mdb_cursor_put':
mdb.c:6535:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
      if (SIZELEFT(fp) < offset) {
         ^
mdb.c:6540:5: note: here
     case MDB_CURRENT:
     ^~~~

Edit: @mirzak: formatting

This is just a compile time warning and should not cause the compilation to stop. If you can share more of the log, I am sure there is something else at play here

Only I see this from logs, that’s it

DEBUG: Executing shell function do_compile_ptest_base

github.com/mendersoftware/mender/vendor/github.com/bmatsuo/lmdb-go/lmdb

mdb.c: In function ‘mdb_cursor_put’:
mdb.c:6535:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (SIZELEFT(fp) < offset) {
^
mdb.c:6540:5: note: here
case MDB_CURRENT:

/mender/2.1.2-r0/temp/run.do_compile_ptest_base.32204:1 exit 1 from ‘go_list_package_tests’
ERROR: Function failed: do_compile_ptest_base (log file is located at …/mender/2.1.2-r0/temp/log.do_compile_ptest_base.32204)

Please attach the log file:

Drew

Also, what branch of Yocto are you building and what distro and version is your build host?
Drew

Log is same which I pasted above.

We are using warrior

And the thing is my colleagues don’t see this issue for same project and on same machine.

There must be something else in the log file log.do_compile_ptest_base.32204. As @mirza mentioned the above message is just a warning and should not stop the build.

Yeah, that is what I’m not understanding, if I open log which it mentioned it same again.