Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 387045

Summary: app-text/pybookreader-0.5.0 should (R)DEPEND on gnome-base/libgnome{,ui}
Product: Gentoo Linux Reporter: Sergey Torokhov <torokhov-s-a>
Component: New packagesAssignee: Andrey Grozin <grozin>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Sergey Torokhov 2011-10-13 16:28:28 UTC
Recently I installed "app-text/pybookreader-0.5.0" and try to start it but program doesn't start. The console output show that there are no some libraries installed in system, one of them is 
I instaled gnome-base/libgnome-2.32.1 (as I'm KDE user), but the result was the same until I manualy create a symbolic link called "/usr/lib/" to "/usr/lib/" (there were "" and "" symlink already).

After that error of libglade about absence of "" library disappeared, but appear others. They were resolved by installing of gnome-base/libgnomeui-2.24.5 and reinstalling dev-lang/python-2.6.6-r2 (as 2.6 version is needed for pybookreader) with "berkdb" USE-flag.

After that pybookreader began to start and work.

So it's need to add to app-text/pybookreader-0.5.0.ebuild next dependences:
gnome-base/libgnome with creating symlink "/usr/lib/" to "/usr/lib/"  library or to already existing symlink "";
and such dependences as libgnomeui and python-2.x[berkdb]

Reproducible: Always

Steps to Reproduce:
1. install app-text/pybookreader-0.5.0 (without installed "libgnome", "libgnome" and python[berkdb]
2. try to start pybookreader in console ("pybr" command) and note that error about absence oа appears
3. install libgnome package
4. Note that there is the same error after trying to start "pybr" again
5. create "/usr/lib/" symlink pointing to "" (for example) and now error about absence this library disappears but appears new errors.
6. install libgnomeui and install python-2.x[berkdb] - now pybookreader starts.

Expected Results:  
during installation app-text/pybookreader-0.5.0 must required described above packages.
Comment 1 Andrey Grozin gentoo-dev 2011-11-18 14:13:50 UTC
I see somewhat different behaviour. I'm also kde user, and I have no file in my system. When I start pybr, I see the message

(pybr:2285): libglade-WARNING **: Could not load support for `gnome': cannot open shared object file: No such file or directory

After that, pybr starts and works normally. This is only a warning; probably, this library provides a better integration with gnome, I don't know details because I don't use gnome.

The package pybookreader contains 2 different book readers, pybr and ob. When I start ob, I see a similar message

(ob:2334): libglade-WARNING **: Could not load support for `gnome': cannot open shared object file: No such file or directory

but ob works fine. By the way, I use python-2.7.2, not 2.6. In any case, the warning comes not from the book readers (pybr or ob). They are written in pure python, and just use pygtk. This seems to be a pygtk problem.
Comment 2 Sergey Torokhov 2020-02-06 21:30:54 UTC
Close as obsolete because of masked package to removal in 30 days since 2020-feb-04