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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E088A158232 for ; Sun, 8 Dec 2024 15:24:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00796E0D04; Sun, 8 Dec 2024 15:24:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85F4DE0CC7 for ; Sun, 8 Dec 2024 15:24:46 +0000 (UTC) Message-ID: <11e93a95-05f7-45ff-a8f8-be94db5a4f52@gentoo.org> Date: Sun, 8 Dec 2024 10:24:42 -0500 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 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Where does Portage store what USE flags are required for binhost packages? To: gentoo-user@lists.gentoo.org References: <6755b3c9.050a0220.16f6c0.e448@mx.google.com> Content-Language: en-US From: Eli Schwartz Autocrypt: addr=eschwartz@gentoo.org; keydata= xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4WIQTvUdMIsc4j CIi+DYTqQj6ToWND8QUCZoRL+gIbAwUJBKKGAAULCQgHAwUVCgkICwUWAgMBAAIeBQIXgAAK CRDqQj6ToWND8aB5AP9r4kB691nNtNwKkdRiOdl7/k6WYzokvHvDamXxRJ0I+gEAjZqR5V8y mfR3fy2Z+r2Joeqdt3CIv5IwPs64spBvigLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYWIQTvUdMIsc4jCIi+DYTq Qj6ToWND8QUCZmeRNAIbDAUJBKKGAAAKCRDqQj6ToWND8a2RAP40KPfbfoiZAJW5boFmFJ3G TUBDJRh9CWHyaPqq2PN+0wD/R07oLzfnJUN209mzi9TuTuHjeZybysyqXSw4MAxkMAY= In-Reply-To: <6755b3c9.050a0220.16f6c0.e448@mx.google.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------mKh00XYQN9TGtBx957NuzdQR" X-Archives-Salt: 53a6360b-ad9a-4970-a334-45546eeafa5a X-Archives-Hash: 747142f3565355a65dd63a6d3debdd0c This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------mKh00XYQN9TGtBx957NuzdQR Content-Type: multipart/mixed; boundary="------------EVZBCoqKh0doBhWxbHwjCs9C"; protected-headers="v1" From: Eli Schwartz To: gentoo-user@lists.gentoo.org Message-ID: <11e93a95-05f7-45ff-a8f8-be94db5a4f52@gentoo.org> Subject: Re: [gentoo-user] Where does Portage store what USE flags are required for binhost packages? References: <6755b3c9.050a0220.16f6c0.e448@mx.google.com> In-Reply-To: <6755b3c9.050a0220.16f6c0.e448@mx.google.com> --------------EVZBCoqKh0doBhWxbHwjCs9C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/8/24 9:57 AM, Dr Rainer Woitok wrote: > Greetings, >=20 > off and on my attempts to coax Portage into installing a binary packag= e > 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. >=20 > I downloaded file "Packages" from my binhost mirror which provides quit= e > some information and helped me specifying the correct USE flags for se= - > veral packages. But not for all -- apparently Portage's decicions ar= e > based on different information. >=20 > 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 rebuil= d). 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 --=20 Eli Schwartz --------------EVZBCoqKh0doBhWxbHwjCs9C-- --------------mKh00XYQN9TGtBx957NuzdQR Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCZ1W6OwUDAAAAAAAKCRCEp9ErcA0vVy+p AQCHK3a1ox0adJRSVwts6u0TdvhdFNlAoDcRCabIsMTnFwEAodTr6nOzkawdfiberxEUhdjwVHFq 5KVakVWXxy7IfAY= =LYdO -----END PGP SIGNATURE----- --------------mKh00XYQN9TGtBx957NuzdQR--