{"id":7,"date":"2009-02-08T17:35:14","date_gmt":"2009-02-08T17:34:24","guid":{"rendered":""},"modified":"2017-03-07T20:20:59","modified_gmt":"2017-03-07T20:20:59","slug":"sandbox-violations-due-to-regeneration-o","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/serkan\/2009\/02\/08\/sandbox-violations-due-to-regeneration-o\/","title":{"rendered":"Sandbox violations due to regeneration of Python bytecode"},"content":{"rendered":"<p>Due to a <a href=\"http:\/\/bugs.python.org\/issue5128\">bug<\/a> in compileall.py script distributed with Python pyc\/pyo files&#8217; modification times are earlier than tat of py files. If any Python packages (such as java-config which is used for all Java packages) are used during compile phase the bytecode is regeneretad and sandbox-1.3.3 started catching that as a violation. Sandbx version 1.3.4 and above ignores this problem as a workaround. So if you hit any issues similar to <a href=\"http:\/\/bugs.gentoo.org\/show_bug.cgi?id=256953\">bug 256953<\/a> or its duplicates, please update your sanbox. I thank Martin von Gagern for working on fixing the issue and taking it to upstream.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Due to a bug in compileall.py script distributed with Python pyc\/pyo files&#8217; modification times are earlier than tat of py files. If any Python packages (such as java-config which is used for all Java packages) are used during compile phase the bytecode is regeneretad and sandbox-1.3.3 started catching that as a violation. Sandbx version 1.3.4 &hellip; <a href=\"https:\/\/blogs.gentoo.org\/serkan\/2009\/02\/08\/sandbox-violations-due-to-regeneration-o\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sandbox violations due to regeneration of Python bytecode<\/span><\/a><\/p>\n","protected":false},"author":71,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"predecessor-version":[{"id":25,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/posts\/7\/revisions\/25"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/serkan\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}