Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761325 - dev-python/elasticsearch-curator-5.8.1-r2 fails to compile
Summary: dev-python/elasticsearch-curator-5.8.1-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-12-23 07:35 UTC by Agostino Sarubbo
Modified: 2021-03-09 09:44 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,11.84 KB, text/plain)
2020-12-23 07:35 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-12-23 07:35:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/elasticsearch-curator-5.8.1-r2 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2020-12-23 07:35:41 UTC
Created attachment 679293 [details]
build.log

build log and emerge --info
Comment 2 forrestfunk81 2021-02-18 16:46:36 UTC
Same problem here. It seems to be a missing dependency problem (dev-python/cx_Freeze and dev-python/importlib_metadata).

emerge dev-python/elasticsearch-curator-5.8.1-r2  gives the following error (same as in build.log attached by Agostino)

  File "setup.py", line 37, in <module>
    from cx_Freeze import setup, Executable
ModuleNotFoundError: No module named 'cx_Freeze'

After emerging dev-python/cx_Freeze, the above error does not show up again. But I got this: 

File "setup.py", line 37, in <module>
    from cx_Freeze import setup, Executable
  File "/usr/lib/python3.7/site-packages/cx_Freeze/__init__.py", line 12, in <module>
    from cx_Freeze.finder import Module, ModuleFinder
  File "/usr/lib/python3.7/site-packages/cx_Freeze/finder.py", line 19, in <module>
    import importlib_metadata
ModuleNotFoundError: No module named 'importlib_metadata'

After emerging dev-python/importlib_metadata and its dependencies, I was able to emerge elasticsearch-curator-5.8.1-r2 without any further error.
Comment 3 Larry the Git Cow gentoo-dev 2021-03-09 09:44:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a71c61b3bc4a73d43c693f68808077bfcd675d3

commit 9a71c61b3bc4a73d43c693f68808077bfcd675d3
Author:     Peter Vielberth <code@peter-vielberth.de>
AuthorDate: 2021-02-19 09:26:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-09 09:44:30 +0000

    dev-python/elasticsearch-curator: Add missing dependencies
    
    Add missing importlib_metadata and cx_Freeze dependencies
    
    Closes: https://bugs.gentoo.org/761325
    Signed-off-by: Peter Vielberth <code@peter-vielberth.de>
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 .../elasticsearch-curator-5.8.1-r3.ebuild          | 165 +++++++++++++++++++++
 1 file changed, 165 insertions(+)