Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374131 - sys-apps/systemd-29-r1 missing python deps
Summary: sys-apps/systemd-29-r1 missing python deps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard: [mgorny repo]
Keywords: InOverlay, InVCS
Depends on:
Blocks:
 
Reported: 2011-07-05 12:45 UTC by Alessandro Guido
Modified: 2011-10-26 19:02 UTC (History)
0 users

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 Alessandro Guido 2011-07-05 12:45:44 UTC
systemd has a python script installed as /usr/bin/systemd-analyze, so I think it should rdepend on python:2.

Furthermore the plot command of systemd-analyze uses the pycairo lib, so dev-python/pycairo[svg] should be added to rdpend too

$ systemd-analyze plot > plot.svg
  File "/usr/bin/systemd-analyze", line 139, in <module>
    surface = cairo.SVGSurface(sys.stdout, width, height)
AttributeError: 'module' object has no attribute 'SVGSurface'


Reproducible: Always
Comment 1 Alessandro Guido 2011-07-05 12:59:07 UTC
Note that you have to apply the fix from bug #368601 to get systemd-analyze plot working
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-07-05 14:41:53 UTC
Narr, that's an optional RDEPEND. We usually handle this through elog calls in postinst(), but this one seems a little complex. Have to think about it... but will be fixed in systemd-30.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-07-05 15:40:25 UTC
I've committed the fix to -9999 ebuild. I'd appreciate seeing if that suits you.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-10-26 19:02:58 UTC
Fixed already a while ago, since 29-r2.