[OE-core] [PATCH] attr: updated acl + attr
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Fri Dec 14 18:35:58 UTC 2018
"Burton, Ross" <ross.burton at intel.com> writes:
>> Recent acl and attr package versions changed their buildsystem to
>> standard automake so that previous buildsystem related patches are not
>> needed anymore and recipes become very simple.
>
> pseudo-native doesn't build anymore:
strange... Requires an explicit '-c cleansstate pseudo-native' to show
the error but it built fine with a removed TMPDIR
> | In file included from pseudo_ports.h:15:0,
> | from pseudo.h:171,
> | from pseudo.c:37:
> | ports/linux/xattr/portdefs.h:1:24: fatal error: attr/xattr.h: No such file or directory
> | #include <attr/xattr.h>
I thnk, fixing it in pseudo is the correct way because <attr/xattr.h>
has been removed by intention by upstream. Most software seems to use
this "new" header already, but there can be a problem with ENOATTR which
requires either an #include of <attr/attributes.h>, a manual #define or
replacement by ENODATA.
Alternatively, we can ship -- like Fedora -- a compatibility wrapper
like
--------------
/* legacy wrapper; see
* http://git.savannah.nongnu.org/cgit/attr.git/commit/include?id=7921157890d07858d092f4003ca4c6bae9fd2c38
*/
#warning Using legacy <attr/xattr.h>; please update program to include <sys/xattr.h>
#include <sys/xattr.h>
#include "attributes.h"
--------------
Enrico
More information about the Openembedded-core
mailing list