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:
^~~~
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
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)
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.