From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-191599-garchives=archives.gentoo.org@lists.gentoo.org> 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 2FC3C1382C5 for <garchives@archives.gentoo.org>; Tue, 2 Jun 2020 05:43:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42E66E08D3; Tue, 2 Jun 2020 05:43:23 +0000 (UTC) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 01DD8E08A4 for <gentoo-user@lists.gentoo.org>; Tue, 2 Jun 2020 05:43:22 +0000 (UTC) Received: by mail-wr1-x42e.google.com with SMTP id x14so2019640wrp.2 for <gentoo-user@lists.gentoo.org>; Mon, 01 Jun 2020 22:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=q8AtzAo7AEcJopxDsCv3JjFcANmhie/1+4+Vuv6T9Nk=; b=Q+PZXyOSo/wVRiEJg5usqe14V8hsEhh/ZoZHHPhMEsQLhs6zv8/cSrH4XmlW3LTnGE y/tictAKSK1gmwt5mnUOvh2wk9UTEMnQ94Sffvtt5xUdwuuTe+/WX7m70MB/0XUkNi2t 5/GfowQr868ipfhrBB3LJorVR0UNrE/62ow8zunnKHULY1HkxKiDvcAkcsvC4b8yUUDp Gkwivtr1WTKrCY/tZHIgtL/KV1K9RtCwwuO+oNAJT7+PzlJGb2I6m1MoK0ja4kpdxoYb j7zKSVF7PWZ3ArV+2AZr3YtlBXOE+/24H3Dpp57Ep7b9wrVOSrwpV7cGOgUS2UeKsp6b UoMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=q8AtzAo7AEcJopxDsCv3JjFcANmhie/1+4+Vuv6T9Nk=; b=qfVXTjEoDkf1fWMe01Vmu6LCo4RBpEjaPusfJD6ehjSc9tGpnJTOMjHoqNtHu1q9Uz jx9qVVVFnwUJGtm+w6TX+g85wXCagrwkRFcAyO90Qo8CYix1cavErm2uUXkTrhre9SlK SoEvARTY/YNaW8LmlmwomMYy5WLNM8MFr7cyJUw1vkvZKOHg2bao5KpVa5f2F6IvBrvK CbxMum+uaKcqqzCrbJZhuMlCJdeJ4fmUW1Fef3WCaOwdKa1CKjByfRMUHqlGNjuDhAVD izdiG6/M4ADW+7KVgHymCNn7HHmz5jvDkWQ+LlS8ZyFnIwiZeTtrIAUNmuV4NTvm0kUE Rv0A== X-Gm-Message-State: AOAM533b+SgUWb1ZIEwq+LuS16buJRxsi9Vb7eCN2lDjdwb0unEu9SMF a5GJ7CNlIle6QGGt9UxfaQ== X-Google-Smtp-Source: ABdhPJyyL7v1I0qRBOrIQaeDXLhLujskOpcBsy743V7jG4G+BRr5mb4qtx5kPHMIxl5NdqyHL1R5xA== X-Received: by 2002:adf:f2c2:: with SMTP id d2mr17579351wrp.424.1591076601189; Mon, 01 Jun 2020 22:43:21 -0700 (PDT) Received: from [84.75.68.10] (84-75-68-10.dclient.hispeed.ch. [84.75.68.10]) by smtp.gmail.com with ESMTPSA id c5sm2155296wrb.72.2020.06.01.22.43.20 for <gentoo-user@lists.gentoo.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 22:43:20 -0700 (PDT) Subject: Re: [gentoo-user] setuptools build failed (SOLVED) From: Tamer Higazi <th982a@googlemail.com> To: gentoo-user@lists.gentoo.org References: <593cd90d-1053-3db2-48fe-526d20cef76f@googlemail.com> <RLWNI6ZR.A2X3GJW3.IUF5CVHD@BKPDWKWB.2T57Y7K7.JEDYVPVY> <b34c5080-42d0-870d-675f-ad7753670f1d@googlemail.com> Message-ID: <5f96c3b4-d738-7cda-d42d-1cf4190003de@googlemail.com> Date: Tue, 2 Jun 2020 07:43:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <b34c5080-42d0-870d-675f-ad7753670f1d@googlemail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Archives-Salt: 48f15f85-0aee-40ef-827e-dbeff2b2ef8f X-Archives-Hash: d0e91544d4e23d04066fbe25aaf71e5e I solved that python3.7 was 2x on my system installed. The one in /usr/local was the one I compiled myself a longer time ago before it was in portage. I deleted all python related files and drectories in /usr/local and ran env-update After I then i reran emerge -uDN @world and it works. best, Tamer On 2020-06-02 03:04, Tamer Higazi wrote: > Dear Jack, > > I did the same with "su -" and changed to root and the result is still > the same. > > Any ideas what I did wrong ? > > > best, Tamerr > >>> >>> >>> Source compiled. >>> [31;01m*[0m --------------------------- ACCESS VIOLATION SUMMARY >>> --------------------------- >>> [31;01m*[0m LOG FILE: >>> "/var/tmp/portage/dev-python/setuptools-44.1.0/temp/sandbox.log" >>> [31;01m*[0m >>> VERSION 1.0 >>> FORMAT: F - Function called >>> FORMAT: S - Access Status >>> FORMAT: P - Path as passed to function >>> FORMAT: A - Absolute Path (not canonical) >>> FORMAT: R - Canonical Path >>> FORMAT: C - Command Line >>> >>> F: open_wr >>> S: deny >>> P: /usr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle >>> A: /usr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle >>> R: /usr/local/lib/python3.7/lib2to3/Grammar3.7.7.final.0.pickle >>> C: python3.7 setup.py build -j 8 >>> >>> F: open_wr >>> S: deny >>> P: /usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle >>> A: /usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle >>> R: /usr/local/lib/python3.7/lib2to3/PatternGrammar3.7.7.final.0.pickle >>> C: python3.7 setup.py build -j 8 >>> [31;01m*[0m >>> -------------------------------------------------------------------------------- >>> >>> >> Not sure if it's relevant here, but how are you getting root privs to >> run emerge? I've seen similar problems because of environment >> variables set for the regular user which are not cleared by su or >> sudo. I think I end up using "su -" when I run into that (although I >> admit it has been a long time since I did) or log in directly as root. >> >> Jack >>