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 25F241382C5 for ; Thu, 11 Jun 2020 12:48:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A484DE095E; Thu, 11 Jun 2020 12:47:59 +0000 (UTC) Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 51532E091C for ; Thu, 11 Jun 2020 12:47:59 +0000 (UTC) Received: by mail-ej1-f53.google.com with SMTP id y13so6348057eju.2 for ; Thu, 11 Jun 2020 05:47:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5qKD+Lvf3tpqbbW//FhCVJl7eY6a0jaHRX1nE3guR+c=; b=c3ojZjwVeBzyfErII+oSEzQxO+VTb0pZj5VKunshuH8nUXHzSdl9Y6VUKF8DIvgRtf HRQl7tcSl2DWVas5qDZQpnc0HTEdiSW6qIJHoBjVUYz1epbZl+0M+XJ7RmAvZfdQ+m0e KZwHF4RYXchtDL6Dz9GlwTogzim+HnuJB6jsrF3Oub25NCNqk6JXVRXcojTS5rOakG5L vMQUSrs2wzhFFs1CJyI+et9iy0H11R0v3uUG9w5wqOJzS0iU9xi4kv9I9379qNg4YnJL 1DKKH72a4Q6ZWq4I9GGqAvTk4lN3eGPCFkBj7gw3b7qe5yRc3wI+yhL3hxGpEEvdz93u a6fg== X-Gm-Message-State: AOAM531YofwfJpvrKTNboMuwzuxdN1xtJEb9xTrgx1RLWz07NqhS8gal BN+VIt0uef/2C6f8l1rPxGgxYLmOpfHHAGFSiF2xRKq/ X-Google-Smtp-Source: ABdhPJzTCxpmvpCYZYcAAMHCXDL6+8VfpSrLnsWs05MBNp76sxmCr3x4oxAZOGF67IAA/fFRbuQ+3z/q5kTxAoDunKo= X-Received: by 2002:a17:906:b845:: with SMTP id ga5mr8131447ejb.300.1591879677698; Thu, 11 Jun 2020 05:47:57 -0700 (PDT) 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 References: <9ed9c401-7066-9c6d-8ce4-2ee94a1b903e@web.de> <20200611091031.770b9102@digimed.co.uk> In-Reply-To: <20200611091031.770b9102@digimed.co.uk> From: Rich Freeman Date: Thu, 11 Jun 2020 08:47:46 -0400 Message-ID: Subject: Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 298a694a-e1f2-4664-9a13-0cfe80a2de7e X-Archives-Hash: d7fe2afebec5de68092b8df2fbd18222 On Thu, Jun 11, 2020 at 4:10 AM Neil Bothwick wrote: > > > > > sudo emerge -vauU portage 2>&1 | tee -a portage.200611 > > > > !!! The following update has been skipped due to unsatisfied > > dependencies: > > > > sys-apps/portage:0 > > > > selected: (sys-apps/portage-2.3.13-r1:0/0::gentoo, installed) > > skipped: (sys-apps/portage-2.3.99-r2:0/0::gentoo, ebuild scheduled > > for merge) (see unsatisfied dependency below) > > > > !!! All ebuilds that could satisfy > > "dev-lang/python:3.7[bzip2(+),threads(+)]" have been masked. > > !!! One of the following masked packages is required to complete your > > request: > > - dev-lang/python-3.9.0_beta3::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.9.0_beta2::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.9.0_beta1::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.9.0_alpha6::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.8.3::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.8.2-r2::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.8.2-r1::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.7.7-r2::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.7.7-r1::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.6.10-r2::gentoo (masked by: EAPI 7) > > - dev-lang/python-3.6.10-r1::gentoo (masked by: EAPI 7) > > - dev-lang/python-2.7.18::gentoo (masked by: EAPI 7) > > - dev-lang/python-2.7.17-r2::gentoo (masked by: EAPI 7) > > > > The current version of portage supports EAPI '6'. You must upgrade to a > > newer version of portage before EAPI masked packages can be installed. > > (dependency required by > > "sys-apps/portage-2.3.99-r2::gentoo[python_targets_python3_7]" [ebuild]) > > For more information, see the MASKED PACKAGES section in the emerge > > man page or refer to the Gentoo Handbook. So, I'll first echo Neil's comments regarding non-updated config files, the news items, and the world file. You need to deal with the basics before you start with open heart surgery. Here is what is going on at a high level: Your current version of portage doesn't support EAPI 7, which was introduced quite a while ago - so long ago that we no longer guarantee a trivial update process, though it probably isn't too hard to work through. Portage itself uses EAPI 5 in the current releases, which is mainly because we want to try to make it at least somewhat straightforward to update on older systems. However, the default profiles are all pushing updated versions of python, and python uses EAPI7 across the board. What you need to do is update portage without touching python first, and then worry about python. Portage wants to pull in python 3.7 because all packages are being configured by default to support python 3.7. The version of portage you're trying to install supports python 3.6, 3.7, and 3.8. As long as you already have any of those installed you probably should be able to update just portage, which resolves the EAPI issue, and then you can update python or anything else. What version(s) of python do you have installed? Ways to obtain this info are: qlist -IRv dev-lang/python equery list python eselect list python (The first two are more useful but require non-default packages to be installed, the last is a bit more limited but should work anywhere.) Based on that I can probably give you a command line that will just update portage without touching anything else. Then once portage is updated you can proceed. Don't be surprised if it wants to rebuild itself again with the more current settings - that is fine. We're just getting things bootstrapped enough so that you can keep making progress. Most likely what you're probably going to end up wanting to try is: USE="python_targets_python3_6 -python_targets_python3_7" emerge -p1v sys-apps/portage (Remove the -p if the output of that looks sane.) That will temporarily adjust the python dependency settings for just that one command. You shouldn't use that USE setting any further after that - this is just to get portage updated once to allow python to be updated in the future - you don't want to stick with 3.6 forever and in a little while you won't even have that option. -- Rich