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

2010-09-03 Thread Nick Dowell

Nick Dowell  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 
  #include 
  int main(int argc, char*argv[])
  {
if(chflags(argv[0], 0) != 0)
  return 1;
return 0;
  }
  ]
  _ACEOF

These extra '[' and ']' characters were added to configure.in in revision 74038:
http://svn.python.org/view/python/trunk/configure.in?r1=74033&r2=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 
<http://bugs.python.org/issue8746>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-09-03 Thread Nick Dowell

Changes by Nick Dowell :


--
keywords: +patch
Added file: http://bugs.python.org/file18736/8746-3.1.2.patch

___
Python tracker 
<http://bugs.python.org/issue8746>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-09-03 Thread Nick Dowell

Changes by Nick Dowell :


Added file: http://bugs.python.org/file18737/8746-2.7.patch

___
Python tracker 
<http://bugs.python.org/issue8746>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-09-03 Thread Nick Dowell

Changes by Nick Dowell :


Added file: http://bugs.python.org/file18738/8746-2.6.6.patch

___
Python tracker 
<http://bugs.python.org/issue8746>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2010-09-12 Thread Nick Dowell

Nick Dowell  added the comment:

Why should it only be available on OS X if built with MACOSX_DEPLOYMENT_TARGET 
of 10.5 or higher?
chflags() should be available in earlier versions of the OS:
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/10.3/man2/chflags.2.html

--

___
Python tracker 
<http://bugs.python.org/issue8746>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com