Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665654 - app-misc/elasticsearch-6.4.0: src_prepare fails due to changed x-pack directory
Summary: app-misc/elasticsearch-6.4.0: src_prepare fails due to changed x-pack directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-10 19:47 UTC by Ferenc Erki
Modified: 2018-09-13 15:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferenc Erki 2018-09-10 19:47:37 UTC
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.
Comment 1 Tomáš Mózes 2018-09-11 05:14:43 UTC
Thank you Ferenc for reporting, opened a PR for this.
Comment 2 Larry the Git Cow gentoo-dev 2018-09-13 15:34:30 UTC
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(-)