Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111203 - revdep-rebuild fails to find files with findutils-4.2.27
Summary: revdep-rebuild fails to find files with findutils-4.2.27
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
: 111198 (view as bug list)
Depends on:
Blocks: 112364
  Show dependency tree
 
Reported: 2005-11-01 18:34 UTC by ferret
Modified: 2005-12-07 16:30 UTC (History)
2 users (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 ferret 2005-11-01 18:34:44 UTC
When I run revdep-rebuild from gentoolkit-0.2.1_pre8, it put /usr/bin in the
search path (according to ~/.revdep-rebuild_0*) but then doesn't find any
binaries in it (according to ~/.revdep-rebuild_1*).  There are a few other
locations with the same problem, although .so files seem to be found OK.  I
think I've tracked the problem down to this line:

find $SEARCH_DIRS -type f \( -perm +u+x -o -name '*.so' -o -name '*.so.*' \)
2>/dev/null | sort | uniq >$LIST.0_files

I changed it to this:

find $SEARCH_DIRS -type f \( -perm -u+x -o -name '*.so' -o -name '*.so.*' \)
2>/dev/null | sort | uniq >$LIST.0_files

(note the change to -perm) and now revdep-rebuild seems to find broken files in
/usr/bin again.

To see the difference, try running 'find /usr/bin -perm -u+x' and  'find
/usr/bin -perm +u+x'.  The latter returns nothing on my box.

FWIW: I have the find from sys-apps/findutils-4.2.25.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2005-11-01 20:00:01 UTC
Okay, based on the info pages, there have been some changes in the -perm test
between findutils-4.1.20-r1, 4.2.24, and 4.2.25. Reverting back to findutils
4.2.24 will temporarily resolve the problem. I will work on a solution that will
work for all of the versions of findutils.

Ciaran, I'm CC'ing you as the findutils maintainer so that you are aware that
revdep-rebuild is broken with findutils-4.2.25 until I resolve this bug.
Comment 2 Rob Smith 2005-11-02 15:46:22 UTC
*** Bug 111198 has been marked as a duplicate of this bug. ***
Comment 3 Paul Varner (RETIRED) gentoo-dev 2005-11-02 19:44:35 UTC
Fix is in subversion.  I'm working on a new release of gentoolkit.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2005-11-03 10:04:44 UTC
Fix is in gentoolkit-0.2.1_pre9
Comment 5 Paul Varner (RETIRED) gentoo-dev 2005-12-07 09:19:53 UTC
revdep-rebuild has the same issue with findutils-4.2.27. Fix is in subversion
and will be released with gentoolkit-0.2.1_rc3
Comment 6 Paul Varner (RETIRED) gentoo-dev 2005-12-07 16:30:54 UTC
gentoolkit-0.2.1_rc3 is now in the tree