Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45443 - emerge libgtkhtml can cause incorrect package emerging
Summary: emerge libgtkhtml can cause incorrect package emerging
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 14:56 UTC by Mario Vazquez
Modified: 2004-04-03 03:15 UTC (History)
0 users

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 Mario Vazquez 2004-03-22 14:56:31 UTC
Latest gnome-2.6 componet libgtkhtml was added to gnome-extra/libgtkhtml portage group, when that group holds another gnome component, gtkhtml, which version numbers vary.  This can cause problems emerging the gnome desktop (emerge gnome) or problems with gtkhtml apps like evolution.  This is an example when emerging different files from the same group.

root@dhampir libgtkhtml # emerge libgtkhtml-2.6.0.ebuild --fetchonly
Calculating dependencies ...done!
>>> emerge (1 of 1) gnome-extra/libgtkhtml-2.6.0 to /
>>> Previously fetched file: libgtkhtml-2.6.0.tar.bz2 MD5 ;-)
>>> md5 src_uri ;-) libgtkhtml-2.6.0.tar.bz2
root@dhampir libgtkhtml # emerge libgtkhtml-3.0.9.ebuild --fetchonly
Calculating dependencies ...done!
>>> emerge (1 of 1) gnome-extra/libgtkhtml-3.0.9 to /
>>> Previously fetched file: gtkhtml-3.0.9.tar.bz2 MD5 ;-)
>>> md5 src_uri ;-) gtkhtml-3.0.9.tar.bz2

Performing an emerge -u world or an emerge gnome using  unstable packages can lead to an incomplete gnome desktop due to that problem.

Reproducible: Always
Steps to Reproduce:
1. Update your portage to the latest, and add ACCEPT_KEYWORDS=~x86 to make.conf
2. Perform an emerge -u world
Actual Results:  
the package gtkhtml-3.0.x (used by evolution for example) will be emerged, but
not libgtkhtml-2.6.0 since both packages share the same portage group.

Expected Results:  
Both packages should emerge without problems.
Comment 1 Mario Vazquez 2004-03-22 15:06:44 UTC
A new portage group called gtkhtml2 can be created to hold gtkhtml2 (and 3) packages and keep the libgtkhtml just for libgtkhtml.tar.bz2 packages
Comment 2 foser (RETIRED) gentoo-dev 2004-03-23 03:12:42 UTC
I really don't understand what you mean. As long as the dependencies are correct enough, it should always pick the right libgtkhtml for the job. I've never seen any problems with this.

What you fail to mention is what package picks the wrong libgtkhtml, i'm quite sure it isn't one of the gnome packages.
Comment 3 Curtis Magyar 2004-03-26 11:13:51 UTC
The problem here, is gtkhtml and libgtkhtml are two different things:

libgtkhtml (currently at version 2.6.0)
ftp://ftp.gnome.org/pub/gnome/sources/libgtkhtml/2.6/

gtkhtml (currently at version 3.0.10)
ftp://ftp.gnome.org/pub/gnome/sources/gtkhtml/3.0/

There is a gnome-extra/gtkhtml and a gnome-extra/libgtkhtml.  Why not move gnome-extra/libgtkhtml/libgtkhtml-3* to gnome-extra/gtkhtml/gtkhtml-3* where they should be, and remove the cruft at the top of the ebuild to mangle the package name that never should have been there in the first place?
Comment 4 Mario Vazquez 2004-03-26 13:03:35 UTC
Thats what I mean in the output I provide.
Comment 5 foser (RETIRED) gentoo-dev 2004-03-26 13:09:16 UTC
It's all the same codebase, they are just different branches. Anyway, this still doesn't explain why it would fetch the wrong version and i haven't seen any evidence that this happens. So I'm inclined to close this INVALID unless some evidence turns up real soon.
Comment 6 foser (RETIRED) gentoo-dev 2004-04-03 03:15:50 UTC
closing INVALID, i have seen no evidence that there is really a bug here.