Summary: | app-admin/mongo-tools-100.2.1 with dev-lang/go-1.16 - no required module provides package github.com/mongodb/mo ngo-tools/bsondump: working directory is not part of a module | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben Kohler <bkohler> |
Component: | Stabilization | Assignee: | Ultrabug <ultrabug> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ave, bgo, bkohler, hydrapolic, ionen, leonchik1976, m.debruijne, mgorny, williamh |
Priority: | Normal | Keywords: | CC-ARCHES |
Version: | unspecified | Flags: | nattka:
sanity-check+
|
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/19784 | ||
Whiteboard: | |||
Package list: |
app-admin/mongo-tools-4.2.12
app-admin/mongo-tools-100.3.0
|
Runtime testing required: | --- |
Bug Depends on: | |||
Bug Blocks: | 771129 |
Description
Ben Kohler
2021-02-17 16:19:03 UTC
This is because go-1.16 uses GO111MODULE='on' by default, change ``` GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ ``` to ``` GO111MODULE='off' GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ ``` will solve this problem. (In reply to Ryan Qian from comment #1) > This is because go-1.16 uses GO111MODULE='on' by default, change > > ``` > GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build > -buildmode="${buildmode}" -o "bin/$i" \ > ``` > > to > > > ``` > GO111MODULE='off' GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build > -buildmode="${buildmode}" -o "bin/$i" \ > ``` > > will solve this problem. Can confirm that applying this to the .ebuild, at least built mongo-tools. Ping. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd01c1c5e356c7d31a63144321dc2c9fa9ed7ce8 commit cd01c1c5e356c7d31a63144321dc2c9fa9ed7ce8 Author: Tomáš Mózes <hydrapolic@gmail.com> AuthorDate: 2021-03-05 17:47:46 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-03-07 15:50:22 +0000 app-admin/mongo-tools: bump to 4.2.12 / 100.3.0 Closes: https://bugs.gentoo.org/771105 Thanks-to: Ryan Qian <i@bitbili.net> Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> app-admin/mongo-tools/Manifest | 2 + app-admin/mongo-tools/mongo-tools-100.3.0.ebuild | 61 ++++++++++++++++++++++ app-admin/mongo-tools/mongo-tools-4.2.12.ebuild | 64 ++++++++++++++++++++++++ 3 files changed, 127 insertions(+) go-1.16.2 is stable, we need to stabilize mongo-tools too. amd64 done all arches done |