Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129935

Summary: portage 2.1_pre8 uses GNU-specific -xtype parameter on find (erroneously?)
Product: Portage Development Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alt
Priority: High    
Version: 2.1   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-14 05:51:21 UTC
One of the patches added by portage 2.1_pre8 (1020_r3118_bug_121368) uses the -xtype parameter on find call. That parameter is GNU specific, so doesn't work on Alt ports.

Also, it seems to me it's used wrongly. As it is, it will look for files owned by portage group that are symlinks to symlinks, while afaics, it should check for files that are links (as it's used to run chmod -h).

Replacing -xtype l with -type l seems to work for me on cvs that triggers that part of the code.
Comment 1 SpanKY gentoo-dev 2006-04-14 06:38:58 UTC

*** This bug has been marked as a duplicate of 121368 ***