#golang: go fetches dependencies in compile phase

Juergen Landwehr

we are developing an application in go and use the "go-mod" bb-class from poky. This works fine.
However, the problem is, that the dependencies in go.mod are now fetched in the compile phase and not in the fetch phase.
This is not allowed in our project setup and kind of contradicts the Yocto paradigmn of having a fetch and a compile phase.
Is there a way to avoid this or some other solution that we could use?

Join yocto@lists.yoctoproject.org to automatically receive all group messages.