Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516154 - [gnome-overlay] mail-client/evolution-3.13.3 should RDEPEND on >=gtkhtml-4.0
Summary: [gnome-overlay] mail-client/evolution-3.13.3 should RDEPEND on >=gtkhtml-4.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-03 10:49 UTC by Michael Hampicke
Modified: 2015-07-09 09:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hampicke 2014-07-03 10:49:34 UTC
If gtkhtml is not installed, evolution-ews will not build.

Reproducible: Always

Steps to Reproduce:
1. remove gtkhtml
2. build evolution-ews 3-12.x
3.
Actual Results:  
checking for SOUP... yes
checking for LIBEDATASERVER... yes
checking for LIBEBACKEND... yes
checking for LIBECAL... yes
checking for LIBEDATACAL... yes
checking for LIBBOOK... yes
checking for LIBEDATABOOK... yes
checking for LIBEMAIL_ENGINE... yes
checking for CAMEL... yes
checking for EVOLUTION_SHELL... no
configure: error: Package requirements (evolution-shell-3.0 >= 3.12.3) were not met:

Package 'libgtkhtml-4.0', required by 'evolution-shell-3.0', not found


Expected Results:  
successfully build package
Comment 1 Pacho Ramos gentoo-dev 2014-07-05 14:37:37 UTC
the plugin rdepends on evolution, that is the one needing gtkhtml
Comment 2 Pacho Ramos gentoo-dev 2014-07-14 12:00:08 UTC
Also, you cannot expect things to keep working after manually unmerging random packages. I think the dep is correct as explained in previous comment
Comment 3 Michael Hampicke 2014-07-14 14:36:18 UTC
Hi Pacho, I know that randomly unmerging packages breaks stuff :-)
However, I would have not opened a bug if this was my fault. emerge --depclean unmerges gtkhtml on my machine (I have evolution-ews in my world file). That's why I suggested that -ews should rdepend on it. If -ews rdepends on evolution, then please add gtkhtml as a dep for evolution.
Comment 4 Pacho Ramos gentoo-dev 2014-07-14 16:19:26 UTC
(In reply to Michael Hampicke from comment #3)
> Hi Pacho, I know that randomly unmerging packages breaks stuff :-)
> However, I would have not opened a bug if this was my fault. emerge
> --depclean unmerges gtkhtml on my machine (I have evolution-ews in my world
> file). That's why I suggested that -ews should rdepend on it. If -ews
> rdepends on evolution, then please add gtkhtml as a dep for evolution.

It is already listed in both, DEPEND and RDEPEND in evolution ebuild (see inside COMMON_DEPEND block in evolution ebuild)
Comment 5 Michael Hampicke 2014-07-15 18:51:35 UTC
Hm, strange. Any idea on why --depclean want's to unmerge gtkhtml?

# emerge -a --depclean

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 gnome-extra/gtkhtml
    selected: 4.8.3 
   protected: none 
     omitted: none 

All selected packages: gnome-extra/gtkhtml-4.8.3

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.


# grep evolution-ews /var/lib/portage/world
gnome-extra/evolution-ews


If you need more information I'll be happy to provide them.
Comment 6 Pacho Ramos gentoo-dev 2014-07-15 19:08:17 UTC
What does:
$ equery d gtkhtml
 * These packages depend on gtkhtml:
mail-client/evolution-3.12.4 (>=gnome-extra/gtkhtml-4.5.2:4.0)

output?
Comment 7 Michael Hampicke 2014-07-15 19:11:11 UTC
I cannot explain it.

work mike # equery d gtkhtml
 * These packages depend on gtkhtml:

work mike #
Comment 8 Pacho Ramos gentoo-dev 2014-07-15 19:43:29 UTC
Are you sure you are using the mail-client/evolution ebuilds from the tree? They both contain gtkhtml dependency (please check if you ebuilds do)
Comment 9 Michael Hampicke 2014-07-15 19:49:22 UTC
Ha! That's it. I'm using the evolution 3.13.3 ebuild from the gnome overlay, and this does not depend von gtkhtml. Maybe you could ping Gilles Dartiguelongue and let him know, or is it Priit Laes?
Comment 10 Pacho Ramos gentoo-dev 2014-07-15 19:51:17 UTC
Will reopen the bug as they will get it. Anyway, the bug will likely be fixed in next upstream release as I remember some fixes were committed recently to really drop gtkhtml usage
Comment 11 Pacho Ramos gentoo-dev 2014-07-15 19:51:42 UTC
I think plaes is doing that evolution related work in overlay
Comment 12 Priit Laes (IRC: plaes) 2014-07-15 19:53:42 UTC
(In reply to Michael Hampicke from comment #9)
> Ha! That's it. I'm using the evolution 3.13.3 ebuild from the gnome overlay,
> and this does not depend von gtkhtml. Maybe you could ping Gilles
> Dartiguelongue and let him know, or is it Priit Laes?

evolution-3.13 has removed gtkhtml support in favor of webkit-gtk.
Comment 13 Pacho Ramos gentoo-dev 2014-07-15 20:05:21 UTC
But not completely. Anyway, next version will include:
https://git.gnome.org/browse/evolution/commit/?id=a1f29eb3043c123dfc3da3f87f0f21c061ef0486

and some others that really drop it completely ;)
Comment 14 Michael Hampicke 2014-07-15 20:11:45 UTC
Ok, so the problem that I am having right now is, that I have evolution 3.13.3 installed, which does not depend on gtkhtml, and evolution-ews 3.12.4 which still needs gtkhtml to compile. But I guess that dependency will be obsolete with -ews 3.13.x
Thank you for the help guys.
Comment 15 Pacho Ramos gentoo-dev 2014-07-16 08:01:59 UTC
The problem is that the .pc file provided in evolution-3.13.3 is still requiring gtkhtml (and, then, it should strictly depend on gtkhtml). But it's really a bug that was fixed by upstream git and, then, next version not depending on gtkhtml at all won't have this problem