[Buildroot] [PATCH 1/4] package/mender-artifact: bump version to 3.4.0

Christian Stewart christian at paral.in
Thu Aug 13 21:41:04 UTC 2020


Thomas, Adam,

On Thu, Aug 13, 2020 at 1:04 PM Adam Duskett <aduskett at gmail.com> wrote:
> Just as a note, the go-modules series breaks mender-artifact, and the
> .mk file needs to be modified

> > On Thu, Aug 13, 2020 at 11:52 AM Adam Duskett <aduskett at gmail.com> wrote:
> > > I submitted a patch based on Mirza's suggestion above which works as expected:
> > > https://patchwork.ozlabs.org/project/buildroot/patch/20200813184947.4042927-1-aduskett@gmail.com/
> >
> > > > Do we have an intermediate solution for 2020.08 ? Would reverting the
> > > > mender-artifact bump resolve the issue ?

I have submitted a v4 of the "GO111MODULE" patch series which fixes this issue.

While looking at this and testing - this is the first host-go package
I've tested in mainline - I discovered that a number of the Go build
variables for host packages are not set correctly.

The v4 of the series correctly builds all the HOST and TARGET packages
in the mainline tree that we have today.

The series is not as massive of a change as it may seem. It's actually
just a simplification, rather than symlinking a fake GOPATH we instead
just allow the Go compiler to pick up the root import path from the
go.mod file. As I've pointed out in the past, the Go developers have
requested everyone switch to the new GO111MODULE system instead of
GOPATH.

FWIW I've been using this + testing it constantly for the last months.

Best regards,
Christian Stewart



More information about the buildroot mailing list