This is not duplicate of bug #511016 but an extension when using ABI=x32. Commit http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-lang/ekopath/ekopath-5.0.1_pre20131115.ebuild?r1=1.1&r2=1.2 fix the sandbox violation by using addpredict based on $(get_libdir) while this is not fully true while ekopath is containing elf64-x86-64 and then using libraries in lib64. The ekopath run binary also try to open(O_RDWR) not only files in $(get_libdir) directory. The attached patch fix this by addpredict'ing any open(O_RDWR)'ed file in any lib* directory. Full build log attached and emerge --info Reproducible: Always
Created attachment 378230 [details] build.log
Created attachment 378232 [details] emerge --info
Created attachment 378234 [details, diff] patch to ekopath-5.0.1_pre20131115.ebuild
(In reply to Bertrand Jacquin from comment #3) > Created attachment 378234 [details, diff] [details, diff] > patch to ekopath-5.0.1_pre20131115.ebuild This patch also include some file missing in addpredict (/usr/lib*/libc.a, /usr/lib*/libdl.a, /usr/lib*/libm.a) and split the original form. Sorry to have not noticed in first comment
This should be fixed in 6.0.329_p20150418. Upstream has fixed the lazy coding not to open files O_RDWR unnecessarily.