15 Nov
2012
15 Nov
'12
10:27 a.m.
On 15/11/12 13:37, Phil Mayers wrote:
On 15/11/12 13:15, Alan DeKok wrote:
Phil Mayers wrote:
Making all in src/include... gmake[4]: *** [features.h] Error 1
Ah. I had fixed that for the new make, but not the old system. I've pushed a fix.
That's not it sadly :o(
Ok, I know what it is. If your locale is UTF-8, grep defaults to using PCRE regexps it seems. The existing regexp is such: grep "^\#define\s*WITH_.*" autoconf.h Note the "\s". However, inside the rpmbuild environment, this doesn't work, though "grep -P" explicitly does. I suspect it would be safer to avoid PCRE in grep, and use this: egrep '^#define[[:space:]]+WITH_.*' ...which also works. I had to hook onto the "Makefile" with a "bash" callout to find this out!