crossdev tries to delete a directory in $PORTDIR_OVERLAY even if that directory isn't a link to /usr/portage. rm aborts and the link will be create in that directory instead. crossdev should not link $PORTDIR_OVERLAY/crossdev-*/{gcc,uclibc,etc} directories with their equivalent in /usr/portage if that directory exist and isn't a link. Indeed, it is not always wanted if you use your own ebuilds. Reproducible: Always Steps to Reproduce: 1.create your own patched crossdev ebuild tree in $PORTDIR_OVERLAY (example: cross-x86_64-pc-linux-uclibc/uclibc) 2.crossdev -t x86_64-pc-linux-uclibc 3.watch crossdev rm and ln errors on the console Expected Results: crossdev should be more careful with the user configuration and just print a warning if the directory isn't linked to /usr/portage tree instead of trying to delete the inexistent link.
ive updated crossdev in git to skip packages that are directories already
http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=7cae558c82e46ebda5cdc56b2a6d891766a95494