Golang gotvm package build fails [solved]

Error description Trying to build the golang gototvm on Ubuntu 20.04 with go1.16.3 using provided Makefile in:

tvm/golang/Makefile 

Returns the following error:

In file included from /home/tvm/golang/…//include/tvm/runtime/container.h:31, from /home/tvm/golang/…//include/tvm/runtime/packed_func.h:28, from /home/tvm/golang/…//include/tvm/runtime/device_api.h:28, from /home/tvm/golang/…//src/runtime/c_runtime_api.cc:30, from tvm_runtime_pack.cc:24: /home/tvm/golang/…//3rdparty/dmlc-core/include/dmlc/logging.h:132:10: error: #include expects “FILENAME” or 132 | #include DMLC_USE_LOGGING_LIBRARY

Steps to reproduce:

  1. cd tvm/golang
  2. make

This was related to go bindings and is fixed here: Fix go bindings #7696

@P2021 Have you ever seen some error like this when using go1.16.3?