[issue8746] *chflags detection broken on FreeBSD 9-CURRENT

Nick Dowell report at bugs.python.org
Fri Sep 3 15:46:42 CEST 2010

Nick Dowell <nickdowell at gmail.com> added the comment:

We've just noticed this same problem with Python 3.1.2 on Mac OS X.

The problem is that the program source in the configure script has extraneous '[' and ']' characters in it, causing compilation to fail.
Excerpt of configure from line 17357:
  cat >>conftest.$ac_ext <<_ACEOF
  /* end confdefs.h.  */
  #include <sys/stat.h>
  #include <unistd.h>
  int main(int argc, char*argv[])
    if(chflags(argv[0], 0) != 0)
      return 1;
    return 0;

These extra '[' and ']' characters were added to configure.in in revision 74038:

I have locally modified my configure.in and configure scripts to back out that change, and found it resolves the issue.

nosy: +Nick.Dowell

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list