Skip to contentSkip to conversation

package/xscreensaver: needs xserver SELinux module

PATCH Applied Fabrice Fontaine 2 participants 2 messages Sep 9, 2021 – Sep 10, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/xscreensaver: needs xserver SELinux module

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

---
 package/xscreensaver/xscreensaver.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/xscreensaver/xscreensaver.mk +1 -1
index 4461413a5e..6c52bc1c02 100644
@@ -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 \
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Fabrice, All,

On 2021-09-09 08:01 +0200, Fabrice Fontaine spake thusly:

Quoted 11 lines

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

Quoted 4 lines

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

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/xscreensaver/xscreensaver.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/xscreensaver/xscreensaver.mk +1 -1
index 4461413a5e..6c52bc1c02 100644
@@ -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 \
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot