Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276112 - sys-devel/crossdev: Better management and cleanup of toolchains
Summary: sys-devel/crossdev: Better management and cleanup of toolchains
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 19:47 UTC by Daniel Santos
Modified: 2009-12-09 23:02 UTC (History)
1 user (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 Daniel Santos 2009-07-01 19:47:36 UTC
I propose the following enhancements to crossdev:

* The uninstall function be modified to clean up more crap. For instance, if I have manually unmerged the toolchain packages, there is still a lot of litter left behind, but the uninstall function will fail after attempting to unmerge them and not continue to clean the rest of what crossdev leaves behind. (high importance)
* Add a --list type of option to list the toolchains crossdev has generated/is managing.  Maybe this just requires doing a cat /etc/portage/categories? (medium importance) 
* Add a --validate option (requires target) to validate a particular toolchain is properly installed (just validate all of the things are present that uninstall would remove) (lower importance)
Comment 1 SpanKY gentoo-dev 2009-07-05 19:23:19 UTC
crossdev seems to clean my toolchains just fine.  you need to provide details, not vague "lot of litter".

crossdev doesnt "manage" packages.  it merely calls emerge on ebuilds.  if you want to see what *packages* are installed, then use normal package utilities like `qlist -I cross-`.

same goes for validation.  ebuilds themselves make sure things are installed properly, not crossdev.
Comment 2 Alexey Dobriyan 2009-09-26 16:19:43 UTC
> crossdev seems to clean my toolchains just fine.

emerge -C cross-foo/binutils cross-foo/gcc
at least leaves -gcov and -cpp executables.
Comment 3 SpanKY gentoo-dev 2009-12-09 23:02:57 UTC
dont `emerge -C` stuff.  use `crossdev -C`.