find -path isn't portable

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: find -path isn't portable
Date: 2010-10-21 20:48:18
Message-ID: 6140.1287694098@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-10-21 20:59:47 Re: Exposing an installation's default value of unix_socket_directory
Previous Message Josh Berkus 2010-10-21 20:44:33 Re: Per-column collation, work in progress