Red Hat Bugzilla – Bug 497079
heartbeat-gui missing dependencies
Last modified: 2017-04-06 06:37:24 EDT
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):
Steps to Reproduce:
1. start from clean install of CentOS,
2. run hb_gui
[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
[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
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: *** [zlib.la] Error 1
>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
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:
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
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.