after updating to sandbox 1.7 lazarus ebuild fails. Reproducible: Always Steps to Reproduce: 1.update to sandbox 1.7 2.try to install lazarus 3.:( Actual Results: >>> Starting src_compile make -j5 -j1 ISE opendir(debian): No such file or directory abs_path: (null) res_path: (null) /usr/lib/libsandbox.so[0x7f797b83f7e2] /usr/lib/libsandbox.so[0x7f797b83f813] /usr/lib/libsandbox.so[0x7f797b841061] /usr/lib/libsandbox.so(opendir+0x3c)[0x7f797b84395c] make[0x404a18] make[0x404af9] make[0x4051de] make[0x408d5a] make[0x40a29d] make[0x40554b] /usr/libexec/paludis/utils/emake: line 23: 5305 Aborted ${EMAKE_WRAPPER} ${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@" /usr/libexec/paludis/utils/emake: emake returned error 134 !!! ERROR in dev-lang/lazarus-0.9.26-r1: !!! In src_compile at line 3479 !!! make failed! !!! Call stack: !!! * src_compile (/var/tmp/paludis/dev-lang-lazarus-0.9.26-r1/temp/loadsaveenv:3479) !!! * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:54) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:482) !!! * main (/usr/libexec/paludis/ebuild.bash:498) diefunc: making ebuild PID 5204 exit with error die trap: exiting with error.
At first sight, this looks more like a sandbox bug than a lazarus bug.
agreed, but I figured it was worth a look. maybe the ebuild does something the newer sandbox disallows that was allowed by 1.6 ...
*** Bug 264469 has been marked as a duplicate of this bug. ***
Add =dev-lang/fpc-2.2.2-r1 to the list of ebuilds broken by the new sandbox. As one might expect, git bisect fingers the "libsandbox: initial support for tracing of static binaries via ptrace()" commit as the culprit in the fpc case.
lazarus only fails because it runs fpc -- a static binary
so how will this be addressed, if at all?
Since this breaks (at least) any package that calls a static binary when building, might it not be appropriate to hardmask sandbox-1.7 until the issue is resolved?
it breaks fpc, not "any static binary". see the difference ?
No, because as I and another user noted in bug 264469, this (or a similar issue) breaks at least e2fsprogs, coreutils, and sandbox itself.
Bug 264469 is not a dupe. e2fsprogs is broken. sandbox-1.7 is catching a valid bug there.
Posted the coreutils/sandbox ISE as bug 264816.
*** Bug 264816 has been marked as a duplicate of this bug. ***
stupid make likes to vfork before execing ... which triggered the bug in sandbox where the tracing code didnt expect to be running in vfork context. so the parent now cleans itself up a bit before exiting. http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commitdiff;h=6333d6e81e9f298c9bf7030b1bda9e906656d8f6