summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-01-23 23:35:50 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2019-01-25 12:56:27 -0800
commitcc60b9e0bfa1f8e49b22caabef3fb6009665d756 (patch)
tree94f9205fe7c08de2cf408f5efbe79871fca599d0 /dev-ruby/facter
parentnet-libs/libhubbub: fix test failure (diff)
downloadgentoo-cc60b9e0bfa1f8e49b22caabef3fb6009665d756.tar.gz
gentoo-cc60b9e0bfa1f8e49b22caabef3fb6009665d756.tar.bz2
gentoo-cc60b9e0bfa1f8e49b22caabef3fb6009665d756.zip
dev-ruby/facter: sandbox tweak for /proc/self/oom_score_adj
Fix for sandbox bad opening: [ 3%] Generating /dev/shm/portage/dev-ruby/facter-3.12.3/work/facter-3.12.3/lib/src/java/com_puppetlabs_Facter.h cd /dev/shm/portage/dev-ruby/facter-3.12.3/work/facter-3.12.3_build/lib && javah -classpath facter.jar -d /dev/shm/portage/dev-ruby/facter-3.12.3/work/facter-3.12.3/lib/src/java com.puppetlabs.Facter * javah is not available for oracle-jre-bin-1.8 on x86_64 * IMPORTANT: some Java tools are not available on some VMs on some architectures * javah is not available for oracle-jre-bin-1.8 on x86_64 * IMPORTANT: some Java tools are not available on some VMs on some architectures * ACCESS DENIED: open_wr: /proc/self/oom_score_adj * ACCESS DENIED: open_wr: /proc/self/oom_score_adj make[2]: *** [lib/CMakeFiles/libfactersrc.dir/build.make:65: /dev/shm/portage/dev-ruby/facter-3.12.3/work/facter-3.12.3/lib/src/java/com_puppetlabs_Facter.h] Error 1 make[2]: Leaving directory '/dev/shm/portage/dev-ruby/facter-3.12.3/work/facter-3.12.3_build' Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-ruby/facter')
-rw-r--r--dev-ruby/facter/facter-3.12.3.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-ruby/facter/facter-3.12.3.ebuild b/dev-ruby/facter/facter-3.12.3.ebuild
index 62e2727dc21f..c6ee584a2aff 100644
--- a/dev-ruby/facter/facter-3.12.3.ebuild
+++ b/dev-ruby/facter/facter-3.12.3.ebuild
@@ -93,6 +93,7 @@ src_configure() {
}
src_compile() {
+ addpredict /proc/self/oom_score_adj
cmake-utils_src_compile
}