Stefan Krah <stefan-use...@bytereef.org> added the comment: The OS X buildbots fail to compile posixmodule.c:
gcc -fno-strict-aliasing -g -O0 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o ./Modules/posixmodule.c: In function ‘try_getxattr’: ./Modules/posixmodule.c:10045: error: ‘XATTR_SIZE_MAX’ undeclared (first use in this function) ./Modules/posixmodule.c:10045: error: (Each undeclared identifier is reported only once ./Modules/posixmodule.c:10045: error: for each function it appears in.) ./Modules/posixmodule.c: In function ‘getxattr_common’: ./Modules/posixmodule.c:10083: error: ‘XATTR_SIZE_MAX’ undeclared (first use in this function) ./Modules/posixmodule.c: In function ‘posix_getxattr’: ./Modules/posixmodule.c:10101: warning: passing argument 3 of ‘getxattr_common’ from incompatible pointer type ./Modules/posixmodule.c: In function ‘posix_lgetxattr’: ./Modules/posixmodule.c:10119: error: ‘lgetxattr’ undeclared (first use in this function) ./Modules/posixmodule.c: In function ‘wrap_fgetxattr’: ./Modules/posixmodule.c:10129: error: too few arguments to function ‘fgetxattr’ ./Modules/posixmodule.c:10130: warning: control reaches end of non-void function ./Modules/posixmodule.c: In function ‘posix_setxattr’: ./Modules/posixmodule.c:10165: error: too few arguments to function ‘setxattr’ ./Modules/posixmodule.c: In function ‘posix_lsetxattr’: ./Modules/posixmodule.c:10190: warning: implicit declaration of function ‘lsetxattr’ ./Modules/posixmodule.c: In function ‘posix_fsetxattr’: ./Modules/posixmodule.c:10216: error: too few arguments to function ‘fsetxattr’ ./Modules/posixmodule.c: In function ‘posix_removexattr’: ./Modules/posixmodule.c:10239: error: too few arguments to function ‘removexattr’ ./Modules/posixmodule.c: In function ‘posix_lremovexattr’: ./Modules/posixmodule.c:10262: warning: implicit declaration of function ‘lremovexattr’ ./Modules/posixmodule.c: In function ‘posix_fremovexattr’: ./Modules/posixmodule.c:10285: error: too few arguments to function ‘fremovexattr’ ./Modules/posixmodule.c: In function ‘listxattr_common’: ./Modules/posixmodule.c:10327: error: ‘XATTR_LIST_MAX’ undeclared (first use in this function) ./Modules/posixmodule.c: In function ‘posix_listxattr’: ./Modules/posixmodule.c:10369: warning: passing argument 2 of ‘listxattr_common’ from incompatible pointer type ./Modules/posixmodule.c: In function ‘posix_llistxattr’: ./Modules/posixmodule.c:10385: error: ‘llistxattr’ undeclared (first use in this function) ./Modules/posixmodule.c: In function ‘wrap_flistxattr’: ./Modules/posixmodule.c:10394: error: too few arguments to function ‘flistxattr’ ./Modules/posixmodule.c:10395: warning: control reaches end of non-void function ./Modules/posixmodule.c: In function ‘all_ins’: ./Modules/posixmodule.c:11342: error: ‘XATTR_SIZE_MAX’ undeclared (first use in this function) make: *** [Modules/posixmodule.o] Error 1 program finished with exit code 2 elapsedTime=20.601350 ---------- nosy: +skrah status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12720> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com