All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/xscreensaver: needs xserver SELinux module
@ 2021-09-09  6:01 Fabrice Fontaine
  2021-09-10 20:19 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-09-09  6:01 UTC (permalink / raw)
  To: buildroot; +Cc: Simon Dawson, Fabrice Fontaine

xserver is needed to fix the following build failure raised since commit
613827c5b0a2bf71320047954639dc9003524db0:

Compiling targeted policy.33
env LD_LIBRARY_PATH="/data/buildroot-autobuilder/instance-0/output-1/host/lib:/data/buildroot-autobuilder/instance-0/output-1/host/usr/lib" /data/buildroot-autobuilder/instance-0/output-1/host/usr/bin/checkpolicy -c 33 -U deny -S -O -E policy.conf -o policy.33
policy.conf:3071:ERROR 'attribute input_xevent_type is not declared' at token ';' on line 3071:
type xscreensaver_helper_t;
type xscreensaver_input_xevent_t, input_xevent_type, xevent_type;
checkpolicy:  error(s) encountered while parsing configuration
make[1]: *** [Rules.monolithic:79: policy.33] Error 1

Fixes:
 - http://autobuild.buildroot.org/results/2b5/2b546153ff8b9a11a5bb8475b918f220dd5b1787/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/xscreensaver/xscreensaver.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/xscreensaver/xscreensaver.mk b/package/xscreensaver/xscreensaver.mk
index 4461413a5e..6c52bc1c02 100644
--- a/package/xscreensaver/xscreensaver.mk
+++ b/package/xscreensaver/xscreensaver.mk
@@ -11,7 +11,7 @@ XSCREENSAVER_SITE = https://www.jwz.org/xscreensaver
 XSCREENSAVER_LICENSE = MIT-like, GPL-2.0+
 XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h
 XSCREENSAVER_CPE_ID_VENDOR = xscreensaver_project
-XSCREENSAVER_SELINUX_MODULES = xscreensaver
+XSCREENSAVER_SELINUX_MODULES = xscreensaver xserver
 
 XSCREENSAVER_DEPENDENCIES = \
 	gdk-pixbuf \
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/xscreensaver: needs xserver SELinux module
  2021-09-09  6:01 [Buildroot] [PATCH 1/1] package/xscreensaver: needs xserver SELinux module Fabrice Fontaine
@ 2021-09-10 20:19 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-09-10 20:19 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Simon Dawson, buildroot

Fabrice, All,

On 2021-09-09 08:01 +0200, Fabrice Fontaine spake thusly:
> xserver is needed to fix the following build failure raised since commit
> 613827c5b0a2bf71320047954639dc9003524db0:
> 
> Compiling targeted policy.33
> env LD_LIBRARY_PATH="/data/buildroot-autobuilder/instance-0/output-1/host/lib:/data/buildroot-autobuilder/instance-0/output-1/host/usr/lib" /data/buildroot-autobuilder/instance-0/output-1/host/usr/bin/checkpolicy -c 33 -U deny -S -O -E policy.conf -o policy.33
> policy.conf:3071:ERROR 'attribute input_xevent_type is not declared' at token ';' on line 3071:
> type xscreensaver_helper_t;
> type xscreensaver_input_xevent_t, input_xevent_type, xevent_type;
> checkpolicy:  error(s) encountered while parsing configuration
> make[1]: *** [Rules.monolithic:79: policy.33] Error 1
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/2b5/2b546153ff8b9a11a5bb8475b918f220dd5b1787/build-end.log
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/xscreensaver/xscreensaver.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/xscreensaver/xscreensaver.mk b/package/xscreensaver/xscreensaver.mk
> index 4461413a5e..6c52bc1c02 100644
> --- a/package/xscreensaver/xscreensaver.mk
> +++ b/package/xscreensaver/xscreensaver.mk
> @@ -11,7 +11,7 @@ XSCREENSAVER_SITE = https://www.jwz.org/xscreensaver
>  XSCREENSAVER_LICENSE = MIT-like, GPL-2.0+
>  XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h
>  XSCREENSAVER_CPE_ID_VENDOR = xscreensaver_project
> -XSCREENSAVER_SELINUX_MODULES = xscreensaver
> +XSCREENSAVER_SELINUX_MODULES = xscreensaver xserver
>  
>  XSCREENSAVER_DEPENDENCIES = \
>  	gdk-pixbuf \
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@lists.buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-10 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09  6:01 [Buildroot] [PATCH 1/1] package/xscreensaver: needs xserver SELinux module Fabrice Fontaine
2021-09-10 20:19 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.