Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

no details on build errors on local builds?

I've been away from doing development a couple of weeks, and it appears that my local build environment took an update this morning when I did my first local build.

I had a syntax error in the code, but all I got was

Error: exit status 2
/build/mos-2ibE_S/mos-2.8.1+0fc1db0~bionic0/obj-x86_64-linux-gnu/src/cesanta.com/mos/build_local.go:648: 
/build/mos-2ibE_S/mos-2.8.1+0fc1db0~bionic0/obj-x86_64-linux-gnu/src/cesanta.com/mos/build_local.go:635: 
/build/mos-2ibE_S/mos-2.8.1+0fc1db0~bionic0/obj-x86_64-linux-gnu/src/cesanta.com/mos/build_local.go:396: 
/build/mos-2ibE_S/mos-2.8.1+0fc1db0~bionic0/obj-x86_64-linux-gnu/src/cesanta.com/mos/build.go:202: 
/build/mos-2ibE_S/mos-2.8.1+0fc1db0~bionic0/obj-x86_64-linux-gnu/src/cesanta.com/mos/build.go:145: 
/build/mos-2ibE_S/mos-2.8.1+0fc1db0~bionic0/obj-x86_64-linux-gnu/src/cesanta.com/mos/main.go:171: build failed

I seem to recall at least getting the details of which lines of which modules had the syntax errors before. Did something change in the build process?

Comments

  • The last version which output the build.log was 2.7.0.
    Since then, I use either cat build/build.log|less or cat build/build.log |grep -w error -A2.

  • Thank you!

Sign In or Register to comment.