This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zbysz
Recipients Arfrever, benjamin.peterson, pitrou, skrah, zbysz
Date 2011-12-28.13:25:13
SpamBayes Score 1.6708842e-06
Marked as misclassified No
Message-id <1325078714.64.0.530368798013.issue13669@psf.upfronthosting.co.za>
In-reply-to
Content
Extended attribute support was added in issue 12720. Doesn't compile on kfreebsd/debian, which uses eglibc and gcc. The error is that the symbols XATTR_LIST_MAX and XATTR_SIZE_MAX are not defined.

After http://hg.python.org/cpython/rev/f325439d7f84 xattr compilation tests for 'defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__)', but in this case this test doesn't work. Anyway, XATTR_SIZE_MAX is defined (on Linux) in <linux/limits.h>, and <sys/xattr.h> doesn't know anything about it.

(When defined XATTR_{SIZE,LIST}_MAX to 65536 like on linux to go through with the compilation, and os.listxattr('/') returns 'OSError: [Errno 78] Function not implemented'...)
History
Date User Action Args
2011-12-28 13:25:14zbyszsetrecipients: + zbysz, pitrou, benjamin.peterson, Arfrever, skrah
2011-12-28 13:25:14zbyszsetmessageid: <1325078714.64.0.530368798013.issue13669@psf.upfronthosting.co.za>
2011-12-28 13:25:14zbyszlinkissue13669 messages
2011-12-28 13:25:13zbyszcreate