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 8AF22158232 for ; Sun, 8 Dec 2024 18:13:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3EF8E0D52; Sun, 8 Dec 2024 18:13:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C9C23E0BD4 for ; Sun, 8 Dec 2024 18:13:44 +0000 (UTC) Message-ID: Date: Sun, 8 Dec 2024 13:13:41 -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: Dr Rainer Woitok , gentoo-user@lists.gentoo.org References: <6755b3c9.050a0220.16f6c0.e448@mx.google.com> <11e93a95-05f7-45ff-a8f8-be94db5a4f52@gentoo.org> <6755dded.050a0220.16f112.3296@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: <6755dded.050a0220.16f112.3296@mx.google.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------tFfYOZyFpMp9P2UgElrp1etA" X-Archives-Salt: 040c696f-1041-4a8d-af83-ed99dd3a4363 X-Archives-Hash: 623039c935a06e26f0959e34045bc33b This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------tFfYOZyFpMp9P2UgElrp1etA Content-Type: multipart/mixed; boundary="------------zQQlY8EoUeR32tD3zb0F7LT1"; protected-headers="v1" From: Eli Schwartz To: Dr Rainer Woitok , gentoo-user@lists.gentoo.org Message-ID: Subject: Re: [gentoo-user] Where does Portage store what USE flags are required for binhost packages? References: <6755b3c9.050a0220.16f6c0.e448@mx.google.com> <11e93a95-05f7-45ff-a8f8-be94db5a4f52@gentoo.org> <6755dded.050a0220.16f112.3296@mx.google.com> In-Reply-To: <6755dded.050a0220.16f112.3296@mx.google.com> --------------zQQlY8EoUeR32tD3zb0F7LT1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/8/24 12:57 PM, Dr Rainer Woitok wrote: > Eli, >=20 > On Sun, 8 Dec 2024 10:24:42 -0500 you wrote: >=20 >> ... >> 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 o= n >> your binhost uri. >=20 > Great. Thankyou for this pointer! >=20 > But: the file "/var/cache/edb/binhost/**/Packages" has a time stamp fro= m > December 2-nd and differs from the "Packages" file I downloaded manuall= y > yesterday. So when does Portage sync it? I ran "emaint sync -A" yes= - > terday and then experimented with "emerge --pretend". But this did no= t > update file "/var/cache/edb/binhost/**/Packages". >=20 > In any case the differences between these two files could well explai= n > my problems. It is definitely downloaded by emerge --pretend --getbinpkg. It is not downloaded by emaint sync. If neither FEATURES=3D"getbinpkg" nor EMERGE_DEFAULT_OPTS=3D"--getbinpkg"= are set, then you have to manually pass --getbinpkg on the CLI every time you want binpackages -- correspondingly, it will only download the Packages file when you manually pass --getbinpkg (as root). In theory, this should mean you always have a fresh cached index any time you actually check for binary updates... It also will check the timestamp to figure out whether to redownload. The downloaded file will have a new "DOWNLOAD_TIMESTAMP:" field but you can ignore that specific line. A timestamp of December 2 is definitely way too old. =2E.. So the two possibilities I can think of are that: - you ran --pretend as non-root, so emerge couldn't update the index - you usually update with -uDU --getbinpkg, and didn't pass --getbinpkg with --pretend --=20 Eli Schwartz --------------zQQlY8EoUeR32tD3zb0F7LT1-- --------------tFfYOZyFpMp9P2UgElrp1etA Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCZ1Xh1QUDAAAAAAAKCRCEp9ErcA0vV2QV AQCRhO9uECbP6lOU1ukF80cGYAuegAtCB3jUZGrSvG6okgD/Q5arOkjpy8R4FyXQrrydK846/WSN KoIOtmWx3Knrrgc= =1GFz -----END PGP SIGNATURE----- --------------tFfYOZyFpMp9P2UgElrp1etA--