Summary: | dev-lang/erlang-10.2.0 fails with sandbox errors | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Albert Holm <albert+gentoo-bugzilla> |
Component: | Current packages | Assignee: | Maintainers for Miscelleneous Language Packages [OBSOLETE] <lang-misc+disabled> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | andre, gentoo-bugs, jakub, mog.johnny, palexander, patrizio.bassi, quazgar, rmk216, rockoo, subscribe2k |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Albert Holm
2005-07-02 04:04:35 UTC
not userpriv related it's a bug in erlc itself ... whenever you try to compile an idl file (erlc blah.idl), for some reason erlc will run access() and stat() on all parent dirs ... for example, when erlc tries to compile stack.idl in $S/lib/orber/examples/Stack/, erlc will do: stat(/) access(/, R_OK) access(/, W_OK) stat(/var) access(/var, R_OK) access(/var, W_OK) stat(/var/tmp) access(/var/tmp, R_OK) access(/var/tmp, W_OK) and so on ... the access(/, W_OK) and access(/var, W_OK) are triggering the sandbox errors ive e-mailed upstream about the issues seeing as how all the stat/access calls seem to be pretty pointless ... *** Bug 97811 has been marked as a duplicate of this bug. *** *** Bug 97866 has been marked as a duplicate of this bug. *** *** Bug 99419 has been marked as a duplicate of this bug. *** If there is not yet a solution wouldn't it be better to mask this package in portage? It persists for several days now and breaks world update if not masked by hand before ... Same errors when emerging media-libs/esdl-0.95.0630 and media-gfx/wings-0.98.29b Same error for the current stable version, 9c-r2 with FEATURES="autoconfig distlocks sandbox sfperms strict" Can someone test if this is still broken with sandbox-1.2.12? >>> Unpacking source...
>>> Unpacking otp_src_R10B-0.tar.gz to /var/tmp/portage/erlang-10.2.0/work
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/portage/dev-lang/erlang/files/erlang-10.2.0-export-TARGET.patch
* ( erlang-10.2.0-export-TARGET.patch )
!!! ERROR: dev-lang/erlang-10.2.0 failed.
!!! Function epatch, Line 217, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, NOT this status message.
(In reply to comment #10) > >>> Unpacking source... > >>> Unpacking otp_src_R10B-0.tar.gz to /var/tmp/portage/erlang-10.2.0/work > > * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: Totally unrelated bug, keep on topic please. (In reply to comment #9) > Can someone test if this is still broken with sandbox-1.2.12? I tested and erlang emerge without any sandbox violation Actually I installed 10.2.6, not 10.2.0 10.2.0 seems missing erlang-10.2.0-export-TARGET.patch Here, 10.2.6 also compiled cleanly 3 days ago OK, thanks for testing. This is a dupe of Bug 101433. Albert, does the new sandbox solve the issue for you as well? Yes it works. No such errors when emerging erlang-10.2.6 when sandbox-1.2.12 is installed. Marking as dupe. *** This bug has been marked as a duplicate of 101433 *** *** Bug 105080 has been marked as a duplicate of this bug. *** *** Bug 105226 has been marked as a duplicate of this bug. *** |