sys-apps/systemd: add warning about failing tests with pid-sandbox
authorMike Gilbert <floppym@gentoo.org>
Sat, 13 Apr 2019 13:42:42 +0000 (09:42 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sat, 13 Apr 2019 13:43:07 +0000 (09:43 -0400)
Bug: https://bugs.gentoo.org/674458
Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
sys-apps/systemd/systemd-241-r1.ebuild
sys-apps/systemd/systemd-242.ebuild
sys-apps/systemd/systemd-9999.ebuild

index 371117a954a47b8702a54daae63d9d222ac2178c..c782cd8c385bfbc50c3b28c0b71eee4e7148d342 100644 (file)
@@ -110,6 +110,11 @@ BDEPEND="
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
+               if use test && has pid-sandbox ${FEATURES}; then
+                       ewarn "Tests are known to fail with PID sandboxing enabled."
+                       ewarn "See https://bugs.gentoo.org/674458."
+               fi
+
                local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
                        ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
                        ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS
index 9c4d9d338b2d509489763789baa124339f93b48b..73fc227ea9e85884bf9d26f9aa04d7e5d008adb2 100644 (file)
@@ -114,6 +114,11 @@ BDEPEND="
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
+               if use test && has pid-sandbox ${FEATURES}; then
+                       ewarn "Tests are known to fail with PID sandboxing enabled."
+                       ewarn "See https://bugs.gentoo.org/674458."
+               fi
+
                local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
                        ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
                        ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS
index 9c4d9d338b2d509489763789baa124339f93b48b..73fc227ea9e85884bf9d26f9aa04d7e5d008adb2 100644 (file)
@@ -114,6 +114,11 @@ BDEPEND="
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != buildonly ]]; then
+               if use test && has pid-sandbox ${FEATURES}; then
+                       ewarn "Tests are known to fail with PID sandboxing enabled."
+                       ewarn "See https://bugs.gentoo.org/674458."
+               fi
+
                local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS
                        ~CHECKPOINT_RESTORE ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE
                        ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS