[Buildroot] [PATCH 1/2] package/pseudo: fix build without xattr

Arnout Vandecappelle arnout at mind.be
Sun May 26 13:23:48 UTC 2019



On 08/05/2019 16:45, Fabrice Fontaine wrote:
> Build of host-pseudo without xattr fails on:
> ports/linux/xattr/portdefs.h:1:10: fatal error: attr/xattr.h: No such file or directory
>  #include <attr/xattr.h>
> 
> xattr is enabled since
> http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/configure?id=6c6d0a3e4a4d382fd0b2e056a3ecffb015652767
> 
> So disable xattr through --enable-xattr=no as --disable-xattr is not
> supported
> 
> Fixes:
>  - No autobuilder failures

 There's no autobuilder failure because pseudo is not used. It was introduced to
replace fakeroot some time ago, but it brought too much pain.

 Instead of these fixes, the package should just be removed.

 Regards,
 Arnout

> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/pseudo/pseudo.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/pseudo/pseudo.mk b/package/pseudo/pseudo.mk
> index 446427109f..54abd2a8d8 100644
> --- a/package/pseudo/pseudo.mk
> +++ b/package/pseudo/pseudo.mk
> @@ -24,6 +24,7 @@ HOST_PSEUDO_CONF_OPTS = \
>  	--with-rpath=$(HOST_DIR)/lib \
>  	--bits=$(if $(filter %64,$(HOSTARCH)),64,32) \
>  	--libdir=$(HOST_DIR)/lib \
> -	--with-sqlite=$(HOST_DIR)
> +	--with-sqlite=$(HOST_DIR) \
> +	--enable-xattr=no
>  
>  $(eval $(host-autotools-package))
> 


More information about the buildroot mailing list