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

Bug 150352

Summary: sys-devel/binutils-config: don't use -xtype option at find
Product: Gentoo/Alt Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: FreeBSDAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: bsd+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: binutils-config patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-07 00:58:31 UTC
As per summary, currently binutils-config uses the -xtype option that is GNU specific, throwing out an error when it's used on FreeBSD.

The attached patch replaces it with `find -L $path -type l`, that, as far as I can see, it's just the same behaviour. `find $path -xtype l` is basically used to find broken links, if I'm not mistaken, and the same does my command.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-07 00:59:06 UTC
Created attachment 99026 [details, diff]
binutils-config patch
Comment 2 SpanKY gentoo-dev 2006-10-07 01:16:38 UTC
i started to use -L but iirc, older versions of `find` didnt support it

since we have newer findutils stable, that shouldnt be a problem
Comment 3 SpanKY gentoo-dev 2006-10-18 20:46:20 UTC
fixed in cvs