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

Bug 289550

Summary: app-backup/backintime-0.9.26-r1: build failure, missing dependencies, broken runtime
Product: Gentoo Linux Reporter: nm (RETIRED) <nightmorph>
Component: Current packagesAssignee: Thilo Bangert (RETIRED) (RETIRED) <bangert>
Status: RESOLVED NEEDINFO    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description nm (RETIRED) gentoo-dev 2009-10-18 05:39:24 UTC
I run a pure Xfce system, so I was delighted to see that not only was backintime available in Portage, it had no additional dependencies for the gtk+ version. However, I was wrong. Here's what happens if you try to build it on a pure Xfce system with +gnome:


./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
which: no gnome-session in (/usr/lib64/portage/bin/ebuild-helpers:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2)
ERROR: Can't find GNOME !
 * 
 * ERROR: app-backup/backintime-0.9.26-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2326:  Called econf
 *               ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 *  The die message:
 *   econf failed

----

This is the error that caused the build to fail for me. Running "emerge gnome-session" (which thankfully requires no additional dependencies) and then re-running "emerge backintime" lets the package build. So gnome-session is a builddep required if the "gnome" USE flag is activated.

However, it's not enough to have it build. There are also some missing library dependencies, probably on gnome-python-foo or gnome-python-desktop-foo libraries. It dies at runtime since these libraries are not installed.

Here's what happens when I run backintime-gnome from the command line:


$ backintime-gnome 
Traceback (most recent call last):
  File "/usr/share/backintime/gnome/app.py", line 34, in <module>
    import gnome
ImportError: No module named gnome

-----

So I looked at that app.py file. There's a whole MESS of gnome python crap that it requires, including some seriously deprecated code, like gnome-vfs-python. These are the Gentoo package names that contain the required modules:

notify-python
gnome-vfs-python
gnome-python (some variant of it)


. . . long story short, the package both fails to build and fails to run. That's two blockers for the price of one.
(I assume the "threading" module is built-in to python)
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-10-18 17:39:20 UTC
yes - i'd like to get the rdeps for gnome perfect as well. thanks for the report. i've added gnome-session, gnome-vfs-python and gnome-python.

does that help?
thanks
Comment 2 nm (RETIRED) gentoo-dev 2009-11-02 01:00:41 UTC
(In reply to comment #1)
> yes - i'd like to get the rdeps for gnome perfect as well. thanks for the
> report. i've added gnome-session, gnome-vfs-python and gnome-python.
> 
> does that help?
> thanks
> 

I can't really say -- that pulls in so many Gnome dependencies that it completely hoses my Xfce desktop. I was originally interested in backintime because it *seemed* desktop-neutral, not needing Gnome. Since that is no longer the case, I'm no longer interested in installing it.