find -path isn't portable - Mailing list pgsql-hackers

From Tom Lane
Subject find -path isn't portable
Date
Msg-id 6140.1287694098@sss.pgh.pa.us
Whole thread Raw
Responses Re: find -path isn't portable
List pgsql-hackers
buildfarm member koi, having recently been rescued from git purgatory,
is failing like this:

configure: using CFLAGS=-O -Kinline
configure: using CPPFLAGS= -I/usr/local/include/libxml2  -I/usr/local/include
configure: using LDFLAGS= -L/usr/local/lib  -L/usr/local/lib
preparing build tree... UX:find: ERROR: Illegal option -- -path
UX:find: TO FIX: Usage: find [path-list] [predicate-list]
UX:ln: ERROR: Cannot create /home/ohp/pgfarmbuild/HEAD/pgsql.10464//config/Makefile: No such file or directory
configure: error: failed

which indicates it can't cope with your recent patch to prep_buildtree.
I was afraid that might be a problem.  Can we please stick to the
find(1) options defined by the Single Unix Spec?
http://www.opengroup.org/onlinepubs/007908799/xcu/find.html
        regards, tom lane


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Per-column collation, work in progress
Next
From: Tom Lane
Date:
Subject: Re: Exposing an installation's default value of unix_socket_directory