Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150352 - sys-devel/binutils-config: don't use -xtype option at find
Summary: sys-devel/binutils-config: don't use -xtype option at find
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 00:58 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-10-18 20:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
binutils-config patch (binutils-config-patch,692 bytes, patch)
2006-10-07 00:59 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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