Bug 789915

Summary: systemd-analyze plot requires pycairo
Product: [Fedora] Fedora Reporter: Jaroslav Škarvada <jskarvad>
Component: systemdAssignee: systemd-maint
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: johannbg, metherid, mschmidt, notting, plautrba, systemd-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-13 10:37:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaroslav Škarvada 2012-02-13 09:27:04 UTC
Description of problem:
systemd-analyze plot requires pycairo that is not in its deps.

Version-Release number of selected component (if applicable):
systemd-37-11.fc16

How reproducible:
Always

Steps to Reproduce:
1. systemd-analyze plot > boot.svg
  
Actual results:
systemd-analyze plot > boot.svg
Traceback (most recent call last):
  File "/usr/bin/systemd-analyze", line 113, in <module>
    import cairo, os
ImportError: No module named cairo

Expected results:
boot.svg and no error

Additional info:
Kickstarted with:
%packages --ignoremissing
@Base
@Core
@desktop-platform-devel
@development
@development-libs
@development-tools
@server-platform-devel
emacs
expect
gcc
libxml2-python
make
nfs-utils
ntp
procmail
pyOpenSSL
redhat-lsb
sendmail
unifdef
vim-enhanced
wget

Comment 1 Michal Schmidt 2012-02-13 10:37:13 UTC
This is fixed in F17 (bug 710786) by rearranging the subpackages of systemd.

In F16 systemd-analyze is in the main package. It would be silly to add a systemd->pycairo dependency just to satisfy a debugging tool. And I don't want to play with the subpackages and Obsoletes (which I'd almost surely screw up) in F16 at this point.

=> WONTFIX for F16. Fixed in F17 and later.