Created attachment 428684 [details] emerge build log Hey, I would like to install 'app-emulation/docker-swarm' on my gentoo box, but the ebuild seem's to be broken, here the available version: * app-emulation/docker-swarm Available versions: (~)1.0.1^t ~1.1.3^t Homepage: https://docs.docker.com/swarm/ Description: A Docker-native clustering system I've tested to install the two version with the same state: * ERROR: app-emulation/docker-swarm-1.0.1::gentoo failed (compile phase): * (no error message) I'll attach the full emerge log, to this bug. Regards, Guillaume.
I don't see any useful error messages in the log. Please also attach a log for version 1.1.3.
(In reply to Zac Medico from comment #1) > I don't see any useful error messages in the log. Please also attach a log > for version 1.1.3. @Zac: Ok, I'll try to build the v1.1.3, I think the error is the same. * ERROR: app-emulation/docker-swarm-1.1.3::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 133: Called src_compile * environment, line 225: Called die * The specific snippet of code: * GOPATH="${WORKDIR}/${P}:${S}/Godeps/_workspace:$(get_golibdir_gopath)" go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die * * If you need support, post the output of `emerge --info '=app-emulation/docker-swarm-1.1.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/docker-swarm-1.1.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/docker-swarm-1.1.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/docker-swarm-1.1.3/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/docker-swarm-1.1.3/work/docker-swarm-1.1.3/src/github.com/docker/swarm' * S: '/var/tmp/portage/app-emulation/docker-swarm-1.1.3/work/docker-swarm-1.1.3/src/github.com/docker/swarm'
Created attachment 429294 [details] emerge --info
Created attachment 429296 [details] docker-swarm-1.1.3 build log
I can provide more log, but the error is not really informative: * ERROR: app-emulation/docker-swarm-1.1.3::gentoo failed (compile phase): * (no error message) @Zac Can you install it on your box ?
(In reply to Guillaume Seren from comment #5) > @Zac > Can you install it on your box ? Yes, it works for me. What version of dev-lang/go do you have?
(In reply to Zac Medico from comment #6) > Yes, it works for me. > > What version of dev-lang/go do you have? Oh strange ! I have other ebuild (docker / rkt ) installed that worked well. My go version is: go version go1.4.2 linux/amd64
(In reply to Guillaume Seren from comment #7) > My go version is: > go version go1.4.2 linux/amd64 I'm using go-1.6-r2 here, so maybe that's the key difference. Can you try it with a newer dev-lang/go?
My v(In reply to Zac Medico from comment #8) > I'm using go-1.6-r2 here, so maybe that's the key difference. Can you try it > with a newer dev-lang/go? I presume yes ! I think the problem, come that go is not not up-to-date, see eix: eix dev-lang/go [U] dev-lang/go Available versions: 1.5.3(0/1.5.3) ~1.6(0/1.6) ~1.6-r1(0/1.6) 1.6-r2(0/1.6) **9999(0/9999) Installed versions: 1.4.2(11:34:38 PM 12/04/2015) Homepage: http://www.golang.org Description: A concurrent garbage collected and typesafe programming language So apparently there's some package's like go that are not up-to-date, usually to upgrade my command is: sudo emerge-webrsync && sudo emerge -auvDN @world --tree But by searching a bit, I found 'sudo emerge --with-bdeps=y -uDpv world', and it list some package to upgrade like go. Do you have any idea why ? I have upgrade to go 1.6-rc2 and the install of docker-swarm works now. Thank you for the feedback @Zac ;) Guillaume
(In reply to Guillaume Seren from comment #9) > My v(In reply to Zac Medico from comment #8) > > I'm using go-1.6-r2 here, so maybe that's the key difference. Can you try it > > with a newer dev-lang/go? > > I presume yes ! > > I think the problem, come that go is not not up-to-date, see eix: > > eix dev-lang/go > [U] dev-lang/go > Available versions: 1.5.3(0/1.5.3) ~1.6(0/1.6) ~1.6-r1(0/1.6) > 1.6-r2(0/1.6) **9999(0/9999) > Installed versions: 1.4.2(11:34:38 PM 12/04/2015) > Homepage: http://www.golang.org > Description: A concurrent garbage collected and typesafe > programming language > > So apparently there's some package's like go that are not up-to-date, > usually to upgrade my command is: > sudo emerge-webrsync && sudo emerge -auvDN @world --tree > > But by searching a bit, I found 'sudo emerge --with-bdeps=y -uDpv world', > and it list some package to upgrade like go. > > Do you have any idea why ? Yeah, it's explained here: https://wiki.gentoo.org/wiki/Project:Portage/FAQ#Why_is_it_that_emerge_does_not_update_all_packages.3F Since dev-lang/go is only a build-time dependency, it won't get updated unless a go package is being built or --with-bdeps=y is specified. > I have upgrade to go 1.6-rc2 and the install of docker-swarm works now. > > Thank you for the feedback @Zac ;) > > > Guillaume Thanks, fixed to require go-1.6: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91197ffdd3f99c14cc4030786e62b54724759503