On Fri, 20 Jul 2018 01:08:55 +0200, Marcin Zajączkowski wrote:

> On 2018-07-20 00:26, Artur Iwicki wrote:
> > I looked at libattr and in the changelog, there's this:  
> >> * Tue Jul 17 2018 Kamil Dudka <kdu...@redhat.com> 2.4.48-3
> >> - temporarily provide attr/xattr.h symlink until users are migrated 
> >> (#1601482)  
> > 
> > The bugzilla ticket says that attr/xattr.h was removed from libattr and is 
> > now a symlink to sys/xattr.h. Taking a look at those two files, the old 
> > attr/xattr.h has these lines in it:  
> >> #ifndef ENOATTR
> >> # define ENOATTR ENODATA        /* No such attribute */
> >> #endif  
> > These are absent in sys/xattr.h, so the compiler rightfully complains that 
> > it does not know of ENOATTR. I guess you should either add a patch that 
> > replaces usages of ENOATTR to ENODATA, or a patch that adds this define 
> > somewhere.  
> 
> Thanks Artur for your findings! Trying to report that problem upstream I
> founded this thread: https://github.com/iustin/pyxattr/pull/15
> 
> I will give it a few days to work out some general way to solve it.

The fix is valid. It also affects other projects.
For reference:
http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/M6FZOBL7LKNOMMEJBERIDIOMDNX3JWQH/

Reply via email to