Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341351 - gnome-extra/gtkhtml-3.32.0 breaks pkgconfig package naming
Summary: gnome-extra/gtkhtml-3.32.0 breaks pkgconfig package naming
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.32
  Show dependency tree
 
Reported: 2010-10-16 17:56 UTC by Robert Bradbury
Modified: 2011-01-20 10:36 UTC (History)
1 user (show)

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


Attachments
emerge --info (EmrgInfo.lst,4.71 KB, text/plain)
2010-10-16 17:57 UTC, Robert Bradbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2010-10-16 17:56:36 UTC
Building mail-client/evolution-2.30.3:

during the configure states:
...
checking for TZDIALOG... yes
checking for E_WIDGETS... no
configure: error: Package requirements (libedataserverui-1.2 gtkhtml-editor) were not met:

No package 'gtkhtml-editor' found

yet emerge -s gtkhtml says:
gnome-extra/gtkhtml
      Latest version available: 3.32.0
      Latest version installed: 3.32.0



Reproducible: Always

Steps to Reproduce:
1. emerge evolution


Actual Results:  
emerge evolution fails.

Expected Results:  
emerge evolution should work.

Presumably there is a conflict between what the ebuild requires and what the configure requires in terms of checking for essential precursors.  Otherwise the ebuild would have flagged this as a problem and pre-compiled the required packages before the package configure was run.

Evolution has previously been built on this machine many times so this is a recent problem.
Comment 1 Robert Bradbury 2010-10-16 17:57:12 UTC
Created attachment 250909 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2010-10-16 18:23:00 UTC
This is because you are using hardmasked Gnome 2.32 packages and evolution-2.32 is still not in the tree, please wait a bit (and take a look on Gnome 2.32 hardmask message)

*** This bug has been marked as a duplicate of bug 339225 ***
Comment 3 Robert Bradbury 2010-10-16 20:10:40 UTC
evolution-2.32 not in the tree?  I don't understand.  If it isn't in the tree then why is there an ebuild in the tree which appears to depend upon it?

Its very simmple.  Evolution builds using "current" tools or it doesn't.  And if it doesn't then it (or the tools) should not be released.  If building it requires specific tools then those are incorporated into the ebuild files.  Simple.  You have to have the building blocks on your system before you can build something.
Comment 4 Mart Raudsepp gentoo-dev 2010-10-17 04:02:57 UTC
>=gnome-extra/gtkhtml-3.32 is hard masked via profiles/package.mask, so you don't get to complain like that.
That said, I'm going to reopen this bug to consider limiting evolution-2.30.x to <gnome-extra/gtkhtml-3.31 or fixing gtkhtml-3.32 to not break compatibility like this.
It seems to have renamed the gtkhtml-editor.pc package to gtkhtml-editor-3.14.pc package with its gtk3 support addition (it's called gtkhtml-editor-4.0 with --enable-gtk=3), and possibly also the library names, even though no ABI probably changed if built with --enable-gtk=2, so this is bad and imho should be investigated.
Comment 5 Pacho Ramos gentoo-dev 2010-10-17 10:51:11 UTC
(In reply to comment #4)
> It seems to have renamed the gtkhtml-editor.pc package to
> gtkhtml-editor-3.14.pc package with its gtk3 support addition (it's called
> gtkhtml-editor-4.0 with --enable-gtk=3), and possibly also the library names,
> even though no ABI probably changed if built with --enable-gtk=2, so this is
> bad and imho should be investigated.
> 

Yes, it's done for parallel installation of both versions (for gtk2 and 3), the problem is that I am unsure about how to handle this because I doubt upstream will revert this splitting and this could probably break evolution-2.32 building since it was ported to this new way of naming gtkhtml libs.

For now, I decided to simply preserve_old_lib for not breaking evolution and other apps RDEPENDing on it at update time but, of course, if any of you think there is a better solution, please let me know :-)
Comment 6 Pacho Ramos gentoo-dev 2010-12-18 11:21:34 UTC
Any opinions on this gnome team?
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-12-19 00:11:19 UTC
I have no strong opinion on the matter. I don't think it's worth going against this change now.
Comment 8 Pacho Ramos gentoo-dev 2011-01-20 10:36:31 UTC
(In reply to comment #4)
> >=gnome-extra/gtkhtml-3.32 is hard masked via profiles/package.mask, so you don't get to complain like that.
> That said, I'm going to reopen this bug to consider limiting evolution-2.30.x
> to <gnome-extra/gtkhtml-3.31 or fixing gtkhtml-3.32 to not break compatibility
> like this.
> It seems to have renamed the gtkhtml-editor.pc package to
> gtkhtml-editor-3.14.pc package with its gtk3 support addition (it's called
> gtkhtml-editor-4.0 with --enable-gtk=3), and possibly also the library names,
> even though no ABI probably changed if built with --enable-gtk=2, so this is
> bad and imho should be investigated.
> 

As talked on IRC, doesn't make much sense to revert this upstream change as it should be reverted again in next cycle.

I have gone with second option (restrict dependency) even being common policy to not mix stable and testing packages ;-)


+  20 Jan 2011; Pacho Ramos <pacho@gentoo.org> evolution-2.30.3.ebuild:
+  Prevent installation with gtkhtml > 3.30 due bug #341351.
+