Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41974 - Suggest that mozilla ebuild require prior unmerge and removal
Summary: Suggest that mozilla ebuild require prior unmerge and removal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 16:25 UTC by Lindsay Haisley
Modified: 2004-04-26 09:01 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 Lindsay Haisley 2004-02-17 16:25:16 UTC
I ran into a number of problems when upgrading mozilla to v1.6 (see http://bugzilla.mozilla.org/show_bug.cgi?id=234590) which appeared to involve the mozilla component registry.  I solved the problems by unmerging mozilla and manually deleting the _entire_ mozilla home (/usr/lib/mozilla) prior to re-emerging it, and most of the problems I ran into were solved.  I note that the component registry wasn't removed in the unmerge, which I would assume it should be.

Perhaps this should be advised or required for gentoo ebuilds of mozilla prior to the actual build.  I note that this advice is offered _after_ the build, w. regard to the contents of /usr/lib/mozilla/include, however at that point, the previous version is generally auto-unmerged anyway.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-04-19 19:51:24 UTC
Brad, what do you think about this?

pkg_preinst() {
    rm -rf /usr/lib/mozilla
}

It would solve a lot of problems, I think.  In theory, everything in /usr/lib/mozilla *should* be removed when a newer/older version of mozilla is installed, it's just leftover because portage doesn't know to remove it.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-04-19 19:51:45 UTC
Of course it should be ${ROOT}/usr/lib/mozilla
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-04-26 09:01:25 UTC
Okay, I've applied this change in mozilla-firefox-0.8-r3 and mozilla-1.7_rc1