-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All deprecated <attr/xattr.h> headers should be switched to <sys/xattr.h> instead. #7344
Comments
I wonder how long ago was ages ago. We could try changing things and see if the buildbot is happy with it. Otherwise, we get to have another autotools check. |
CentOS 6 seems to be okay with a simple:
And it compiles with |
RHEL/CentOS 6 supports sys/xattr.h eliminating the need for libattr-devel as a dependency. Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: DHE <git@dehacked.net> Closes openzfs#7344 Closes openzfs#7351
RHEL/CentOS 6 supports sys/xattr.h eliminating the need for libattr-devel as a dependency. Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: DHE <git@dehacked.net> Closes openzfs#7344 Closes openzfs#7351
Hello,
Gentoo has removed/placed in temp QA our "sys-apps/attr-2.4.48" package. With this change, a number of applications that are still relying on the deprecated attr header have since started to fail to compile. ZFS is one of these applications, and means that all of the zfs versions on Gentoo are now failing if they rely on this deprecated library. We will probably patch the sources to use the new headers but I'm not sure if this will lead to any types of regressions.
The folks upstream for attr have recommended for people to switch their headers to the new sys/xattr.h since all attr/xattr.h functionality has been in glibc for a long time.
http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38
The text was updated successfully, but these errors were encountered: