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 E4C5A1382C5 for ; Sun, 14 Mar 2021 18:08:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7443E0833; Sun, 14 Mar 2021 18:08:46 +0000 (UTC) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 9BA3DE081A for ; Sun, 14 Mar 2021 18:08:46 +0000 (UTC) Received: by mail-qk1-x732.google.com with SMTP id f124so29603022qkj.5 for ; Sun, 14 Mar 2021 11:08:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=gXSu2GTtVHdl+/QQCrxXdFW0EOvgA2FvZTQY8Fo0OTg=; b=msvg8XZbEIc4nCOcrBf1XQBZlrOtgCZrQuQMJpkWVqha+Wu94TinvuH25/GnaNSFHc zOdCO3/a0EX3G2RqcSkB1f5USOIfJrD9mGD5CaDh/B8MMewuBpdCG6gwsSCBwQStfv0N AvdxsvMGD6OJWHm675h7Tb3OwRwW8qdTPDIMijB/MhFBMUVxUPdZIwWXNPkWKjTCMJo+ bGxyVMJxGnYC8vgQ25qBfiTaJQ1/Ln3A/NN9wsSEqDoYydUGH4KyIh+GaT+IDWSmuNhw nNJcHIEh+A1LqyopdriHFykBbeaTLjxuCo6D6WP+BA6SxUr9uze2bxxY073axbY5auj8 cJlw== 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-language :content-transfer-encoding; bh=gXSu2GTtVHdl+/QQCrxXdFW0EOvgA2FvZTQY8Fo0OTg=; b=dK4GcjQmiPONgiFFTbviGDhNDccQmaQ220DUvbHkSj8pC5Me+fW11JkXExfTCawQQb xfaC76FcXaZz+NFPiQNO+VtLRBdD2xBhfUZ6J283tPjbfZ/ydcxTA0ifTZLmrGRmjm8A q6nT1OBT3gVDqilpD267NAwjXvNiFzW4wu4wsCVAneg9pbGxTxgeo7t+X07yL7cGnBMk UTUw2F/LCamCc8fckhh8ENjpJzsWXiEujQq/ff4PtxD1lj+232gHN4dflneccVuCTuyV xrpoI5CDcA1yjCdMh5U2eGdkqgFaTf9XVzMFfdIZH/ifELkVw8V+AsBt5IYyDZcHXPns 8ieQ== X-Gm-Message-State: AOAM531D36cItzpxAKs/ZX0/kcPJG8GI2Q3ycaORSD6jud9mfNLr20AA bNyPf+bnxBr4gNsJASaJvwBlYI/1Agk= X-Google-Smtp-Source: ABdhPJy+04tWXH8Y9Zkm/u0kl5axzz4T+RBr2cs7c+TL5fCMoCUx49v0SJs9zlKrorOynwnOvfNjzQ== X-Received: by 2002:a05:620a:102f:: with SMTP id a15mr22831337qkk.87.1615745325452; Sun, 14 Mar 2021 11:08:45 -0700 (PDT) Received: from ?IPv6:2600:1000:b11f:5aa8:1c21:25d1:4cdd:7a6f? ([2600:1000:b11f:5aa8:1c21:25d1:4cdd:7a6f]) by smtp.gmail.com with ESMTPSA id i9sm10418780qko.69.2021.03.14.11.08.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Mar 2021 11:08:44 -0700 (PDT) Subject: [gentoo-user] Re: ERROR: dev-lang/python-3.9.2::gentoo failed (install phase) From: "Valmor F. de Almeida" To: gentoo-user@lists.gentoo.org References: Message-ID: Date: Sun, 14 Mar 2021 13:08:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Archives-Salt: 56544e68-7d61-4b0f-9c7c-026b66556861 X-Archives-Hash: f0f26a07a62e627f2a729b98ee0b7d06 On 3/14/21 2:20 AM, Valmor F. de Almeida wrote: > > Hello, > > Has anyone seen this recently? > > * Messages for package dev-lang/python-3.9.2: > >  * ERROR: dev-lang/python-3.9.2::gentoo failed (install phase): >  *   (no error message) >  * >  * Call stack: >  *     ebuild.sh, line  125:  Called src_install >  *   environment, line 3125:  Called python_domodule 'epython.py' >  *   environment, line 2609:  Called python_get_sitedir >  *   environment, line 2834:  Called _python_export 'PYTHON_SITEDIR' >  *   environment, line  633:  Called die >  * The specific snippet of code: >  *                   PYTHON_SITEDIR=$("${PYTHON}" -c 'import > distutils.sysconfig; print(distutils.sysconfig.get_python_lib())') || die; >  * >  * If you need support, post the output of `emerge --info > '=dev-lang/python-3.9.2::gentoo'`, >  * the complete build log and the output of `emerge -pqv > '=dev-lang/python-3.9.2::gentoo'`. >  * The complete build log is located at > '/var/tmp/portage/dev-lang/python-3.9.2/temp/build.log'. >  * The ebuild environment file is located at > '/var/tmp/portage/dev-lang/python-3.9.2/temp/environment'. >  * Working directory: > '/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2' >  * S: '/var/tmp/portage/dev-lang/python-3.9.2/work/Python-3.9.2' > > The error in the log file is: > > Fatal Python error: init_import_site: Failed to import the site module > > I sync portage once a week. Sync problem? > > Inputs appreciated. > Thanks, > -- > Valmor Added info; not sure this helps troubleshooting but I tried this and works: Python 3.9.1 (default, Jan 30 2021, 04:59:43) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import distutils.sysconfig >>> print(distutils.sysconfig.get_python_lib()) /usr/lib/python3.9/site-packages >>> Thanks, -- Valmor