public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Tree resolving details/visualization
Date: Mon, 23 Dec 2024 18:06:22 +0000	[thread overview]
Message-ID: <3329371.aeNJFYEL58@rogueboard> (raw)
In-Reply-To: <1734690622.254660616@f347.i.mail.ru>

[-- Attachment #1: Type: text/plain, Size: 2375 bytes --]

Hi Alexander,

On Friday 20 December 2024 10:30:22 GMT Alexander Kurakin wrote:
> Good day!
>  
> On emerge and other operations, I see the next sequence of actions:
> 1. Packages state is pulled (repositories,
> `/etc/portage/package.accept_keywords`, etc.). This is versions of the
> packages, the USE flags, the arch keywords, etc. 2. User demands are pulled
> (`@world`, `/etc/portage/package.use`, etc.). These demands are
> required version of the packages, the USE flag demands, etc. 3. They are
> pushed to the SAT resolver. 4. The decision is made. (The new full tree,
> "diff" for the tree - it doesn't matter here.) 
> Questions:
> 1. Am I correct?

The directive you may have specified in ACCEPT_KEYWORDS in your /etc/portage/
make.conf, over-written by any package specific stable ARCH or testing ~ARCH 
entries you have added in your /etc/portage/package.accept_keywords will 
determine if a package version is selected to be emerged as stable or testing.

https://wiki.gentoo.org/wiki/ACCEPT_KEYWORDS

The default USE flags for any package are determined by your chosen profile 
(eselect profile list) and they are in turn overwritten by any optional USE 
flags you have set for all packages in /etc/portage/make.conf, or for 
individual packages in /etc/portage/package.use

https://wiki.gentoo.org/wiki/USE_flag
https://wiki.gentoo.org/wiki//etc/portage/package.use


> 2. Are there some tools (or projects for such tools) to show:
> 2a. the result and the sources of the p.1
> (e.g., "there
> are `=mail-client/claws-mail-{3.21.0-r1,4.2.0-r3,4.3.0-r2,9999}` from
> `::gentoo`; the applied keyword `amd64` for
> `=mail-client/claws-mail-4.2.0-r3` came from
> `/etc/portage/package.accept_keywords:17`") and
> 2b. the result and the sources of the p.2
> (e.g. "the user input is: `=mail-client/claws-mail-4.2.0-r3`;
> the USE flag demand `mail-client/claws-mail[smime]` came from
> `/etc/portage/package.accept_keywords:2`") 
> Thanks!
>  
> Sincerely,
> Alexander Kurakin.
>  

There are various tools besides the output of 'emerge -pv <package>' which 
will indicate the version you are about to install and the USE flags to be 
configured for it.  As a minimum I use these:

app-portage/gentoolkit
app-portage/portage-utils

but there are more to choose from:

https://wiki.gentoo.org/wiki/Gentoolkit
https://wiki.gentoo.org/wiki/Useful_Portage_tools

HTH,

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2024-12-23 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-20 10:30 [gentoo-user] Tree resolving details/visualization Alexander Kurakin
2024-12-23 18:06 ` Michael [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3329371.aeNJFYEL58@rogueboard \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox