On Sat, Aug 27, 2022 at 12:06 PM Lonnie TC <lonnie.cumberl...@gmail.com> wrote:
>
> I hope that everyone is doing well today.
> I am working on a Golang project to port go-pmem over to MSYS2 using MinGW 64:
>
> https://github.com/jerrinsg/go-pmem
>
> In trying to build the patched Go distro toolchain, I am getting some strange 
> error in the build that I do not know how to handle and am hoping that 
> someone can answer this for me.
>
> go tool dist: FAILED: not a Git repo; must put a VERSION file in $GOROOT
>
> any help would be truly appreciate.

I don't know what go-pmem is, but a Go distribution should have a file
$GOROOT/VERSION that contains the version number of the release.  If
you download the sources of, say, the Go 1.19 release, you will see a
VERSION file.  For development purposes, if that VERSION file does not
exist, the Go build will pull the version from the git repo.  You seem
to have Go sources that are not in a git repo and also do not have a
VERSION file.  That setup is not expected or supported.  The simple
fix is to create your own VERSION file.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWnOY4EERFbEvLf5Orx1kMVTA97S5gB8Fz%3DNLXGTr-cUA%40mail.gmail.com.

Reply via email to