Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211386 - sys-devel/crossdev: allow directories in destination overlay
Summary: sys-devel/crossdev: allow directories in destination overlay
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 15:19 UTC by Jimmy.Jazz
Modified: 2009-12-10 01:56 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 Jimmy.Jazz 2008-02-25 15:19:36 UTC
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.
Comment 1 SpanKY gentoo-dev 2009-12-09 22:48:00 UTC
ive updated crossdev in git to skip packages that are directories already