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,
signature.asc
Description: This is a digitally signed message part.