If I try to update Docker I get the following errors """USE Flag 'selinux' not in IUSE""" """cannot find package github.com/docker/docker/cmd/dockerd""" I solved the problem like this @@ -14,7 +14,7 @@ SRC_URI="https://github.com/moby/moby/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="apparmor aufs btrfs +cli +container-init device-mapper hardened overlay seccomp" +IUSE="apparmor aufs btrfs +cli +container-init device-mapper hardened overlay seccomp selinux" DEPEND=" acct-group/docker @@ -209,6 +209,8 @@ src_compile() { -i hack/make/dynbinary-daemon || die grep -q -- '-fno-PIC' hack/make/dynbinary-daemon || die 'hardened sed failed' fi + ln -sf ${WORKDIR}/${P}/src/github.com/moby ${WORKDIR}/${P}/src/github.com/docker + ln -sf ${WORKDIR}/${P}/src/github.com/moby/moby ${WORKDIR}/${P}/src/github.com/docker/docker # build daemon ./hack/make.sh dynbinary || die 'dynbinary failed'
This should be already fixed from bug #764524 However, sync mirror is lagging behind right now so (hasn't updated in ~12h), so likely haven't gotten the fix yet.
(In reply to Ionen Wolkens from comment #1) > This should be already fixed from bug #764524 > > However, sync mirror is lagging behind right now so (hasn't updated in > ~12h), so likely haven't gotten the fix yet. The SELinux error may have been fixed. But the "cannot find package github.com/docker/docker/cmd/dockerd" error needs to be fixed by docker. For now, this error can be solved with symlink.
(In reply to MuhammedTaha from comment #2) > The SELinux error may have been fixed. But the "cannot find package > github.com/docker/docker/cmd/dockerd" error needs to be fixed by docker. That was fixed too at same time by changing EGO_PN, see commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674aed3fda2de9134fd6b528de264a2b1b2ccac7 It emerges fine with that commit for me at least.
(In reply to Ionen Wolkens from comment #3) > (In reply to MuhammedTaha from comment #2) > > The SELinux error may have been fixed. But the "cannot find package > > github.com/docker/docker/cmd/dockerd" error needs to be fixed by docker. > That was fixed too at same time by changing EGO_PN, see commit: > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=674aed3fda2de9134fd6b528de264a2b1b2ccac7 > > It emerges fine with that commit for me at least. Thanks
*** This bug has been marked as a duplicate of bug 764716 ***