From: Eli Schwartz <eschwartz@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Where does Portage store what USE flags are required for binhost packages?
Date: Sun, 8 Dec 2024 10:24:42 -0500 [thread overview]
Message-ID: <11e93a95-05f7-45ff-a8f8-be94db5a4f52@gentoo.org> (raw)
In-Reply-To: <6755b3c9.050a0220.16f6c0.e448@mx.google.com>
[-- Attachment #1.1: Type: text/plain, Size: 1596 bytes --]
On 12/8/24 9:57 AM, Dr Rainer Woitok wrote:
> Greetings,
>
> off and on my attempts to coax Portage into installing a binary package
> fail. Current example: "sys-libs/readline-8.2_p13" was installed as bi-
> nary some weeks ago, while my current attempts to install "sys-libs/
> readline-8.2_p13-r1" as binary are ignored, "emerge" insists in install-
> ing it as an ebuild. Same happened with a few more packages.
>
> I downloaded file "Packages" from my binhost mirror which provides quite
> some information and helped me specifying the correct USE flags for se-
> veral packages. But not for all -- apparently Portage's decicions are
> based on different information.
>
> Where should I look?
There's no subtlety to where USE flags are stored. They are stored in
the Packages file right where you looked. :)
There are other reasons a binpackage might be ineligible. For example,
if dependencies have changed (including build-time dependencies IIRC)
via ebuild / eclass edits, or when an RDEPEND has a subslot binding
dependency and your installed version of the dependency has been
upgraded, the binpackage won't work (and in a world update, you'd see a
red "r" to indicate that one package is forcing another package to rebuild).
By the way you don't need to download the Packages file manually. It
will be in /var/cache/edb/binhost/ using a directory structure based on
your binhost uri. For example, my cached copy is at:
/var/cache/edb/binhost/gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64-v3/Packages
--
Eli Schwartz
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
next prev parent reply other threads:[~2024-12-08 15:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-08 14:57 [gentoo-user] Where does Portage store what USE flags are required for binhost packages? Dr Rainer Woitok
2024-12-08 15:24 ` Eli Schwartz [this message]
2024-12-08 17:57 ` Dr Rainer Woitok
2024-12-08 18:13 ` Eli Schwartz
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=11e93a95-05f7-45ff-a8f8-be94db5a4f52@gentoo.org \
--to=eschwartz@gentoo.org \
--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