Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82723 - Warning -maxdepth font option
Summary: Warning -maxdepth font option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High trivial
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 12:43 UTC by Rubens
Modified: 2005-03-22 07:36 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 Rubens 2005-02-20 12:43:13 UTC
After the last "emerge world -u" when I reboot my system the kernel (2.6.10-nitro4) print a lot of those warnings:

*Scanning font directories ...

find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.


I don't know what is appened... On the last boot I haven't this warning message..
thank you

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




If it can help in the last session I have merged those packets:
x11-misc/wmctrl-1.07
app-arch/p7zip-4.14.01
sys-apps/gawk-3.1.4-r4
sys-apps/sed-4.1.4
media-sound/sox-12.17.7
app-arch/bzip2-1.0.2-r5
x11-terms/rxvt-unicode-5.1
dev-lang/python-2.3.5
sys-apps/findutils-4.2.18
Comment 1 jack_mort 2005-02-20 14:09:32 UTC
It's because of new findutils... It seems -maxdepth should be used before -type in the invocation of find...

I corrected the init script for xfs and don't have these warnings anymore. On line 37, we should have :

fontlist="$(find $1/ -maxdepth 1 -type f | \

Hope this helps.
Comment 2 Rubens 2005-02-20 14:23:15 UTC
Yea! This fixed my problem too! thankyou :)
Comment 3 Kathy Wills 2005-03-22 07:36:43 UTC
I have the fix in that you suggested already applied to the init script for xfs. Yet, Sunday when I was doing an emerge -e system, the warning message still came up in some of the compiling. This is from the log for xorg, just as an example:

Creating fonts.scale files... ...
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

This is from my /etc/init.d/xfs file:

fontlist="$(find $1/ -maxdepth 1 -type f | \
	            gawk '$0 !~ /fonts\..*$|^.*\.dir$|XftCache/