Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66998 - db_fix_so() (db.eclass) broken on BSD
Summary: db_fix_so() (db.eclass) broken on BSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-10 10:42 UTC by Aaron Walker (RETIRED)
Modified: 2004-10-10 13:13 UTC (History)
1 user (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 Aaron Walker (RETIRED) gentoo-dev 2004-10-10 10:42:13 UTC
db_fix_so() from db.eclass makes 2 calls to the find command (line 21 and 43) without specifying a path as the 1st argument.  This works fine with GNU find but BSD find will not tolerate it, and dies with:

find: illegal option -- t
find: illegal option -- y
find: illegal option -- p
find: illegal option -- e
find: f: No such file or directory

Adding a '.' before -type solves the problem and works for both GNU and BSD find.
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-10-10 13:02:09 UTC
Feel free to add it. I'm going to sleep now, so just add it yourself. Thanks
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2004-10-10 13:13:49 UTC
Fixed. Thanks Paul.