Description of problem: heartbeat-gui is missing dependencies. It won't run unless you manually install pygtk2-libglade and dejavu-fonts. Version-Release number of selected component (if applicable): heartbeat-gui-2.1.4-6.el5 How reproducible: Always. Steps to Reproduce: 1. start from clean install of CentOS, 2. run hb_gui Actual results: Without libglade: [root@rose ~]# hb_gui Traceback (most recent call last): File "/usr/bin/hb_gui", line 41, in ? import gtk, gtk.glade, gobject ImportError: No module named glade Without dejavu-fonts: [root@rose ~]# hb_gui No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org Expected results: hb_gui starts properly.
The main heartbeat package is also missing a BuildRequires for zlib-devel. gcc -shared .libs/zlib.o -Wl,--whole-archive ../../../replace/.libs/libreplace.a -Wl,--no-whole-archive -lz -lbz2 -lxml2 -lc -lpam -lrt -ldl /usr/lib64/libltdl.so -m64 -mtune=generic -m64 -mtune=generic -Wl,-soname -Wl,zlib.so -o .libs/zlib.so /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status gmake[4]: *** [zlib.la] Error 1
Humm. >1. start from clean install of CentOS, >2. run hb_gui Did you install heartbeat from CentOS or from EPEL? Note that there are CentOS packages in the extras repo. rpm -qa | grep heartbeat returns what? I will look at duplicating this here. > The main heartbeat package is also missing a BuildRequires for zlib-devel. Odd. This gets pulled in on a mock build here. I can add it in easily enough tho.
I can confirm that pygtk2-libglade is needed. On the font it doesn't seem to need dejavu, it just needs any font I think. Not sure how to specify this... will dig into the glade and see if I can see what it's looking for exactly.
So, to clarify, what fonts packages did you have installed? any? I'm not sure how to express the font dependency here... it's basically happy to use most anything it can find. ;(
Can you please test: http://buildsys.fedoraproject.org/plague-results/fedora-5-epel/heartbeat/2.1.4-8.el5/ It should fix all the issues except the font one. (Not at all sure how to address that one). let me know if the other items are fixed.
On a host with the font issue: [root@inpace ~]# rpm -qa|grep -i font libXfont-1.2.2-1.0.3.el5_1 xorg-x11-font-utils-7.1-2 chkfontpath-1.10.1-1.1 libfontenc-1.0.2-2.2.el5 fontconfig-2.4.1-7.el5 xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5 So I have at least basic fonts installed.
Can you install xorg-x11-fonts-base and see if that gets it working? Also, can you confirm the other issues are fixed?
Any chance to try the item from comment #7?
No, xorg-x11-fonts-base is not enough, even in addition to what I had previously installed, I still get the same error message about missing fonts.
Can you try 'bitmap-fonts' ? I will try and setup a minimal install here were I can try and track this down more closely so I don't have to keep bugging you. :)
Fedora EPEL 5 changed to end-of-life (EOL) status on 2017-03-31. Fedora EPEL 5 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora or Fedora EPEL, please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.