Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93089 - db-4.2.52_p2 warnings (find)
Summary: db-4.2.52_p2 warnings (find)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-18 11:17 UTC by barthek
Modified: 2005-07-14 06:58 UTC (History)
0 users

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 barthek 2005-05-18 11:17:46 UTC
during the last phase of emerging db-4.2.52_p2 i see these warnings coming from find:

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 dont know if this is portage problem or db's ebuild error ?

emerge info:
Portage 2.0.51.22 (default-linux/x86/2005.0/2.4, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.4.28-gentoo-r3 i686)
=================================================================
System uname: 2.4.28-gentoo-r3 i686 Celeron (Mendocino)
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r9
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -march=pentium2 -O3 -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -march=pentium2 -O3 -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distcc distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portagetmp"
PORTDIR="/usr/portage"
SYNC="rsync://1g.compfort.com.pl/gentoo-portage"
USE="x86 alsa apm arts avi berkdb bitmap-fonts caps chroot clearpasswd crypt cups curl elf emboss encode foomaticdb gd gif gpm hardened imlib kde libg++ libwww mad mbox mikmod minimal motif mp3 mpeg ncurses oggvorbis opengl oss pam pam_chroot pam_timestamp pdflib perl png pwdb python qt quicktime readline sdl sendfile sftplogging snmp ssl svga tcpd threads truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-18 11:45:44 UTC
these warnings are in many ebuilds, actually.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-05-21 02:17:47 UTC
portage/bin $ grep find * | grep maxdepth | grep type 
prepinfo:for x in `find "${z}"/ \( -type f -or -type l \) -maxdepth 1 
-mindepth 1 2>/dev/null` ; do 
prepman:        for y in `find "${x}"/ \( -type f -or -type l \) ! -name 
'.keep' -maxdepth 1 -mindepth 1 2>/dev/null` ; do 
 
 
So how should these be written? 
Comment 3 barthek 2005-05-21 12:50:32 UTC
how about placing 'min/maxdepth' options before 'type' as find suggests?
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:53 UTC
Fixed on or before 2.0.51.22-r1 
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:38 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.