Deb does not install to Debian Unstable

Bug #982119 reported by Russel Winder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Genesis Sync
New
Undecided
Unassigned

Bug Description

The deb build from the Bazaar branch r42 will not install into Debian Unstable because it depends on python-appindicator, python-launchpad-integration and syncevolution-evolution which do not exist in Debian Unstable.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

You’re right regarding python-appindicator and python-launchpad-integration. However, since I am using quickly for package creation, these dependencies are created automatically, and switching to manual dependency management would mean quite some additional effort. Therefore, I’d suggest you patch debian/control to remove these dependencies or make them optional (Recommends). The code is (or should be) written in a way that it does not depend on these modules being available.

syncevolution-evolution, however, is not a hard dependency, it has an OR dependency with syncevolution-dbus. The former is the upstream package name, while the latter should be the package name in Ubuntu/Debian. Do you experience any issues with installation when syncevolution-dbus is installed?

As a side note: There is also a GTK3 branch, which I plan to merge into master around the Precise release, so that my PPA has GTK3 packages available for Precise. You might consider packaging that for Unstable.

Revision history for this message
Russel Winder (russel) wrote :

I have branched the gtk3 branch and edited the debian/control file so as to create a deb file that installs. However, when I try and run it:

ERROR:root:Could not find any typelib for Wnck
Traceback (most recent call last):
  File "/usr/bin/genesis-sync", line 25, in <module>
    from gi.repository import Wnck
ImportError: cannot import name Wnck

So I guess there are some other dependencies needed?

I guess though this is not the right thread to continue this issue.

The syncevolution-evolution dependency fail appears to have gone away on it's own, but I did install syncevolution-dbus and syncevolution-http in the interim. So it seems that a dependency is missing to avoid the initial error.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

This is really strange. The package depends on gir1.2-wnck-3.0, so it should install the necessary dependencies. Also, it depends on either syncevolution-evolution or syncevolution-dbus, so here I also wonder why it was not installed automatically.

Could you check that the package you built also depends on these packages?

By the way, I am fine discussing packaging issues in this bug report. But you could join the team genesis-devs and continue discussion on the mailing list, if you prefer.

Revision history for this message
Russel Winder (russel) wrote :

Aptitude shows:

python < 2.8
python >= 2.7
python-dbus
python-gobject-2
python-gtk2
python-notify
python-support >= 0.90.0
python-wnck
syncevolution-evolution >= 1:0.9.2+1.0beta3 | syncevolution >= 1.1.99

but gir1.2-wnck-3.0 is not installed. Will try installing...

ERROR:root:Could not find any typelib for Notify
Traceback (most recent call last):
  File "/usr/bin/genesis-sync", line 34, in <module>
    from gi.repository import Notify
ImportError: cannot import name Notify

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Oh, now I see: I completely forgot to push my latest revision which contained the updated control file for GTK3. In your version, the control file was still listing the GTK2 dependencies, while the code was ported to GTK3. Sorry for the mess.

Please try with my latest update (r45).

Revision history for this message
Russel Winder (russel) wrote :

I removed the appindicator and launchpadintegration dependencies as they are not part of Debian, only Ubuntu, and the deb file built and installed. Sadly I am not getting anything in the way of UI:

ERROR:root:Could not find any typelib for LaunchpadIntegration
ERROR:root:Could not find any typelib for AppIndicator3
ERROR:dbus.proxies:Introspect error on :1.276:/org/syncevolution/Server: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
  File "/usr/bin/genesis-sync", line 428, in <module>
    GenesisSync()
  File "/usr/bin/genesis-sync", line 94, in __init__
    self._syncevo_server.Attach()
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Sorry, completely overlooked your reply.

This is strange. It seems to be caused by failing to communicate with the SyncEvolution DBus server. Do you have sync-ui (the official SyncEvolution frontend) installed? Does that work? Both applications use the same DBus API.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.