Installing app-misc/elasticsearch-6.4.0 fails with the following message when the x-pack USE flag is activated: rm: cannot remove 'modules/x-pack/x-pack-ml/platform/darwin-x86_64': No such file or directory rm: cannot remove 'modules/x-pack/x-pack-ml/platform/windows-x86_64': No such file or directory * ERROR: app-misc/elasticsearch-6.4.0::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 1420: Called die * The specific snippet of code: * rm -r modules/x-pack/x-pack-ml/platform/{darwin,windows}-x86_64 || die; Looks like upstream has removed the x-pack directory from the hierarchy inside their tarballs, and moved everything originally contained there one level up.
Thank you Ferenc for reporting, opened a PR for this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6667ee120f413a64758aefb6ba62dc19d96f36d5 commit 6667ee120f413a64758aefb6ba62dc19d96f36d5 Author: Tomas Mozes <hydrapolic@gmail.com> AuthorDate: 2018-09-13 15:11:26 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-09-13 15:34:20 +0000 app-misc/elasticsearch: fix x-pack path Closes: https://github.com/gentoo/gentoo/pull/9823 Closes: https://bugs.gentoo.org/665654 Package-Manager: Portage-2.3.49, Repoman-2.3.10 app-misc/elasticsearch/elasticsearch-6.4.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)