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 AA664158042 for ; Fri, 15 Nov 2024 14:05:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CA5FE0AA5; Fri, 15 Nov 2024 14:05:29 +0000 (UTC) Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 4C46BE0A02 for ; Fri, 15 Nov 2024 14:05:29 +0000 (UTC) Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-e382589e8fdso834501276.0 for ; Fri, 15 Nov 2024 06:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731679528; x=1732284328; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=IS23/M/Avl/bMtTijjFZfx5o3tr2mxD78DS5aKaV+2Y=; b=mTwHjqVXAfOFmzN3lLopS5TNY9NDhQN8qZMHocN6SdQ+f95BeXgzZADIdVij4eHGeY PiO1PQeFt5F5KjJrzL/W9T/0GJfxpSQx91aCmypalVDFSu0FZcZAPyuGin8vTAwJQp0a HI6MX1Q6RYP8NlZCxAoUkZQuEnl1D1zZUa4oL7m+gfzpv9pRebu6vHJ5WcPFP2bMaAre QKWAQozR9ZKaWrsg76V0xrN5OhMvB+k4mmfoXz+8jQ9CaTARE7hMoqWOGAEIJAjSil/U Q9vHhl0N/Twd7eMvOvyL6InxOCqg1fF7d9bcOBQ7s/bx07ME5Xt73xELZoBIMPgL4ARh ynIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731679528; x=1732284328; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IS23/M/Avl/bMtTijjFZfx5o3tr2mxD78DS5aKaV+2Y=; b=ckZpifvxmeA387Y12OPsXCWbkfJn6mT5gXSNb1mG/xbuehcZ6D8aFiDMjA+JYlY77T 5J/zFKtLqWQmn3aDUlYRyrVQgVgmgASisk78kuO7HNhrzFqzf3itbUhve5ra5SEqLvLC DGP0gRPNKMb72A0x2DWPLkB2XhvuUmaqlg8YPo4iBj98FwOCJheY03Mnn5l+zU5A0FLu Q8HBup1s+bSPBPPD6MDL6Kr/JpmJaPsIarobl1cUJ23ALh8gYrrbmPOErYlsNmvQPozm O/KFZJHBamO9MDC26A5RucPrkVVMA6uRMl4FQuGaLektj5/zOz9GmbR0PhBC+PPBoZD4 8YSg== X-Gm-Message-State: AOJu0YxV+lcIcXy14SoQSrKEbdwB1BzDM6v+9fWCoVxvfDiG42W1Cmg0 Xy4eSN9N5oSeRH36d+vZEb2fewJs+M1DBuGlFRFEelJ1Uwc98iniyIn8RuDIPQrSNVRzqG/paGh qxCi3woHeYgPsU/zVsvVDM+bYxiafr6gG9Ao= X-Google-Smtp-Source: AGHT+IFtaScyeZN2hiL1BigUHQeXknU9z8nyF/wzXnAjI0ltrMIBFF3Ah2hoU0mgsepXVf5GYfs0OJzeCpfIKbXDRF4= X-Received: by 2002:a05:690c:7108:b0:6dd:cdd7:ce49 with SMTP id 00721157ae682-6ee55b98196mr37019557b3.6.1731679527219; Fri, 15 Nov 2024 06:05:27 -0800 (PST) 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 References: <173167455567.7.12220560602579978916.495919527@simplelogin.com> In-Reply-To: <173167455567.7.12220560602579978916.495919527@simplelogin.com> From: Jacques Montier Date: Fri, 15 Nov 2024 15:05:15 +0100 Message-ID: Subject: Re: [gentoo-user] Migrating existing Gentoo to binpkg To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="00000000000015bf8c0626f40ff4" X-Archives-Salt: f412b471-c609-4b33-bf67-8e1de8a7516a X-Archives-Hash: 00d0193a4ef35444447da7b4ca0a6146 --00000000000015bf8c0626f40ff4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le ven. 15 nov. 2024 =C3=A0 13:42, a =C3=A9c= rit : > Hello, > > I'm sure this has been asked before but, clearly, my archive search > skills are sub-par. I'm hoping it would be a quick "yes/no" kind of answe= r. > > Long story short, I decided to try out the Gentoo setup with binary > package host. I've been making my way through the relevant news item [1] > and guides [2,3]. > > I already have "/etc/portage/binrepos.conf" and "/etc/portage/gnupg" set > up correctly - no issues there. In make.conf I also added: > > FEATURES=3D"getbinpkg binpkg-request-signature" > > My only question that remains is whether I should change the existing > value for CFLAGS (I presume so). Currently, I have: > > COMMON_FLAGS=3D"-march=3Dznver4 -O2 -pipe" > > (yes CFLAGS etc are set to use $COMMON_FLAGS). > > Since I'm planning to use binary packages from x86-64-v3, I presume this > should be changed to: > > COMMON_FLAGS=3D"-march=3Dx86-64-v3 -O2 -pipe" > > or, perhaps: > > COMMON_FLAGS=3D"-march=3Dx86-64-v3 -mtune=3Dznver4 -O2 -pipe" ? > > I also have a hefty $CPU_FLA > GS_X86 (also added to $USE) from > "cpuid2cpuflags" but am not worried about this as packages that don't > fit will simply be built from source as usual. > > Anyway, in both cases running my usual: > > emerge -aqvND --update --keep-going --with-bdeps=3Dy @world > > doesn't yield any changes to the system. I presume because, as of now, > everything is up to date. > > In contrast, adding "--rebuilt-binaries" shows a lot of binary packages > being pulled in and "--emptytree", as expected, shows a full rebuild > with a lot of binary packages being pulled in. > > So, to the actual questions: > > 1) What would be the preferred CFLAGS configuration or, since > "-march=3Dznver4" is a newer subset of x86-64-v3, can I simply keep the > existing one? > > 2) To reinstall the current source based packages with their binary > equivalent, "--rebuilt-binaries" sufficient or should I just go for > "--emptytree @world"? > > Thanks, > Victor > > [1] https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html > [2] h > ttps://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart > [3] https://wiki.gentoo.org/wiki/Binary_package_guide Hello, What if you try this : emerge -auvDN --getbinpkgonly --with-bdeps=3Dy --binpkg-respect-use=3Dy --keep-going world Cheers, -- Jacques --00000000000015bf8c0626f40ff4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable





Le= =C2=A0ven. 15 nov. 2024 =C3=A0=C2=A013:42, <byte.size226@simplelogin.com> a =C3=A9crit=C2=A0= :
Hello,

I'm sure this has been asked before but, clearly, my archive search skills are sub-par. I'm hoping it would be a quick "yes/no" k= ind of answer.

Long story short, I decided to try out the Gentoo setup with binary
package host. I've been making my way through the relevant news item [1= ]
and guides [2,3].

I already have "/etc/portage/binrepos.conf" and "/etc/portag= e/gnupg" set
up correctly - no issues there. In make.conf I also added:

=C2=A0 =C2=A0 =C2=A0FEATURES=3D"getbinpkg binpkg-request-signature&quo= t;

My only question that remains is whether I should change the existing
value for CFLAGS (I presume so). Currently, I have:

=C2=A0 =C2=A0 =C2=A0COMMON_FLAGS=3D"-march=3Dznver4 -O2 -pipe"
(yes CFLAGS etc are set to use $COMMON_FLAGS).

Since I'm planning to use binary packages from x86-64-v3, I presume thi= s
should be changed to:

=C2=A0 =C2=A0 =C2=A0COMMON_FLAGS=3D"-march=3Dx86-64-v3 -O2 -pipe"=

or, perhaps:

=C2=A0 =C2=A0 =C2=A0COMMON_FLAGS=3D"-march=3Dx86-64-v3 -mtune=3Dznver4= -O2 -pipe" ?

I also have a hefty $CPU_FLA
GS_X86 (also added to $USE) from
"cpuid2cpuflags" but am not worried about this as packages that d= on't
fit will simply be built from source as usual.

Anyway, in both cases running my usual:

=C2=A0 =C2=A0 =C2=A0emerge -aqvND --update --keep-going --with-bdeps=3Dy @w= orld

doesn't yield any changes to the system. I presume because, as of now, =
everything is up to date.

In contrast, adding "--rebuilt-binaries" shows a lot of binary pa= ckages
being pulled in and "--emptytree", as expected, shows a full rebu= ild
with a lot of binary packages being pulled in.

So, to the actual questions:

1) What would be the preferred CFLAGS configuration or, since
"-march=3Dznver4" is a newer subset of x86-64-v3, can I simply ke= ep the
existing one?

2) To reinstall the current source based packages with their binary
equivalent, "--rebuilt-binaries" sufficient or should I just go f= or
"--emptytree @world"?

Thanks,
Victor

[1] https://www.gentoo.org/news/2023/12/29/= Gentoo-binary.html
[2] h
ttps://wiki.gentoo.org/wiki/Gentoo_Binary_H= ost_Quickstart
[3] https://wiki.gentoo.org/wiki/Binary_package_gui= de


Hello,

=
What if you try this :
emerge -auvDN --getbinpkgonly -= -with-bdeps=3Dy --binpkg-respect-use=3Dy --keep-going world

<= /div>
Cheers,

--
Jacques=C2=A0
=
--00000000000015bf8c0626f40ff4--