Summary: | app-admin/perl-cleaner fails with busybox builtin find - perl-cleaner: find: unrecognized: -L | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hiroshi Takenaka <ihsorihakanekat> |
Component: | [OLD] Development | Assignee: | Paul Varner (RETIRED) <fuzzyray> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | perl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Hiroshi Takenaka
2014-04-02 02:41:01 UTC
Hi there I'm trying to figure out your problem. Why would perl-cleaner call the find builtin from busybox? Unless /bin/busybox is symlinked /usr/bin/find, there is absolutely no reason for that phenomenon to occur. Here is a small experiment I've run on my own laptop: freshmint ~ # uname -a Linux freshmint 3.14.14-gentoo #5 SMP Mon Oct 13 13:54:43 2014 x86_64 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux freshmint ~ # date Tue 14 Oct 21:51:38 2014 freshmint ~ # type -p busybox /bin/busybox freshmint ~ # type -p find /usr/bin/find freshmint ~ # cd /usr/bin freshmint bin # ./find --version find (GNU findutils) 4.4.2 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Eric B. Decker, James Youngman, and Kevin Dalley. Built using GNU gnulib version e5573b1bad88bfabcda181b9e0125fb0c52b7d3b Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS() CBO(level=0) freshmint bin # mv ./find ./find_ freshmint bin # ln -s /bin/busybox ./find freshmint bin # ./find --version find: unrecognized: --version BusyBox v1.21.0 (2014-10-02 04:09:57 ) multi-call binary. Usage: find [PATH]... [OPTIONS] [ACTIONS] Search for files and perform actions on them. First failed action stops processing of current file. Defaults: PATH is current directory, action is '-print' (..lots of output explaining all possible commands..) https://github.com/gentoo-perl/perl-cleaner/blob/master/perl-cleaner#L346 shows the command called is the default find installed on the system, which should be /usr/bin/find. As shown above, unless you specifically symlink /bin/busybox to /usr/bin/find, GNU find should be default. Please check for /usr/bin/find and emerge again sys-apps/findutils using the following command: emerge findutils. Marked as resolved since this is NOT a bug from perl-cleaner. |