Summary: | app-emulation/docker-machine-kvm-0.10.0: fails to (re)build (flag provided but not defined: -i) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fabio.coatti |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Leonid Kopylov
2023-02-03 12:12:18 UTC
Created attachment 849756 [details]
build.log
>>> Compiling source in /var/tmp/portage/app-emulation/docker-machine-kvm-0.10.0/work/docker-machine-kvm-0.10.0 ...
make -j10 build
GOGC=off go build -i -o docker-machine-driver-kvm
flag provided but not defined: -i
usage: go build [-o output] [build flags] [packages]
Run 'go help build' for details.
make: *** [Makefile:4: build] Error 2
[31;01m*[0m ERROR: app-emulation/docker-machine-kvm-0.10.0::gentoo failed (compile phase):
[31;01m*[0m emake failed
(In reply to Sam James from comment #2) > >>> Compiling source in /var/tmp/portage/app-emulation/docker-machine-kvm-0.10.0/work/docker-machine-kvm-0.10.0 ... > make -j10 build > GOGC=off go build -i -o docker-machine-driver-kvm > flag provided but not defined: -i > usage: go build [-o output] [build flags] [packages] > Run 'go help build' for details. > make: *** [Makefile:4: build] Error 2 > [31;01m*[0m ERROR: app-emulation/docker-machine-kvm-0.10.0::gentoo failed > (compile phase): > [31;01m*[0m emake failed app-emulation/docker-machine-kvm-0.10.0 re-emerge successfully, if i downgrade from dev-lang/go-1.20 to dev-lang/go-1.19.5 Is there any workaround for this? every system upgrade tries to rebuild this (after dev-lang/go updated) The ebuild for docker-machine-kvm fails because go 1.20 and later versions have removed the deprecated -i parameter. The issue can be found in the file cmd/docker-machine-driver-kvm/Makefile. Suggested Workaround: Remove the -i parameter from the cmd/docker-machine-driver-kvm/Makefile file and manually continue the merge process with the ebuild using the following command: ebuild path_to_docker-machine-kvm.ebuild merge. (In reply to Juho-Mikko Pellinen from comment #5) > The ebuild for docker-machine-kvm fails because go 1.20 and later versions > have removed the deprecated -i parameter. The issue can be found in the file > cmd/docker-machine-driver-kvm/Makefile. > > Suggested Workaround: Remove the -i parameter from the > cmd/docker-machine-driver-kvm/Makefile file and manually continue the merge > process with the ebuild using the following command: ebuild > path_to_docker-machine-kvm.ebuild merge. yes, that helped, thank you! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f09171f1c3483be3c717dc45f242b1b06be5874 commit 3f09171f1c3483be3c717dc45f242b1b06be5874 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2023-04-24 04:44:03 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2023-04-24 04:44:26 +0000 app-emulation/docker-machine-kvm: remove unsupported go build -i param Closes: https://bugs.gentoo.org/893080 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-emulation/docker-machine-kvm/docker-machine-kvm-0.10.0.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) |