# Warning and build stops

**URL:** <https://hub.mender.io/t/warning-and-build-stops/2805>\
**Category:** General Discussions\
**Tags:** yocto, thud\
**Created:** [November 10, 2020, 1:41pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805 "2020-11-10T13:41:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![elliotmtx](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elliotmtx](https://hub.mender.io/u/elliotmtx)\
**Post date:** [November 10, 2020, 1:41pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/1 "2020-11-10T13:41:38Z")

</div>

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

```auto
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

---

<div class="post-metadata">

**Author:** ![mirzak](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mirzak/32/2056_2.png) [@mirzak](https://hub.mender.io/u/mirzak)\
**Post date:** [November 10, 2020, 3:07pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/2 "2020-11-10T15:07:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elliotmtx](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elliotmtx](https://hub.mender.io/u/elliotmtx)\
**Post date:** [November 10, 2020, 3:17pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/3 "2020-11-10T15:17:06Z")

</div>

## 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](http://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)

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 10, 2020, 3:45pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/4 "2020-11-10T15:45:44Z")

</div>

Please attach the log file:

> [@elliotmtx](#):
>
> …/mender/2.1.2-r0/temp/log.do\_compile\_ptest\_base.32204

Drew

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 10, 2020, 4:12pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/5 "2020-11-10T16:12:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![elliotmtx](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elliotmtx](https://hub.mender.io/u/elliotmtx)\
**Post date:** [November 10, 2020, 4:30pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/6 "2020-11-10T16:30:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [November 10, 2020, 4:49pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/7 "2020-11-10T16:49:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![elliotmtx](https://avatars.discourse-cdn.com/v4/letter/e/4491bb/32.png) [@elliotmtx](https://hub.mender.io/u/elliotmtx)\
**Post date:** [November 10, 2020, 5:45pm UTC](https://hub.mender.io/t/warning-and-build-stops/2805/8 "2020-11-10T17:45:31Z")

</div>

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