From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3B14139083 for ; Wed, 6 Dec 2017 14:08:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1500E0F38; Wed, 6 Dec 2017 14:08:19 +0000 (UTC) Received: from mailsec114.isp.belgacom.be (mailsec114.isp.belgacom.be [195.238.20.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 12FFBE0EF7 for ; Wed, 6 Dec 2017 14:08:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skynet.be; i=@skynet.be; q=dns/txt; s=securemail; t=1512569299; x=1544105299; h=date:from:reply-to:subject:to:message-id:mime-version: content-transfer-encoding; bh=PehVpqJoifayvbnigNxCws6HXlmnLlyqknY/0se1FGY=; b=BeJJNothr5+6AXyCaHmSUpnpmcGb1NvL1jAvNGAkSELnZtWh401bx9m1 egzxdcqdQJZK290iK6Li5p7WGXzHSg==; IronPort-PHdr: =?us-ascii?q?9a23=3ACdmm0BRIxMFEQtp4893NeMnn69psv+yvbD5Q0YIu?= =?us-ascii?q?jvd0So/mwa69ZxyN2/xhgRfzUJnB7Loc0qyN4vCmATRIyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+?= =?us-ascii?q?KPjrFY7OlcS30P2594HObwlSijewZbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf?= =?us-ascii?q?5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbD?= =?us-ascii?q?VwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlS?= =?us-ascii?q?gHLSY0/m/XhMxqkaxVvhWvqR9wzIHIfY6bO+Fzfr/Efd4AWWZMRNpdWzJHD4ih?= =?us-ascii?q?b4UPFe0BPeNAoof/uVQOqR6+BRSwBOjyzjFHnGX20rcn0+Q6DQ7G3BErEtUMsH?= =?us-ascii?q?vOttX6LroSUfupw6nI1jjDdPBW2Df76IfWbhAtu+qDUqxpfMfX1EIhFBvFg02U?= =?us-ascii?q?pID4JT+Zy+YAvmuB4+Z+W++iinQrpxxzrzWp28wikJPGhpgPxVDB7Sh5xYE1Ks?= =?us-ascii?q?CmR0Njet6kFYdQtzmdN4trXsMuW2Fotzg+yr0BoZO7ejUKyJE9yBLGcPOIbZCE?= =?us-ascii?q?4hPlVOmPPTd1nHZodK+lixqv80WtyffwWte63VtLtCZJj9vBumgI1xPJ68iHTv?= =?us-ascii?q?V9/l2m2TaKzw3T6PtLIVoumqrGMJ4u3r4wm4EIsUTAHi72nlv5jLOMeko/5Oek?= =?us-ascii?q?8/7nban+pp+AK490jRnzMqswlcy5HeQ4NQ8OU3GG+eSnyrLj51b0QLFLjv0tjq?= =?us-ascii?q?nZq4rWJcsFqa6/Hw9V1YEj5wy4Dze839RL1UUAeV1Ifg6AiM30IFzUCPT5Fuuk?= =?us-ascii?q?xVuhlitswLbBJLKyOJjVKmn/l+LjdKx09lVXyCIozsFZ6o4SALxSDuj0XxrRud?= =?us-ascii?q?jdEwNxEQWuyvv8A9U1goEXQ2uSGaSZGLjRoFmF+qQlLr/fN8cupD/hJq19tLbV?= =?us-ascii?q?hngjlApFcA=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AzBQDx+Cda/xHssltdHAEBAQQBAQoBA?= =?us-ascii?q?YM9Jz9uJ48WkDgBllCCFQobinNBFwEBAQEBAQEBAQFqKII4IoJKBDscO4ECilI?= =?us-ascii?q?MmSKHdYpHhHKGEpIthSwFmT+JPoF2hgCDbwWMKJBillOBOiEDNCaBKEwgGIFoe?= =?us-ascii?q?wmBeQEKAQEBgkZAN4oiAQEB?= X-IPAS-Result: =?us-ascii?q?A2AzBQDx+Cda/xHssltdHAEBAQQBAQoBAYM9Jz9uJ48WkDg?= =?us-ascii?q?BllCCFQobinNBFwEBAQEBAQEBAQFqKII4IoJKBDscO4ECilIMmSKHdYpHhHKGE?= =?us-ascii?q?pIthSwFmT+JPoF2hgCDbwWMKJBillOBOiEDNCaBKEwgGIFoewmBeQEKAQEBgkZ?= =?us-ascii?q?AN4oiAQEB?= Received: from 17.236-178-91.adsl-dyn.isp.belgacom.be (HELO numa-be) ([91.178.236.17]) by relay.skynet.be with ESMTP/TLS/AES256-GCM-SHA384; 06 Dec 2017 15:08:16 +0100 Date: Wed, 06 Dec 2017 15:08:09 +0100 From: Helmut Jarausch Subject: [gentoo-user] Sandbox violations when installing a Python package To: gentoo-user@lists.gentoo.org X-Mailer: Balsa 2.5.3a-268-g18200215 Message-Id: <53N7YNHP.GHALSUOH.BTKUOC5Z@CYHZP44F.IJFBFASM.NG3EEJV5> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Archives-Salt: ad1e0b19-17be-41c8-a39f-68314bbc605f X-Archives-Hash: 03d4c55816a60af775a92601fde90990 Hi, I hope somebody can help me. I've written a new ebuild for "dev-python/imapclient-1.1.0" (the =20 latest version in the tree is version 0.13) I've just copied dev-python/imapclient-0.13.ebuild and remove a patch =20 which is no longer needed. Ebuilding this packages dies of a Sandbox Violation: >>> Compiling source in =20 >>> /var/tmp/portage/dev-python/imapclient-1.1.0/work/IMAPClient-1.1.0 =20 >>> ... * python3_6: running distutils-r1_run_phase =20 distutils-r1_python_compile >>> snip <<< File "/usr/lib64/python3.6/site-packages/setuptools/sandbox.py", =20 line 411, in _violation raise SandboxViolation(operation, args, kw) setuptools.sandbox.SandboxViolation: SandboxViolation: =20 mkdir('/var/tmp/portage/dev-python/imapclient-1.1.0/work/IMAPClient-1.1.0-p= ython3_6/lib/sphinx', =20 511) {} I have used "FEATURES=3D-sandbox" and I've added addpredict and addread =20 in python_prepare_all() { addpredict "/var/tmp/portage/dev-python/${P}/work" addread "/var/tmp/portage/dev-python/${P}/work" distutils-r1_python_prepare_all } but it still raises a Sandbox Violation. What can I do about this? How can I debug this. How to stop 'setuptools' to check for a Sandbox Violation, particularly as /var/tmp/portage/dev-python/imapclient-1.1.0/work/... isn't critical. Many thanks for any hints, Helmut=