* [Buildroot] [PATCH 1/1] package/pulseaudio: needs xdg SELinux module
@ 2021-09-05 19:51 Fabrice Fontaine
2021-09-12 12:42 ` Arnout Vandecappelle
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-09-05 19:51 UTC (permalink / raw)
To: buildroot; +Cc: Bernd Kuhls, Fabrice Fontaine
xdg is needed (and can't be make optional as it is unconditionally used
in pulseaudio.fc) to fix the following build failure raised since commit
bf44a11cf67fde4ba96928a2a4196103b7ec4ef3:
Compiling targeted policy.33
env LD_LIBRARY_PATH="/tmp/instance-0/output-1/host/lib:/tmp/instance-0/output-1/host/usr/lib" /tmp/instance-0/output-1/host/usr/bin/checkpolicy -c 33 -U deny -S -O -E policy.conf -o policy.33
policy/modules/apps/pulseaudio.te:44:ERROR 'attribute xdg_config_type is not declared' at token ';' on line 317285:
#line 44
typeattribute pulseaudio_xdg_config_t xdg_config_type;
checkpolicy: error(s) encountered while parsing configuration
make[1]: *** [Rules.monolithic:79: policy.33] Error 1
Fixes:
- http://autobuild.buildroot.org/results/818219c0f722080d9f6ef778fdc50e34dd4187ab
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/pulseaudio/pulseaudio.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk
index 372cd98da8..a238315778 100644
--- a/package/pulseaudio/pulseaudio.mk
+++ b/package/pulseaudio/pulseaudio.mk
@@ -11,7 +11,7 @@ PULSEAUDIO_INSTALL_STAGING = YES
PULSEAUDIO_LICENSE = LGPL-2.1+ (specific license for modules, see LICENSE file)
PULSEAUDIO_LICENSE_FILES = LICENSE GPL LGPL
PULSEAUDIO_CPE_ID_VENDOR = pulseaudio
-PULSEAUDIO_SELINUX_MODULES = pulseaudio
+PULSEAUDIO_SELINUX_MODULES = pulseaudio xdg
PULSEAUDIO_CONF_OPTS = \
--disable-default-build-tests \
--disable-legacy-database-entry-format \
--
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/pulseaudio: needs xdg SELinux module
2021-09-05 19:51 [Buildroot] [PATCH 1/1] package/pulseaudio: needs xdg SELinux module Fabrice Fontaine
@ 2021-09-12 12:42 ` Arnout Vandecappelle
0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-09-12 12:42 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot; +Cc: Bernd Kuhls
On 05/09/2021 21:51, Fabrice Fontaine wrote:
> xdg is needed (and can't be make optional as it is unconditionally used
> in pulseaudio.fc) to fix the following build failure raised since commit
> bf44a11cf67fde4ba96928a2a4196103b7ec4ef3:
>
> Compiling targeted policy.33
> env LD_LIBRARY_PATH="/tmp/instance-0/output-1/host/lib:/tmp/instance-0/output-1/host/usr/lib" /tmp/instance-0/output-1/host/usr/bin/checkpolicy -c 33 -U deny -S -O -E policy.conf -o policy.33
> policy/modules/apps/pulseaudio.te:44:ERROR 'attribute xdg_config_type is not declared' at token ';' on line 317285:
> #line 44
> typeattribute pulseaudio_xdg_config_t xdg_config_type;
> checkpolicy: error(s) encountered while parsing configuration
> make[1]: *** [Rules.monolithic:79: policy.33] Error 1
>
> Fixes:
> - http://autobuild.buildroot.org/results/818219c0f722080d9f6ef778fdc50e34dd4187ab
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/pulseaudio/pulseaudio.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk
> index 372cd98da8..a238315778 100644
> --- a/package/pulseaudio/pulseaudio.mk
> +++ b/package/pulseaudio/pulseaudio.mk
> @@ -11,7 +11,7 @@ PULSEAUDIO_INSTALL_STAGING = YES
> PULSEAUDIO_LICENSE = LGPL-2.1+ (specific license for modules, see LICENSE file)
> PULSEAUDIO_LICENSE_FILES = LICENSE GPL LGPL
> PULSEAUDIO_CPE_ID_VENDOR = pulseaudio
> -PULSEAUDIO_SELINUX_MODULES = pulseaudio
> +PULSEAUDIO_SELINUX_MODULES = pulseaudio xdg
> PULSEAUDIO_CONF_OPTS = \
> --disable-default-build-tests \
> --disable-legacy-database-entry-format \
>
_______________________________________________
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-12 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 19:51 [Buildroot] [PATCH 1/1] package/pulseaudio: needs xdg SELinux module Fabrice Fontaine
2021-09-12 12:42 ` Arnout Vandecappelle
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.