Bug 1283415 - Incorrect dependencies for gnome-gmail 1.9.3
Summary: Incorrect dependencies for gnome-gmail 1.9.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-gmail
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guillaume Kulakowski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-18 22:14 UTC by Ville Skyttä
Modified: 2016-01-26 18:27 UTC (History)
2 users (show)

Fixed In Version: gnome-gmail-2.0.1-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-26 18:27:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ville Skyttä 2015-11-18 22:14:53 UTC
$ mock -r fedora-rawhide-x86_64 --install gnome-gmail
$ mock -r fedora-rawhide-x86_64 --shell
<mock-chroot>sh-4.3# gnome-gmail
Traceback (most recent call last):
  File "/usr/share/gnome-gmail/gnomegmail.py", line 37, in <module>
    from gi.repository import Gtk
ImportError: No module named gi.repository


Fix:
-Requires:       pygobject2
+Requires:       python-gobject-base
+Requires:       libnotify
+Requires:       libwnck3

Comment 1 Guillaume Kulakowski 2015-11-19 10:14:56 UTC

*** This bug has been marked as a duplicate of bug 1268672 ***

Comment 2 Ville Skyttä 2015-11-19 11:37:55 UTC
This is not a duplicate of bug 1268672. That one needs the libwnck3 addition, but to resolve this you need to additionally add the libnotify and python-gobject-base dependencies, and remove the pygobject2 one.

Comment 3 Fedora Update System 2015-11-20 11:15:14 UTC
gnome-gmail-1.9.3.1-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-86b94430dd

Comment 4 Fedora Update System 2015-11-20 11:15:14 UTC
gnome-gmail-1.9.3.1-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-b5bffd6980

Comment 5 Fedora Update System 2015-11-21 17:52:39 UTC
gnome-gmail-1.9.3.1-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update gnome-gmail'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-86b94430dd

Comment 6 Fedora Update System 2015-11-22 14:26:30 UTC
gnome-gmail-1.9.3.1-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update gnome-gmail'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-b5bffd6980

Comment 7 Fedora Update System 2015-11-28 10:03:16 UTC
gnome-gmail-1.9.4-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4e080aa89a

Comment 8 Fedora Update System 2015-11-28 10:03:18 UTC
gnome-gmail-1.9.4-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-558f7e7de3

Comment 9 Fedora Update System 2015-11-28 10:03:29 UTC
gnome-gmail-1.9.4-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-8f43c8b02c

Comment 10 Ville Skyttä 2015-11-28 10:45:33 UTC
For some reason the dependency on pygobject2 has crept back and dependency on python-gobject-base has been removed in 1.9.4-1, with no mention about it in the change log or commit message.

Also, there are more dependency problems than that:
- missing Requires: python-six
- AFAICT unneeded Requires: dbus-python
- AFAICT unneeded Requires: gnome-python2-gnomekeyring
- unneedded BuildRequires: python-distutils-extra

...and additionally, gnome-gmail now runs with Python 3 too (I ported it upstream). I'll submit a patch taking care of all this in a separate bug.

Too bad the 1.9.3.1-2 was overwritten with the worse 1.9.4-1 update, the previous one would have been good to get out ASAP.

Comment 11 Guillaume Kulakowski 2015-11-28 10:51:36 UTC
Hi,

> For some reason the dependency on pygobject2 has crept back and dependency
> on python-gobject-base has been removed in 1.9.4-1, with no mention about it
> in the change log or commit message.
python-gobject-base work only on F23. Use pygobject2 allow to have the same SPEC for F22/F23/EL7.

> Also, there are more dependency problems than that:
> - missing Requires: python-six
> - AFAICT unneeded Requires: dbus-python
> - AFAICT unneeded Requires: gnome-python2-gnomekeyring
> - unneedded BuildRequires: python-distutils-extra
I look that.

> ...and additionally, gnome-gmail now runs with Python 3 too (I ported it
> upstream). I'll submit a patch taking care of all this in a separate bug.
Work with, but for a minor version I prefer let Python2 dependancies.

Comment 12 Guillaume Kulakowski 2015-11-28 10:59:45 UTC
Hi,


> Also, there are more dependency problems than that:
> - missing Requires: python-six
> - AFAICT unneeded Requires: dbus-python
> - AFAICT unneeded Requires: gnome-python2-gnomekeyring
> - unneedded BuildRequires: python-distutils-extra
This work on F22/F23/EL7 ?

Gnome-GMail upstream haven't any clear list of dependancies... Another solution is to make a upstream Pull reaquest with a requirements.txt ?

Comment 13 Ville Skyttä 2015-11-28 11:24:34 UTC
Let's avoid duplicate work, I already have this stuff pretty much worked out, separate bug report is just a couple of minutes away. Additionally 1.9.4 does not start at all because of issues in the glade lookup.

Comment 14 Guillaume Kulakowski 2015-11-28 17:29:25 UTC
What about:
 - Publish current 1.9.4.
 - Wait for 1.9.5 to publish à Python3 version for F23 ?

Comment 15 Fedora Update System 2015-11-29 00:54:05 UTC
gnome-gmail-1.9.4-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update gnome-gmail'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-8f43c8b02c

Comment 16 Fedora Update System 2015-11-29 02:22:46 UTC
gnome-gmail-1.9.4-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update gnome-gmail'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-558f7e7de3

Comment 17 Fedora Update System 2015-11-29 06:52:54 UTC
gnome-gmail-1.9.4-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update gnome-gmail'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-4e080aa89a

Comment 18 Ville Skyttä 2015-12-04 12:00:05 UTC
(In reply to Guillaume Kulakowski from comment #14)
> What about:
>  - Publish current 1.9.4.
>  - Wait for 1.9.5 to publish à Python3 version for F23 ?

My changes for python 3 compatibility went into 1.9.4. Unfortunately a problem was found in them which affects 1.9.4 and 1.9.5 for all python versions, so all those updates should be unpushed.

I have submitted an upstream PR that fixes them, but they have not been merged yet. To my knowledge, the way to get a properly working version at the moment is to grab current HEAD of master (revision 0ba84eb03360f9a60660c0510f875ea27bc32f7d) and to apply both commits of this PR on top of it: https://github.com/davesteele/gnome-gmail/pull/22

Comment 19 Ville Skyttä 2015-12-04 12:28:05 UTC
Also, 1.9.4 is completely broken anyway, it does not even find its glade file.

But actually, upstream 1.9.5 is fine (it reverts the python 3 changes). There are a number of other issues with the current Fedora package though, and they should be fixed. Since I already have the fixes available, I went ahead and pushed them to the master branch in git. I have not built it even for rawhide, but I suggest you take a look, merge to different branches and ship replacement updates over the current broken 1.9.4 one.

Comment 20 Mario Blättermann 2015-12-25 16:29:54 UTC
(In reply to Ville Skyttä from comment #19)
> Also, 1.9.4 is completely broken anyway, it does not even find its glade
> file.
> 
Indeed, it is searching for the Glade file in /share instead of /usr/share. This is the error message:

GLib.Error: g-file-error-quark: Failed to open file '/share/gnome-gmail/gnomegmail.glade': No such file or directory (4)

Comment 21 Ville Skyttä 2016-01-10 18:00:21 UTC
I've pushed an update to 2.0.1 to the master branch in git, and also requested formal co-maintainership of this package. Will request F-23+ builds soon unless there are objections.

Comment 22 Fedora Update System 2016-01-16 10:34:20 UTC
gnome-gmail-2.0.1-0.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fa97eb3809

Comment 23 Guillaume Kulakowski 2016-01-16 10:36:38 UTC
See #1287373.

Comment 24 Fedora Update System 2016-01-16 12:27:34 UTC
gnome-gmail-2.0.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-79515fd7a0

Comment 25 Fedora Update System 2016-01-17 19:54:27 UTC
gnome-gmail-2.0.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-79515fd7a0

Comment 26 Fedora Update System 2016-01-26 18:26:58 UTC
gnome-gmail-2.0.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.