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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E791F158089 for ; Thu, 28 Sep 2023 16:23:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE3532BC023; Thu, 28 Sep 2023 16:23:11 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0DC9B2BC018 for ; Thu, 28 Sep 2023 16:23:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1695918184; x=1696522984; i=n952162@web.de; bh=Cx4XGZ2RR+eYsGOI6TrAJe7nk8eltmspZZcCEtXEM8c=; h=X-UI-Sender-Class:Date:From:Subject:To:References:In-Reply-To; b=G9PdtNkQlUYWs3ZDyG/XWivGQq9gGlEcwWKJ+n+etPbn1HOnwGH/EtXnt4IhWHjzw0DlhyA0ISx BhG4+jhezW/rfHdcgpQQQvnrBz7bG37/Fc/BqymXv595Tv5C5SuQDElaKpfyq2H0puZBJj7JJxXW2 ogNkriVx1VyilVkbv70Ual3k++59eM9f4A4UBIxjRINrO4DXP5s2kHbhg7Y+ES2saPsg1h1ycUdWO MSzBO7d8OAyU4qjYfqL77blqlS/yyU3WZaclo3j8Wxbn5In+inr512RNG84ijC4iUMggR4Vw8J7KN BYWAbkNRFa8CjEzSFEILbTx1ObPZrk43sOPw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.101] ([195.52.60.125]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MMGuC-1r31TC2gmE-00JHEq for ; Thu, 28 Sep 2023 18:23:04 +0200 Content-Type: multipart/alternative; boundary="------------sqjGyc7U61cX03mwiD50oXMv" Message-ID: <822cbf88-d73f-ee12-975c-6d5f071b4793@web.de> Date: Thu, 28 Sep 2023 18:24:23 +0200 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/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 From: n952162 Subject: Re: [gentoo-user] gentoo packages contain binary images? To: gentoo-user@lists.gentoo.org References: <2bf48280-1f28-2ae9-ebf8-b187d809ae74@web.de> Content-Language: de-DE In-Reply-To: X-Provags-ID: V03:K1:Ka/O+Tz1OE0CxX30l6NK3x04cL/kLBvW6jXsWx4d3fxG1rYLEw6 WYRFypoNlm/Uj2Z/+iLOyWa+XCegXfbMY1GJMYWQThXQRBTWVuUgiwSd2mN5lVufOoZ+x5N m/hcj8jTfQ7dzTchHn9DOxdGp4Z9kYz+FHkoiPXcyujkN8yqydOEd0vP+CqDZlz78B4OBph Gt/PB9rX11dHDltEqOS+A== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:fsawjqJWHEs=;Q6UjOhdlBQDVdH2O3eAzx98f3wL 9/DAaUpAkV/xpj3LB3tDEmQQu/Iud1f66/cU1BRKRFx7wqJyrF5q0nVJB4cv7eFz/t/BA5xP9 FiPHgUfJRGfqHaTUqdAXeyE/50OdHJ3at2sHmuAk2iIkb9PCBpehDwEAT6LbupTU7bcyy859M +jqgvmS3dXL51bzcpo5HS49w59Lo0rzO/BBLQrO0Bzywz2cboQW13A0HMZW+qz2DNGh/VbFEZ Yaek37m641fDI4Nv3Y5KWV7xu3izkHa7HurHb6z4Eyo1LPMx8ieYLLWKuD08YhxPqUAdLEURp HYWnhbI7WnSi9RSyxlV0DtQoJFjxvCF1QPSG96ZvkfR73StNCr73+LQ8aBj4QFWYWwcl02rhh Ru3z1AP4V/ugJGpYDLH0fzEzAqVPu47AKu+ru7m4siXyTPfp+G/IvlmsdFM/A7N09k4RdH8yX dQK2t/OjPWB8JKaL2a8DbPMBteWvG1ovr11wocGSCpOqzjLVIjPreVWfdo9KDdFpYlpBd5rds Qc6bpeJh1IRO3gF5pTX84F1FxlM/FLA7z1tB0bUQMyFTfLj9YEDXKyr0+x0EMXUUkczEmbKGi U/8Uge/XGWJ3b7J/jTHWoI7uEyk5V0O5mwZA6FpWZ7A6fSaQqlJ1s63oJZL/H1Kt8otWnJY7h VgkQ9K/QlYXSTuQhmarVQoy3ybTw9dR24doZObW9U9K6MSuTEK0ZxWHyR/S9paQ/IKN/SPdWU EOzChFTz8Xv0SGzrjJHwqNZt20jX+oFZRjisbk/ppLydjPm36Vl2e+b/iICnaMO9SvGBA7uHM JEzXl3fydHTMEL9zKUr4AlF9S+L2MoeWmPoNEXRpS6ZKhtAF7gZvzWz1F0VBhBkVC9LFbKmu1 EehSgIJABR78mG0ERKa72Rs8c+g4hozckpPdyHemY4iaM2rKa6sw+cR6+tEZKf1KGW1GJnCoU zL7WUzoK2E9afPS0o5VZtNbhI3g= X-Archives-Salt: 2ce16eec-91a5-4554-a3a1-6936f6b336ca X-Archives-Hash: e4fbcc0db01a54903081b03950313afe This is a multi-part message in MIME format. --------------sqjGyc7U61cX03mwiD50oXMv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 9/28/23 17:48, Alan McKinnon wrote: > cmake is not downloaded as binary. Your system has built it and stored > the binaries it built, especially if more than one package is like that. $ tar -xjvf /var/cache/binpkgs/dev-util/cmake-3.22.2.tbz2=C2=A0 ./usr/bin/= cmake ./usr/bin/cmake $ file usr/bin/cmake usr/bin/cmake: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped It looks to me that it's in the tarball received from gentoo. > > This happens when you use quickpkg or emerge -b. Maybe I'm misinterpreting something? emerge *--getbinpkg n *-v --tree --deep --update --noreplace =2D-changed-use --verbose-conflicts --keep-going --with-bdeps=3Dy =2D-backtrack=3D100 cmake > I seem to recall there is a global option that can be used for this, I > used it one when building on a central host to then distribute > binaries to other hosts. > > Alan > > On Thu, Sep 28, 2023 at 5:29=E2=80=AFPM n952162 wrote: > > Hello, > > When I do: > > $=C2=A0 equery list cmake > =C2=A0=C2=A0* Searching for cmake ... > [IP-] [=C2=A0 ] dev-util/cmake-3.22.2:0 > > Furthermore, I find no /var/tmp/portage/dev-util/cmake* > > and when I do this: > > $ cd /var/cache/binpkgs/dev-util > > $ tar -tjvf cmake-3.22.2.tbz2=C2=A0 2>&1 | grep /usr/bin/cmake > -rwxr-xr-x root/root=C2=A0=C2=A0 7332776 2022-03-03 10:10 ./usr/bin/= cmake > > I see that a ready-to-use cmake is included. > > Am I interpreting this correctly that cmake is downloaded as pre-bui= lt > binary? > > Can I inhibit that?=C2=A0 How many pre-built binaries do I have? How= do I > get rid of them? > > Incidently, I checked another package in /var/cache/binpkgs, > byacc, and > it's the same. > > > > > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com --------------sqjGyc7U61cX03mwiD50oXMv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 9/28/23 17:48, Alan McKinnon wrote:<= br>
cmake is not downloaded as binary. Your system has built it and stored the binaries it built, especially if more than one package is like that.

$ tar -xjvf /var/cache/binpkgs/dev-util/cmake-3.22.2.tbz2=C2=A0 ./usr/bin/cmak= e
./usr/bin/cmake


$ file usr/bin/cmake
usr/bin/cmake: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, stripped

It looks to me that it's in the tarball received from gentoo.



This happens when you use quickpkg or emerge -b.


Maybe I'm misinterpreting something?

emerge --getbinpkg n -v --tree --deep --update --noreplace --changed-use --verbose-conflicts --keep-going --with-bdeps=3Dy --backtrack=3D100 cmake

I seem to recall there is a global option that can be used for this, I used it one when building on a central host to then distribute binaries to other hosts.

Alan

On Thu, Sep 28, 2023 at 5:29=E2=80=AFPM n952162 <n9521= 62@web.de> wrote:
H= ello,

When I do:

$=C2=A0 equery list cmake
=C2=A0=C2=A0* Searching for cmake ...
[IP-] [=C2=A0 ] dev-util/cmake-3.22.2:0

Furthermore, I find no /var/tmp/portage/dev-util/cmake*

and when I do this:

$ cd /var/cache/binpkgs/dev-util

$ tar -tjvf cmake-3.22.2.tbz2=C2=A0 2>&1 | grep /usr/bin/cmake
-rwxr-xr-x root/root=C2=A0=C2=A0 7332776 2022-03-03 10:10 ./usr/bin/cmake

I see that a ready-to-use cmake is included.

Am I interpreting this correctly that cmake is downloaded as pre-built
binary?

Can I inhibit that?=C2=A0 How many pre-built binaries do I have?= =C2=A0 How do I
get rid of them?

Incidently, I checked another package in /var/cache/binpkgs, byacc, and
it's the same.





--
Alan McKinnon
alan dot mckinnon at gmail dot com
--------------sqjGyc7U61cX03mwiD50oXMv--