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 469DC158042 for ; Fri, 15 Nov 2024 12:42:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EACDFE0AB0; Fri, 15 Nov 2024 12:42:38 +0000 (UTC) Received: from mail-200167.simplelogin.co (mail-200167.simplelogin.co [176.119.200.167]) (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 87F1BE0A91 for ; Fri, 15 Nov 2024 12:42:38 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1731674556; cv=none; b=XkGtE9XF9NIlgcaqSSK+NC9Lg1SfrfGRuf0L+tvuj8u59ZpvsQxrbESd5QXcf+qJ0K7+p4bt5oTXsdfOCKjQXPQK3mRvQeWSEsREDZwKUHG98iVQM1aQdKNbta1/ZhcvFPAy6pAlP8pH57SJnwm22aj/jom+1W+EW2cyT1ls25DLBvb65aMx3X1Mq92eMnjKPsZFs40Xqc5inb4JbMlZaMC5u16Ye8OPFgLOe5WK5qWfBTCl1UJotPVkRPKes/G55z78dVTB0/z61pPVIPGLAbVbbsZIJC4dugPBnbC5ErQP7ZsuVgF6rfudY1TjZVmmgY6P25ci+ha79vhpvxU40Q== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1731674556; c=relaxed/simple; bh=fIqteu7LDewnyUY8/m0haDTm48wRAezY12ROQBCqNlo=; h=Date:Subject:From:To; b=UUvYdpvZNWsp0dQXyG0pYEDGijPqA6g3j+PD4tipBpjpFX1tqL4gC/bjE+2V32MBuWaQqPBSTfPRgr1OkMDDxaKSDk4fH+grpp08PFe6VbOZ6hKhimF94wtK5qqmu1SVNcNoyTbyZ+EXnRupKll8ePBrkEvQ/FSIKOu9IoE5EEsOGFOYpZIQrpCA0KccQNH0OoYLCFdPIop9EPZ43K8Y4SHLv6hYyrP/yAsxyy9u1iSOvRID3DrDS28H0a41Q0ncEZnC/egC5recCm1901S7MJ9hLq+pxlNNDX7SrLPE/j/02vQCXUMn7gFuno5ffEhR4cUYFVSb+SfCBEkPq1JcGA== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simplelogin.com; s=dkim; t=1731674555; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ms7TZTTEtjD8POSwdXyRaQVFqCWcvUxgnvy6ueuIsdQ=; b=Sh+bBvb4Q/XkmSpCm5QdaSrrj/JYOJwAYLCcRCYDAGnetbxDmM/JWvNIU0sOY8vHD7Kze5 OHqtUMvqUwiJJRmD0+ujb5Vj/qiFNeezlrN7+8xJovS3T9Y804UExwYjCmj7LHc1Obt81k LTK/Gi8Eia4SK8vcQVl3I3pinYjqBGo= Date: Fri, 15 Nov 2024 12:42:31 +0000 Subject: [gentoo-user] Migrating existing Gentoo to binpkg 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 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------246b89b2422a434f38becb50ad72d207ced561149dc21bac2aaee27b6dc9a70e"; charset=utf-8 Content-Transfer-Encoding: 7bit From: byte.size226@simplelogin.com To: gentoo-user@lists.gentoo.org Message-ID: <173167455567.7.12220560602579978916.495919527@simplelogin.com> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 495919527 X-SimpleLogin-Want-Signing: yes X-Archives-Salt: 00676579-6ea9-4e47-b3d9-0c2e28ea22ef X-Archives-Hash: 28ef0bf805b67be94727b94990189c9d This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------246b89b2422a434f38becb50ad72d207ced561149dc21bac2aaee27b6dc9a70e Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <11084ee6-a210-447b-a65c-a3e0a37dc9ad@victorivanov.io> Date: Fri, 15 Nov 2024 12:42:29 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: "gentoo-user at lists.gentoo.org" Content-Language: en-GB From: Victor Ivanov Subject: Migrating existing Gentoo to binpkg 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 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/portage/gnupg" set up correctly - no issues there. In make.conf I also added: FEATURES="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="-march=znver4 -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="-march=x86-64-v3 -O2 -pipe" or, perhaps: COMMON_FLAGS="-march=x86-64-v3 -mtune=znver4 -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=y @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=znver4" 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 --------246b89b2422a434f38becb50ad72d207ced561149dc21bac2aaee27b6dc9a70e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmc3QbYJEMuXJJI+vh0uFiEE59g+WZi8eZ7/aQNqy5ckkj6+ HS4AAM4/AP97Q/zsejhxBTX1l7M6rBH+aazF74gf54HMMO73OSzTsQD/eCXl OCRSCuIW/E73PDXp/5L966Tjb1LMUcjXwPWHhgI= =7TzV -----END PGP SIGNATURE----- --------246b89b2422a434f38becb50ad72d207ced561149dc21bac2aaee27b6dc9a70e--