Bug #9760
closedUser story #9737: Upgrade CFEngine in Rudder agent to 3.10
cfengine 3.10 doesn't build properly with a non system pcre
Description
16:09:14 CCLD cf-execd
16:09:14 libtool: link: warning: library `/usr/src/rudder-packages/package/SOURCES/build-pcre/opt/rudder/lib/libpcre.la' was moved.
16:09:14 libtool: link: warning: library `/usr/src/rudder-packages/package/SOURCES/build-pcre/opt/rudder/lib/libpcre.la' was moved.
16:09:14 Making all in cf-key
16:09:14 CC cf-key.lo
16:09:15 In file included from ../libutils/regex.h:32,
16:09:15 from ../libutils/json.h:28,
16:09:15 from ../libpromises/cf3.defs.h:1461,
16:09:15 from ../libpromises/generic_agent.h:28,
16:09:15 from cf-key.c:25:
16:09:15 ../libutils/pcre_include.h:32:19: pcre.h: No such file or directory
16:09:15 In file included from ../libutils/json.h:28,
16:09:15 from ../libpromises/cf3.defs.h:1461,
16:09:15 from ../libpromises/generic_agent.h:28,
16:09:16 from cf-key.c:25:
16:09:16 ../libutils/regex.h:39: syntax error before '*' token
16:09:16 ../libutils/regex.h:39: warning: type defaults to `int' in declaration of `CompileRegex'
16:09:16 ../libutils/regex.h:39: warning: data definition has no type or storage class
16:09:16 ../libutils/regex.h:41: syntax error before '*' token
16:09:17 ../libutils/regex.h:44: syntax error before '*' token
16:09:17 ../libutils/regex.h:46: warning: type defaults to `int' in declaration of `pcre'
16:09:17 ../libutils/regex.h:46: syntax error before '*' token
16:09:17 In file included from ../libpromises/cf3.defs.h:1461,
16:09:17 from ../libpromises/generic_agent.h:28,
16:09:17 from cf-key.c:25:
16:09:18 ../libutils/json.h:435: syntax error before '*' token
16:09:18 make4: make2: Leaving directory `/usr/src/rudder-packages/package/SOURCES/cfengine-source'
16:09:18 make1: Leaving directory `/usr/src/rudder-packages/package/SOURCES'
16:09:18 * [cf-key.lo] Error 1
16:09:18 make3: [all-recursive] Error 1
16:09:18 make2: [all] Error 2
16:09:18 make1: * [build-cfengine-stamp] Error 2