From unknown Wed Jun 18 00:25:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56030 <56030@debbugs.gnu.org> To: bug#56030 <56030@debbugs.gnu.org> Subject: Status: The guix pull profile is too big Reply-To: bug#56030 <56030@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:25:58 +0000 retitle 56030 The guix pull profile is too big reassign 56030 guix submitter 56030 Julien Lepiller severity 56030 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 17 01:50:01 2022 Received: (at submit) by debbugs.gnu.org; 17 Jun 2022 05:50:02 +0000 Received: from localhost ([127.0.0.1]:43549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o24rp-0002Xc-9k for submit@debbugs.gnu.org; Fri, 17 Jun 2022 01:50:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:54524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o24rm-0002XN-Ia for submit@debbugs.gnu.org; Fri, 17 Jun 2022 01:50:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o24rd-000327-Lu for bug-guix@gnu.org; Fri, 17 Jun 2022 01:49:53 -0400 Received: from lepiller.eu ([89.234.186.109]:38580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o24rX-0004B3-Ry for bug-guix@gnu.org; Fri, 17 Jun 2022 01:49:49 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 036726c0 for ; Fri, 17 Jun 2022 05:48:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=dkim; bh=7V+FhLRhvlyt0ymhz9+gBqrwn qsCLqysaXjFm3U4Y60=; b=QOh3GqiEeQnWGI7AJvvz0yOqQ4j3GSHy7xaZcBI4G CpdciWt1v8lUAremWSE1ZEPhLQJqbwVnqPAnJxq9iztvsiRQg7QU8TNtqrk0hkXh ZSqtJVP3KYrkzFgGGlfWHkNBUS8tuCLXioHQjsDCtxplxSSuK39b9KHJZzFxFdXy gqn0Lkyy5TKUPcl00CdUsDFs4FakmMO8ws+qKEsdj1S0P/GtDAzNx2ONrH2gAnCb ZobykeMbnO6EY4NiGGQ1mawjSnrDswHMk21YTMIZcGKYf/gqmuNqD0ZFuSNVexO9 TimWVR+iQhhRqIoF302Xhjp1SPTL/OIyYFykaaTCFNyNw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 841d6743 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Fri, 17 Jun 2022 05:48:30 +0000 (UTC) Date: Fri, 17 Jun 2022 07:48:28 +0200 From: Julien Lepiller To: bug-guix@gnu.org Subject: The guix pull profile is too big User-Agent: K-9 Mail for Android Message-ID: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----OJMFAH88D55M4M081TLXKBTXP4E1B0 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=89.234.186.109; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) ------OJMFAH88D55M4M081TLXKBTXP4E1B0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Guix! I figured out this morning that my guix pull profile ("current") was more = than 1GB=2E Looking at the closure, I found a few oddities=2E There's gcc in there, which is the second most important contributor after= guix-*-modules (150 MB)=2E It's referenced by gcc-toolchain, itself only r= eferenced by the guile-wrapper we build in (guix self)=2E Can we get rid of= it? There are three versions of guile (50 MB each)=2E Can we settle for only o= ne? Then maybe less important because they're small: There are two libffi, gzip, zlib, libgc, bash-minimal, xz, pkg-config and = libunistring=2E We have bash-minimal and bash-static=2E The latter is a bit bigger than th= e former=2E Maybe we can keep only bash-minimal? ------OJMFAH88D55M4M081TLXKBTXP4E1B0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Guix!

I figured out this morning that = my guix pull profile ("current") was more than 1GB=2E Looking at the closur= e, I found a few oddities=2E

There's gcc in there, which is the seco= nd most important contributor after guix-*-modules (150 MB)=2E It's referen= ced by gcc-toolchain, itself only referenced by the guile-wrapper we build = in (guix self)=2E Can we get rid of it?

There are three versions of = guile (50 MB each)=2E Can we settle for only one?

Then maybe less im= portant because they're small:

There are two libffi, gzip, zlib, lib= gc, bash-minimal, xz, pkg-config and libunistring=2E

We have bash-mi= nimal and bash-static=2E The latter is a bit bigger than the former=2E Mayb= e we can keep only bash-minimal? ------OJMFAH88D55M4M081TLXKBTXP4E1B0-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 17:20:54 2022 Received: (at 56030) by debbugs.gnu.org; 26 Jun 2022 21:20:54 +0000 Received: from localhost ([127.0.0.1]:49258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Zgb-00049o-P0 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 17:20:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Zga-00049c-P4 for 56030@debbugs.gnu.org; Sun, 26 Jun 2022 17:20:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5ZgU-0006ha-IC; Sun, 26 Jun 2022 17:20:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=UfmVH864dnB9G9/1+TkPzoocSQkkJ6Ke597ly3veJ1s=; b=dtZZlnBdcFiJl1rJmk9z 30gq/jiaJlWKKvLzWyEp3N5yjWhx5RtPmGAuIf1pg9zlzqow7vhDOdAiN4pd7OAae3/xWh+djGGsQ X9kP+ousL1vHRVYy8B/xVU/g7QPZPRRwoU+nt4xdP89o44XLLbcVPd9r3aqJJj+AcXBsQ5bVGPm+E lrfoUUJnSsxtpjxXgY3MV79yVbNJfzA76Mg1aqDNWrPaEqW65KKl5z/gkMU5004oXZzgZOr04oNgC xgtmv7MSkQfksKTPJzbujPofIKRQFWGjZrN10swbjDyfT7tS9E4qLgwdDeHc1BpZahhGWmE7j6ED6 u8HME3KP5wwq3w==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58245 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5ZgU-0004NV-5I; Sun, 26 Jun 2022 17:20:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Julien Lepiller Subject: Re: bug#56030: The guix pull profile is too big References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> Date: Sun, 26 Jun 2022 23:20:44 +0200 In-Reply-To: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> (Julien Lepiller's message of "Fri, 17 Jun 2022 07:48:28 +0200") Message-ID: <87h747qfyr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 56030 Cc: 56030@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Hi, Julien Lepiller skribis: > I figured out this morning that my guix pull profile ("current") was more= than 1GB. Looking at the closure, I found a few oddities. Specifically: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 219 Jun 20 2022 09:40:20 (current) guix 73761d8 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 73761d8049f483e6685c2c736872d0366e03238a $ guix size $(readlink -f ~/.config/guix/current) store item total s= elf /gnu/store/rfkyfhdj3zq6lzlw7n0y5m36pdcfd2s7-guix-73761d804-modules 554.6 = 220.8 27.5% /gnu/store/249mczqf0jv55a7df9v3a3314mrwjg61-guix-packages-base 123.9 = 123.9 15.5% /gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8 130.0 = 53.0 6.6% /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7 129.1 = 52.0 6.5% /gnu/store/jv3gkqapz7fxgpjzp7g6rlpfl3fb2pq9-guix-system 51.2 = 51.2 6.4% /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33 38.3 = 36.6 4.6% /gnu/store/cwxfvi0890wwmhigk84iiq1dh64x0ac9-guix-packages-base-source 34= .2 34.2 4.3% /gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib 71.7 = 33.4 4.2% /gnu/store/3db8s5gn3srsdrzrdz4d0xpxpfhlb3h5-guix-extra 25.7 = 25.7 3.2% /gnu/store/bnsf9il448hl5xjavbhq3rcx355svz2v-glib-2.70.2 98.1 = 15.3 1.9% /gnu/store/mw3py6smb1pk8yx298hd9ivz9lzbksqi-glibc-utf8-locales-2.33 13.9= 13.9 1.7% /gnu/store/7nlzk7n90ib3llblxlpz725ym3k05gdj-util-linux-2.37.2-lib 80.7 = 9.0 1.1% /gnu/store/pyaxxsi4207awhpppqf1br6gl03k47pz-guix-package-cache 6.4 = 6.4 0.8% /gnu/store/cyx97f0bx4nki07l52jzw3lng0mzcdcv-guix-cli-core 6.4 = 6.4 0.8% /gnu/store/2rdmiv3k11qxz13fjq5bipljwjz0r6ws-guix-manual 6.0 = 6.0 0.8% /gnu/store/9rrnm5hdjw7cy96a2a9rfgh6y08wsbmf-ncurses-6.2.20210619 77.6 = 5.9 0.7% /gnu/store/zl9wf0zwq2ka9rpmayp53hnp2mn460xf-gnutls-3.7.2 143.4 = 5.6 0.7% /gnu/store/xgp23kc3v9w7l10grjwd0n1a74v3fhx3-openssl-1.1.1n 77.2 = 5.5 0.7% /gnu/store/il571kvl9fs08xag4hyg6x8hm57akscm-guile-git-0.5.2 100.5 = 5.2 0.6% /gnu/store/dyd5gaxzrngl6m9clniq5y1r7yl463h1-guix-system-tests 4.3 = 4.3 0.5% /gnu/store/fg76cjzdk413dfkx50fkcwd3wpbyfpi1-pcre2-10.37 84.6 = 4.0 0.5% /gnu/store/ffynx7n76vb5rby4b14yjcacqwq1w70h-mit-krb5-1.19.2 82.2 = 3.9 0.5% /gnu/store/v06gnr579r0jmr36aha3wkbd1y27ccg7-disarchive-0.4.0 139.1 = 3.8 0.5% /gnu/store/x1jd7pqfn9ilb6x97azcfq1fhjr63p0z-p11-kit-0.23.22 76.4 = 3.4 0.4% /gnu/store/xmzx5mzv4863yw9kmr2ykndgp37p8if0-sqlite-3.36.0 82.3 = 3.2 0.4% /gnu/store/x1x1sw727g7ls93av3i27mkd90s4wgd7-guix-home 3.2 = 3.2 0.4% /gnu/store/jkd4zlfq4rph31xazz132cf0skg6km00-guix-cli 3.1 = 3.1 0.4% /gnu/store/v8raqm2shh9azkl71107p53j55hir306-libxcb-1.14 75.3 = 3.0 0.4% /gnu/store/ssfq7hv5bhas830cs29fk271brcn3vqi-guile-lib-0.2.7 2.9 = 2.9 0.4% /gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34 75.6 = 2.9 0.4% /gnu/store/fa43ijbrb96x08621qigxxiphp503lsi-libx11-1.7.3.1 78.2 = 2.8 0.4% /gnu/store/fwbiihd2sbhai63y1pvvdh0f2bakfzrf-gmp-6.2.1 74.4 = 2.7 0.3% /gnu/store/yqr33jyy81fdqmr8rd4gvbpisbad2w2l-guix-extra-source 2.5 = 2.5 0.3% /gnu/store/4rqq5sl8n85ywfwqdv0f1xjaw9vhgl8k-guix-system-source 2.4 = 2.4 0.3% /gnu/store/hkhbq2q1gfs970gsp2nhsmcqb4vmv2xr-libunistring-0.9.10 74.0 = 2.3 0.3% /gnu/store/f058zn04xla5jndkhxl0s20pbl61bckq-guile-bytestructures-1.0.10 = 2.1 2.1 0.3% /gnu/store/n0sd9hghs18pjsj72023r1spa9wxccc2-libevent-2.1.12 73.8 = 2.1 0.3% /gnu/store/m7vwbbsy3pkpi4rpdnvr8m4jc8y36ckn-libgit2-1.3.0 95.4 = 2.0 0.2% /gnu/store/xggzgd4xwsy5p02wdfngk67j7zpp91gb-guile-ssh-0.15.1 144.9 = 1.9 0.2% /gnu/store/03g49nffc73vrmx5180p4fhr3z4mfk0z-avahi-0.8 111.8 = 1.7 0.2% /gnu/store/r08q5kq8hy5621y3yk0c7zrxb9s514z4-guix-locale-guix 1.7 = 1.7 0.2% /gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8 1.7 = 1.7 0.2% /gnu/store/di5bqb45hi5lvp2q08hlxqjdcl9phjb1-pcre-8.45 73.4 = 1.7 0.2% /gnu/store/wcwls45278gzpjvwlvrrs1y7h30g44xh-readline-8.1.1 79.0 = 1.4 0.2% /gnu/store/3kl94m3ksm45a880b6lnn3kagk857lj9-libgcrypt-1.8.8 75.1 = 1.4 0.2% /gnu/store/60jl4xry9c93j9l0rr7nkvbw7dihjz4k-guile-gcrypt-0.3.0 76.5 = 1.4 0.2% /gnu/store/3x3dl71d4xm6y4hjwq110hmfyfx0xc6j-zstd-1.5.0-lib 72.9 = 1.2 0.2% /gnu/store/2b3blhwbag1ial0dhxw7wh4zjxl0cqpk-pkg-config-0.29.2 72.8 = 1.1 0.1% /gnu/store/yl859fgb86zgl0zsvbhxdpms945aazip-dbus-1.12.20 79.6 = 1.1 0.1% /gnu/store/aggsb6j1svxp70xlll4rqnx5f2pzz794-xz-5.2.5 73.7 = 1.1 0.1% /gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5 73.7 = 1.1 0.1% [=E2=80=A6] /gnu/store/vjf3hvajws01wmm5rwbkgw7z0jvl6v3h-guix-command 788.6 = 0.0 0.0% /gnu/store/hsynjf6csram52x9ampnb90ysdbipdk2-emacs-subdirs 0.0 = 0.0 0.0% /gnu/store/yyqqi3kp61r9sjqhhay85in0h5s8dzs8-guix-daemon 789.4 = 0.0 0.0% total: 802.0 MiB --8<---------------cut here---------------end--------------->8--- 50% goes into Guix modules. There=E2=80=99s prolly room for improvement be= cause the =E2=80=98guix-COMMIT-modules=E2=80=99, which is #1, is actually the uni= on of all the other guix-*-modules. > There's gcc in there, which is the second most important contributor afte= r guix-*-modules (150 MB). It's referenced by gcc-toolchain, itself only re= ferenced by the guile-wrapper we build in (guix self). Can we get rid of it? I think you fixed that one in 319b8331b2357e12ec9edb9665513c32bef56622. \o/ > There are three versions of guile (50 MB each). Can we settle for only on= e? I think that=E2=80=99s (@ (gnu packages commencement) guile-final), guile-3= .0, and guile-3.0-latest. However I see only two of them here. --8<---------------cut here---------------start------------->8--- $ guix graph --path -t references $(readlink -f ~/.config/guix/current) /gn= u/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8 /gnu/store/njzk97pz238fcjjpjk2vzdv5rgs6s54v-profile /gnu/store/vp1m80lj2g6391xi95f056yra7xfb47i-guix-73761d804 /gnu/store/vjf3hvajws01wmm5rwbkgw7z0jvl6v3h-guix-command /gnu/store/1jgcbdzx2ss6xv59w55g3kr3x4935dfb-guile-3.0.8 $ guix graph --path -t references $(readlink -f ~/.config/guix/current) /gn= u/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7 /gnu/store/njzk97pz238fcjjpjk2vzdv5rgs6s54v-profile /gnu/store/vp1m80lj2g6391xi95f056yra7xfb47i-guix-73761d804 /gnu/store/yyqqi3kp61r9sjqhhay85in0h5s8dzs8-guix-daemon /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7 $ head -3 /gnu/store/yyqqi3kp61r9sjqhhay85in0h5s8dzs8-guix-daemon #!/gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/bin/guile --no-au= to-compile !# (begin (setenv "GUIX" "/gnu/store/vjf3hvajws01wmm5rwbkgw7z0jvl6v3h-guix-com= mand") (unless (getenv "GUIX_STATE_DIRECTORY") (setenv "GUIX_STATE_DIRECTOR= Y" "/var/guix")) (unless (getenv "GUIX_CONFIGURATION_DIRECTORY") (setenv "G= UIX_CONFIGURATION_DIRECTORY" "/etc/guix")) (unless (getenv "NIX_STORE_DIR")= (setenv "NIX_STORE_DIR" "/gnu/store")) (apply execl "/gnu/store/jmqzsqpgnx= rvzpdyx4dglvz9f40b81xm-guix-daemon-1.3.0-27.598f728/bin/guix-daemon" "guix-= daemon" (cdr (command-line)))) --8<---------------cut here---------------end--------------->8--- Fixed this one in commit d418031a8cbdea4e2bc5c52ea1b29ad369579bae. But then, =E2=80=98guile-3.0=E2=80=99 being the default, it=E2=80=99s used = in a number of places, like: --8<---------------cut here---------------start------------->8--- $ guix graph -t references --path /gnu/store/6f58rzr1xi8h43l6l8gsm4paravqnn= jz-guix-20220626.13 /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7 /gnu/store/6f58rzr1xi8h43l6l8gsm4paravqnnjz-guix-20220626.13 /gnu/store/00kkky8qxa73qv8g8y60y5gjz0l4hpmk-guix-command /gnu/store/m3pdqa0crnvblllvkdjbda42k0rwxn9c-guix-module-union /gnu/store/v06gnr579r0jmr36aha3wkbd1y27ccg7-disarchive-0.4.0 /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7 --8<---------------cut here---------------end--------------->8--- I can=E2=80=99t think of a good solution to this. > Then maybe less important because they're small: > > There are two libffi, gzip, zlib, libgc, bash-minimal, xz, pkg-config and= libunistring. > > We have bash-minimal and bash-static. The latter is a bit bigger than the= former. Maybe we can keep only bash-minimal? That=E2=80=99s probably due to the fact that there are multiple Guile varia= nts; annoying. It=E2=80=99s worth keeping in mind that thanks to deduplication, this costs= much less than it seems in terms of disk space, but it does cost in terms of bandwidth usage. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 10:52:52 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 14:52:52 +0000 Received: from localhost ([127.0.0.1]:38602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEXXo-0005Ga-6H for submit@debbugs.gnu.org; Thu, 21 Jul 2022 10:52:52 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:52508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEXXj-0005GN-Eh for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 10:52:51 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by laurent.telenet-ops.be with bizsmtp id xqsk2700Q20ykKC01qskuW; Thu, 21 Jul 2022 16:52:45 +0200 Message-ID: Date: Thu, 21 Jul 2022 16:52:44 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: Julien Lepiller , 56030@debbugs.gnu.org References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> From: Maxime Devos Subject: Re: bug#56030: The guix pull profile is too big In-Reply-To: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0MoVAEIa0KFQOPBGHHEwECw5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1658415165; bh=F7ELwsFEuRBq3mRiU8hURc52w4tpVQfDXaxL0r+49Us=; h=Date:To:References:From:Subject:In-Reply-To; b=ITgiiPDULBL4oJe39Q8w0pexNEURXdX4Sa6HVjtFKTVoeX8+40nkxu2u3jnm/2v3s JbCkgzu4FYPGWazeSvcymlaQ8DOBIFV2ii0P7Q+RYf5Dj2pqnxoYZAYtr2ogN033tj vjpeCPR2142lAj64EO+ptXw06FIMfU2z9G9LZFVAdf2wVTf4s5MRgdNaorcUX452cN 4F5ORNQ7NG5kmA0tyShdUQ8V5jX+WFupdVJ/qB/KnySBfaI5rcQJhFFepanwVOlQcg //yPVdnvQ+jCHFtWJBqef17v7v67WaeCeyIWw3gM7iNAv/3iJyf/gOk9h7fTnSs6h1 pWxkOMfZ/yqEA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------0MoVAEIa0KFQOPBGHHEwECw5 Content-Type: multipart/mixed; boundary="------------UrBvSBQ1oHVLb4HAC0Y2hRtF"; protected-headers="v1" From: Maxime Devos To: Julien Lepiller , 56030@debbugs.gnu.org Message-ID: Subject: Re: bug#56030: The guix pull profile is too big References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> --------------UrBvSBQ1oHVLb4HAC0Y2hRtF Content-Type: multipart/mixed; boundary="------------mOcseaN9eS9cchJXX90fOi10" --------------mOcseaN9eS9cchJXX90fOi10 Content-Type: multipart/alternative; boundary="------------UMbJNYIYfJ9p4Kh2nPyj0HY0" --------------UMbJNYIYfJ9p4Kh2nPyj0HY0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAxNy0wNi0yMDIyIDA3OjQ4LCBKdWxpZW4gTGVwaWxsZXIgd3JvdGU6DQo+IFdlIGhh dmUgYmFzaC1taW5pbWFsIGFuZCBiYXNoLXN0YXRpYy4gVGhlIGxhdHRlciBpcyBhIGJpdCBi aWdnZXIgdGhhbiANCj4gdGhlIGZvcm1lci4gTWF5YmUgd2UgY2FuIGtlZXAgb25seSBiYXNo LW1pbmltYWw/IA0KDQpiYXNoLXN0YXRpYyBpcyB1c2VkIGJ5IGdsaWJjIChmb3IgdGhlICdz eXN0ZW0nIGZ1bmN0aW9uKSwgaXQncyBub3QgDQpzb21ldGhpbmcgdGhhdCBjYW4gc2ltcGx5 IGJlIHJlcGxhY2VkIHdpdGggYmFzaC1taW5pbWFsIChkdWUgdG8gdGhlIA0KY3ljbGUgYmFz aC1taW5pbWFsIC0+IGdsaWJjIC0+IGJhc2gtbWluaW1hbCB0aGF0IHdvdWxkIHJlc3VsdCku IEkgZG8gDQpoYXZlIGEgcHJvcG9zYWwgZWxpbWluYXRpbmcgdGhlIGJhc2gtc3RhdGljIHJl ZmVyZW5jZSB0aG91Z2g6DQoNCiAgKiByZXBsYWNlIHRoZSAnc3lzdGVtJyBmdW5jdGlvbiBm cm9tIGdsaWJjIGJ5IGEgdmFyaWFudCB0aGF0IGFjY2VwdHMNCiAgICB0aGUgZmlsZSBuYW1l IG9mIHRoZSBzaGVsbCBleGVjdXRhYmxlDQogICogQWRkIGEgbWFjcm8gJyNkZWZpbmUgc3lz dGVtIC4uLicgdGhhdCBjYWxscyB0aGlzIHZhcmlhbnQgYW5kIGluc2VydHMNCiAgICBfX2d1 aXhfYmluX3NoIGFzIHRoZSBzaGVsbCBleGVjdXRhYmxlDQogICogSW4gdGhlIGJ1aWxkIHN5 c3RlbSwgbG9vayBmb3IgYmluL3NoIGluIHRoZSBpbnB1dHMuwqAgSWYgaXQgZXhpc3RzLA0K ICAgIGFkZCAtRF9fZ3VpeF9iaW5fc2g9L2dudS9zdG9yZS8uLi4vYmluL3NoIHRvDQogICAg Q0ZMQUdTIG9yIHN1Y2guDQoNCkdyZWV0aW5ncywNCk1heGltZQ0KDQo= --------------UMbJNYIYfJ9p4Kh2nPyj0HY0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 17-06-2022 07:48, Julien Lepiller wrote:
We have bash-minimal and bash-static. The latter is a bit bigger than the former. Maybe we can keep only bash-minimal?

bash-static is used by glibc (for the 'system' function), it's not something that can simply be replaced with bash-minimal (due to the cycle bash-minimal -> glibc -> bash-minimal that would result). I do have a proposal eliminating the bash-static reference though:

  • replace the 'system' function from glibc by a variant that accepts the file name of the shell executable
  • Add a macro '#define system ...' that calls this variant and inserts __guix_bin_sh as the shell executable
  • In the build system, look for bin/sh in the inputs.=C2=A0 If it= exists, add -D__guix_bin_sh=3D/gnu/store/.../bin/sh to
    CFLAGS or such.

Greetings,
Maxime

--------------UMbJNYIYfJ9p4Kh2nPyj0HY0-- --------------mOcseaN9eS9cchJXX90fOi10 Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------mOcseaN9eS9cchJXX90fOi10-- --------------UrBvSBQ1oHVLb4HAC0Y2hRtF-- --------------0MoVAEIa0KFQOPBGHHEwECw5 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYtloPAUDAAAAAAAKCRBJ4+4iGRcl7vyN AQCWcbKkB5F0LrboacJbEdjKv31z7q2ZAzOcQ4iqxevjfgD+I4kQ3tr5ZNmHdCFg7kcmw2WEM6es mHX6Ii8Yz3eF7gI= =0c8k -----END PGP SIGNATURE----- --------------0MoVAEIa0KFQOPBGHHEwECw5-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:04:09 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:04:09 +0000 Received: from localhost ([127.0.0.1]:38611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEXii-0005ac-Sr for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:04:09 -0400 Received: from knopi.disroot.org ([178.21.23.139]:33366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEXig-0005aS-Ot for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:04:07 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3F3CD40DDC; Thu, 21 Jul 2022 17:04:05 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id hzyvk-6xtbCx; Thu, 21 Jul 2022 17:04:03 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658415800; bh=2/18bGfoq+QgHPuAmUkE+DwWjhMWe8+CqDowYTXCBfQ=; h=Date:To:Subject:From:References:In-Reply-To; b=S4cYbe4JcH+a3qKN4syh60aH526Y7qxoSnP4yLAaULNT1mJbtaJ+vckjv7TOWHrmS 4TfSBVWTZyiG/ng6IsDYtzagspsL89sqRt8mpNyy+LRQ0ZtxO4xYbFt0ORbjeUbkXE bL3x55RemBvBqi/Cg5edwDQx2B1q0ssbh33fPFuhs792AuJNtf1865Y2USNhxH/zY/ bH3BM3bhVHpV5M6vB//kZjwDzk2k5cXF9v8FQXcykUxfZr3+Mt6jiUvEX6KY1WaZmV 5w8NAdZ64ivBnMtB1ZRXUkihWwBpxL5O1ai9WADMhuY4YEP1H+X+Hjk9l5BzZZUuCe DHztGbPb/v7RA== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 16:03:19 +0100 Message-Id: To: "Maxime Devos" , "Julien Lepiller" , <56030@debbugs.gnu.org> Subject: Re: bug#56030: The guix pull profile is too big From: "(" References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu Jul 21, 2022 at 3:52 PM BST, Maxime Devos wrote: > * Add a macro '#define system ...' that calls this variant and inserts > __guix_bin_sh as the shell executable Would this not violate POSIX? Since, as far as I can see, does not give the implementation license to implement system(3) as a macro. We could do ``` int system(const char *command) { return __guix_run_in_shell(command, __guix_bin_sh); } ``` though. -- ( From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:12:19 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:12:19 +0000 Received: from localhost ([127.0.0.1]:38621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEXqd-0005no-3C for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:12:19 -0400 Received: from knopi.disroot.org ([178.21.23.139]:57268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEXqb-0005nd-FY for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:12:18 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 02E4040E1E; Thu, 21 Jul 2022 17:12:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id XlU5Q_gG_1i9; Thu, 21 Jul 2022 17:12:14 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658416316; bh=Xh3oPpyOiavgZXKUr65szSvzcLhMse7I5HNbZ3MF0vg=; h=Date:To:Subject:From:References:In-Reply-To; b=Syxz9GrtM+H0FOogZDe0JpMpRqtG7puDjqR//Gu/WJaQFARUBUlBPdNlEwTvTgnS6 TZrUo/+yPvxGH+DNdc1kBgQM8pnjmTlBwJfpi18d0+Bpu8NyRh/W/fyApBJ3W3w5IF dtBCffleXWKDt+QLDGKcACNeBhR09qX4cK8qmagEtBtEC3iqteebk7YrF6tN4cL6bW KK7xCXUPWcSo4zV4jHF0nFge+93mcw9R5XGbb4T9Ie1noLalvXSfSK+w3FlGaZpDr6 xMRr3Tp20XcDYnkfeSqA11SfLQwVC4yukldiEpJlRf1AM/VR+3XNfBlnYixwqv0TOn OD1iOu2NYcA3Q== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 16:11:56 +0100 Message-Id: To: "Maxime Devos" , "Julien Lepiller" , <56030@debbugs.gnu.org> Subject: Re: bug#56030: The guix pull profile is too big From: "(" References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) And considering the definition of system(3) in glibc: @ sysdeps/posix/system.c (took me way too long to find this; glibc's source code is a maze ;)) ``` #define SHELL_PATH "/bin/sh" /* Path of the shell. */ #define SHELL_NAME "sh" /* Name to give it. */ ``` couldn't we just use `-DSHELL_PATH=3D/gnu/store/...`? -- ( From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:38:44 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:38:44 +0000 Received: from localhost ([127.0.0.1]:38687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYGC-0000GO-Je for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:38:44 -0400 Received: from knopi.disroot.org ([178.21.23.139]:44776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYGA-0000GE-4L for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:38:42 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id DF43440DBC; Thu, 21 Jul 2022 17:38:40 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QaggPv-NOURb; Thu, 21 Jul 2022 17:38:40 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658417919; bh=at0rQdGnpgXgzEIgDDi2LAsma7vBB/I2ES4vigI1h6Q=; h=Date:Subject:From:To:References:In-Reply-To; b=OeNDB/HhIcpbiyq+KFx0CwwxLU4/xarteff2ifFRSbrXJzOycgSzpNt8+htW1ZYHu 4uUQbZ/UVjLWkFZm76RLhVrKQwLFBXp2gJOQfnUzaGqU/xgHfh10gk8J7V+gQfn/0h qpO0jD0tarKC3JbntChu9FlBilXM+EPeCNNXEP0FtR1JRksvLnmLO2zD/qXOcN81Bw CwybqO4jz59Ni+Anqi+QD7Fvk7rapiQSr+TXMp8PgnHi4v1LFUa5FPmhrTKjXw27tk CUJH9ejWbpf/fT8jEtrJGIptpXurEi7+BwwqQV6IvaS0CfOtPvV5YyKsHxecd8KtBv OO/tlHpzqmfbg== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 16:38:39 +0100 Message-Id: Subject: Re: bug#56030: The guix pull profile is too big From: "(" To: "(" , "Maxime Devos" , "Julien Lepiller" , <56030@debbugs.gnu.org> References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu Jul 21, 2022 at 4:03 PM BST, paren--- via Bug reports for GNU Guix w= rote: > Would this not violate POSIX? Correction: system(3) is ISO C, not POSIX. But: @ C11 7.1.4p1 ``` ... it is permitted to take the address of a library function even if it is also defined as a macro ^185 ... 185) This means that an implementation shall provide an actual function for each library function, even if it also provides a macro for that function. ``` Note the footnote. So this technically would be a violation of ISO C, but trivially fixed. Apologies for the noise! (Though the SHELL_PATH solution still applies, of course.) -- ( From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:42:50 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:42:50 +0000 Received: from localhost ([127.0.0.1]:38696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYKA-0000NY-J5 for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:42:50 -0400 Received: from lepiller.eu ([89.234.186.109]:44826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYK5-0000NI-7j for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:42:50 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f5d3f680; Thu, 21 Jul 2022 15:42:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=2r9GIxzF9nbD 7BAu31fnnVkOe8CYXGYayYqk0sEP5Ss=; b=fySvbHiFI1BlkH1spEHssKr7lk5v /21n/bWYnfbJu5xbGCTHJVQfefr51agQm0ZULBijZhpi4epjyy1IDvPQdNk2fqt1 11MNlCkJjICTROGaHuxY0H67DnjDYSdJzaHDpFTGhrAsCArZRDWwYW3kVHGHzMds PjaouITrtrrPAKksMzNw+dk7IiH3s0UbKpCea/D8j52i++cAVP2H0gX0N/Nt9max fmzcRaSWBq76INEbXsHiWcVgY2VPCm161Hyn59p5nEFa6N4oSviZhDGXqA+2OQA7 w+iLqGboznAolUX2h1iKbWr14hKUUQpJwNJCJ3L3ThKvBl8R0EyOumL30g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 71b9ab35 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 21 Jul 2022 15:42:42 +0000 (UTC) Date: Thu, 21 Jul 2022 17:42:36 +0200 From: Julien Lepiller To: "(" , Maxime Devos , 56030@debbugs.gnu.org Subject: Re: bug#56030: The guix pull profile is too big User-Agent: K-9 Mail for Android In-Reply-To: References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----GN71ELZSYU7IZAKOKLI72XO2WDXGY5 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------GN71ELZSYU7IZAKOKLI72XO2WDXGY5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable We're trying to avoid hard-coding bash-static in glibc, instead letting the= build-system fill the value in dependents=2E So that can't be it, right? Le 21 juillet 2022 17:11:56 GMT+02:00, "(" a =C3=A9c= rit=C2=A0: > >And considering the definition of system(3) in glibc: > >@ sysdeps/posix/system=2Ec (took me way too long to find this; glibc's >source code is a maze ;)) >``` >#define SHELL_PATH "/bin/sh" /* Path of the shell=2E */ >#define SHELL_NAME "sh" /* Name to give it=2E */ >``` > >couldn't we just use `-DSHELL_PATH=3D/gnu/store/=2E=2E=2E`? > > -- ( ------GN71ELZSYU7IZAKOKLI72XO2WDXGY5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable We're trying to avoid hard-coding bash-static in g= libc, instead letting the build-system fill the value in dependents=2E So t= hat can't be it, right?

Le 21 juillet 202= 2 17:11:56 GMT+02:00, "(" <paren@disroot=2Eorg> a =C3=A9crit=C2=A0:

And considering the definition of s= ystem(3) in glibc:

@ sysdeps/posix/system=2Ec (took me way too long = to find this; glibc's
source code is a maze ;))
```
#define SHELL_= PATH "/bin/sh" /* Path of the shell=2E */
#define SHELL_NAME "sh" /* N= ame to give it=2E */
```

couldn't we just use `-DSHELL_PATH=3D/g= nu/store/=2E=2E=2E`?

-- (
------GN71ELZSYU7IZAKOKLI72XO2WDXGY5-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:46:43 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:46:43 +0000 Received: from localhost ([127.0.0.1]:38701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYNv-0000UE-5t for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:46:43 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:50416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYNs-0000U1-Qs for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:46:42 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by albert.telenet-ops.be with bizsmtp id xrme2700E20ykKC06rmeLB; Thu, 21 Jul 2022 17:46:39 +0200 Message-ID: <22b12576-51f2-2396-a52c-b6956ecd88b5@telenet.be> Date: Thu, 21 Jul 2022 17:46:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: "(" , Julien Lepiller , 56030@debbugs.gnu.org References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> From: Maxime Devos Subject: Re: bug#56030: The guix pull profile is too big In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------V0z3s8X39wsGqKVacAEBfSlL" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1658418399; bh=iN3w3PHxGi7IztuCOehFSNa43q1Vol5OuxNgvCVrRj0=; h=Date:To:References:From:Subject:In-Reply-To; b=JPPRr/J/GiJytz1/pTkDl/Y4d0jUfVTqPsjM1L7zqrZVEQKGLbVykctKqp2JLB8Vd ufEhNjzi01IJO7Qd8YkWoTo4gM4z0puhks/uBGfR6YxD9yhghScTRXGO0jgsl9tw9P Q06fq2HaBJVJaseoT+5GiigzmORjrz8fy6Ao62K4GlxCSGYLnyDrUyABi+ja66WjIC QzxmoQtRAwgyJw3kMQgQgZv1QQBv7QbF6GO76icwpeTkWGMd9DOjd5GjCy71R74rHJ AiEtnjDd/xxaz4R8tUUCmsHoMMLxn7XXSkN8Ep94Es9+pbwNOJvbMiLxr5/3D8Xw0b ZjXPNxW9rsthw== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------V0z3s8X39wsGqKVacAEBfSlL Content-Type: multipart/mixed; boundary="------------CZfjvsdSOvFlBMQmpePG0HGQ"; protected-headers="v1" From: Maxime Devos To: "(" , Julien Lepiller , 56030@debbugs.gnu.org Message-ID: <22b12576-51f2-2396-a52c-b6956ecd88b5@telenet.be> Subject: Re: bug#56030: The guix pull profile is too big References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: --------------CZfjvsdSOvFlBMQmpePG0HGQ Content-Type: multipart/mixed; boundary="------------HWEvooIPlURTFmdWJftdq5sl" --------------HWEvooIPlURTFmdWJftdq5sl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAyMS0wNy0yMDIyIDE3OjExLCAoIHdyb3RlOg0KPiBjb3VsZG4ndCB3ZSBqdXN0IHVz ZSBgLURTSEVMTF9QQVRIPS9nbnUvc3RvcmUvLi4uYD8NCg0KVXNpbmcgU0hFTExfUEFUSCBp bnN0ZWFkIG9mIHRoZSBfX2d1aXhfYmluX3NoIHNvdW5kcyBiZXR0ZXIsIHllcy7CoCBCdXQg DQppdCdzIG5vdCAnanVzdCB1c2UgLURTSEVMTF9QQVRIPScsIHdlIHN0aWxsIG5lZWQgdG8g Y2hhbmdlICdzeXN0ZW0nIA0KYXBwcm9wcmlhdGVseS4NCg0KPiBXb3VsZCB0aGlzIG5vdCB2 aW9sYXRlIFBPU0lYPyBTaW5jZSwgYXMgZmFyIGFzIEkgY2FuIHNlZSwNCj4gPGh0dHBzOi8v cHVicy5vcGVuZ3JvdXAub3JnL29ubGluZXB1YnMvOTY5OTkxOTc5OS9mdW5jdGlvbnMvc3lz dGVtLmh0bWw+DQo+IGRvZXMgbm90IGdpdmUgdGhlIGltcGxlbWVudGF0aW9uIGxpY2Vuc2Ug dG8gaW1wbGVtZW50IHN5c3RlbSgzKSBhcyBhDQo+IG1hY3JvLg0KUHJvYmFibHkuIEJ1dCBk b2VzIHRoYXQgcmVhbGx5IG1hdHRlcj/CoCBUaGUgc3RhbmRhcmQgZXhpc3RzIGZvciBhIA0K cmVhc29uLCBidXQgd2UgYXJlbid0IGFpbWluZyBmb3IgUE9TSVggY2VydGlmaWNhdGlvbnMg YW5kIGl0IGlzbid0IHRoZSANCmxhdyBvciBzb21ldGhpbmcgLi4uIHNlZW1zIHJhdGhlciBp bmNvbnZlbmllbnQgZm9yIGRldmVsb3BtZW50IG91dHNpZGUgYSANCmJ1aWxkIGVudmlyb25t ZW50IHRob3VnaCwgc28gcGVyaGFwcyBTSEVMTF9QQVRIIGNvdWxkIHNvbWVob3cgZmFsbGJh Y2sgDQp0byAvYmluL3NoIHdoZW4gb3V0c2lkZSBhIGJ1aWxkIGVudmlyb25tZW50Lg0KPiAg IFdlIGNvdWxkIGRvDQo+DQo+IGBgYA0KPiBpbnQgc3lzdGVtKGNvbnN0IGNoYXIgKmNvbW1h bmQpIHsNCj4gCXJldHVybiBfX2d1aXhfcnVuX2luX3NoZWxsKGNvbW1hbmQsIF9fZ3VpeF9i aW5fc2gpOw0KPiB9DQoNCk5lZWRzIGEgJ3N0YXRpYycgdG8gYXZvaWQgbXVsdGlwbGUgZGVm aW5pdGlvbnMgb24gdGhlIHNhbWUgdGhpbmcsIGJ1dCANCnllcywgdGhhdCB3b3VsZCBhdm9p ZCB0aGUgbWFjcm8gcHJvYmxlbSAodGhvdWdoIG5vdCBzdWZmaWNpZW50IGZvciBzb21lIA0K RkZJKS4NCg0KR3JlZXRpbmdzLA0KTWF4aW1lLg0KDQo= --------------HWEvooIPlURTFmdWJftdq5sl Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------HWEvooIPlURTFmdWJftdq5sl-- --------------CZfjvsdSOvFlBMQmpePG0HGQ-- --------------V0z3s8X39wsGqKVacAEBfSlL Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYtl03gUDAAAAAAAKCRBJ4+4iGRcl7gyl AP9wYmW433qH2Wx1Nx6RwJGicS5B9uEzdROOhb+8QLRCegD+JUZNUn4aDFPfd/EGr01OzHugNg1w zQsLLawSi4yNlg4= =v5o0 -----END PGP SIGNATURE----- --------------V0z3s8X39wsGqKVacAEBfSlL-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:48:24 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:48:24 +0000 Received: from localhost ([127.0.0.1]:38705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYPY-0000Zi-KE for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:48:24 -0400 Received: from knopi.disroot.org ([178.21.23.139]:60720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYPW-0000ZY-ER for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:48:23 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 133BC40DA3; Thu, 21 Jul 2022 17:48:21 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRWwipwjpoYt; Thu, 21 Jul 2022 17:48:20 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658418500; bh=YDSspCPAbn/sYOQgl88E9pUaH9JnCBt10Ub1Fju+kGI=; h=Date:From:To:Subject:References:In-Reply-To; b=M8Ln0EnJeXb2ToJCvzPmnBGPybR5sMhUT7+K+9PzUSzeGRBcK4I6huHuO/bvIHwwV V+HVqdj3CsqCpmeGqmBFzAPeO2i+z7fXGZRHa4DKkL/aVs2ZMOTIT8pXi2FBYPN388 m+l8G+n7GT78ztDwPJbGA1Tf0LVIo9KLvhYFBI6aA0+YDXRN1nvbglXgcjviPAyJbg 6C+EcfNOjw4t8aPg7PAWftaSAeAjnS4NMToT0qVzXKvpBemxFly/NbaChZjmdsexO9 y2w4g/N+4eal7gSnGqxJdbRB4OrpcfTf82POnO2Gd09Hk92jOp1+cy0+wNSANbuOpr m+mUD+02k6ikQ== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 16:48:19 +0100 Message-Id: From: "(" To: "Julien Lepiller" , "Maxime Devos" , <56030@debbugs.gnu.org> Subject: Re: bug#56030: The guix pull profile is too big References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu Jul 21, 2022 at 4:42 PM BST, Julien Lepiller wrote: > We're trying to avoid hard-coding bash-static in glibc, instead letting t= he build-system fill the value in dependents. So that can't be it, right? How would it be any different from -D__guix_bin_sh=3D...? That argument would simply be filled in by the build system. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:49:42 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:49:42 +0000 Received: from localhost ([127.0.0.1]:38709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYQn-0000bs-VE for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:49:42 -0400 Received: from knopi.disroot.org ([178.21.23.139]:50584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYQl-0000bk-Qo for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:49:40 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4142040DAD; Thu, 21 Jul 2022 17:49:39 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yLsAlQL6f73m; Thu, 21 Jul 2022 17:49:38 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658418576; bh=2q6cdmv8P5wSHBLhn0/QAwhNW8cYdriRbI6SOFYav0c=; h=Date:Subject:From:To:References:In-Reply-To; b=EaHcwutMIDt71OCABZk8g3tUBo9OS8OuJKs/RP8eK63AiOqfXdgSoK8bUVk76Gruk HUJDmeTNIGePP1SYEV79YKh4NjdE/J0WkJW7kakgeHuz4UH7UB13dVZHr3SPwIu3Cm Yau4RiSgXqOb8z0PzGYQrTq+xyzApZbIBd0NBkl9Pky7PiVtZ0i73bHzTEtDKKo4w4 4snxLWZu6DpmhzElDgllh8S+NcVg6/vBj5Hay7IQkhD/nbaJ9fgKRR9OZJ+Bw22+cb 54zhUFOJMzaJpNpGPjMYi7cSUdfWRIgH++hWjXISpo3aZ/CWMMGJYdnMMqcMx/QMX3 W5WpxTPY+hQuA== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 16:49:36 +0100 Message-Id: Subject: Re: bug#56030: The guix pull profile is too big From: "(" To: "Maxime Devos" , "Julien Lepiller" , <56030@debbugs.gnu.org> References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <22b12576-51f2-2396-a52c-b6956ecd88b5@telenet.be> In-Reply-To: <22b12576-51f2-2396-a52c-b6956ecd88b5@telenet.be> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu Jul 21, 2022 at 4:46 PM BST, Maxime Devos wrote: > Using SHELL_PATH instead of the __guix_bin_sh sounds better, yes.=C2=A0 B= ut=20 > it's not 'just use -DSHELL_PATH=3D', we still need to change 'system'=20 > appropriately. Why would we need to change it? The glibc definition already uses that macro for the shell path, it's just hard-coded to /bin/sh by default. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:52:35 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:52:35 +0000 Received: from localhost ([127.0.0.1]:38713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYTb-0000gr-Dz for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:52:35 -0400 Received: from lepiller.eu ([89.234.186.109]:44838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYTY-0000gg-NL for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:52:33 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 5d792354; Thu, 21 Jul 2022 15:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=XIPCOd5vhYu/ BI20la1YfiiG3Wn99c8ZbGamNRDn8fE=; b=PCHYd5F1Yz+HhoUwqhDatLl2wsVn EJOQlDxw7ORqvdV31UmZnuhNW4xihcrOYnCgqJq9soWktQTPt2ZvwSY56RPFPpYj r06M/mebRPAtpDIGwkxWkeEOwuon7XOLj+Sc0omFtlDrw191Bj8/T1CWldM3Dh1e khXBe8/CWjKFDVqnMq2L1ug74r5jtmV4Zi2z3cyi+FduB5WJP+qNEK6RxScUCo38 vQS9Wax8GH+CZpY/Kvp7dQ5Rr9knfQRCGcX/04n2gIAyem+vauwtkpSxWilP/ceb PYVrz1bUNQNnH7UUbgo+7AIBK0eUJ7jnRKm4V9aNdTPsCNj+ErxAUvZ3kw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id e48a9c85 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 21 Jul 2022 15:52:29 +0000 (UTC) Date: Thu, 21 Jul 2022 17:52:25 +0200 From: Julien Lepiller To: "(" , Maxime Devos , 56030@debbugs.gnu.org Subject: Re: bug#56030: The guix pull profile is too big User-Agent: K-9 Mail for Android In-Reply-To: References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <22b12576-51f2-2396-a52c-b6956ecd88b5@telenet.be> Message-ID: <3D5439F2-F6AE-4F19-9254-16E5BD7440DC@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----HS5FVLPYMMULRM00OT84B74P7L8Y7N Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------HS5FVLPYMMULRM00OT84B74P7L8Y7N Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I must have misunderstood, I thought you wanted to pass it during the build= of glibc=2E Le 21 juillet 2022 17:49:36 GMT+02:00, "(" a =C3=A9c= rit=C2=A0: >On Thu Jul 21, 2022 at 4:46 PM BST, Maxime Devos wrote: >> Using SHELL_PATH instead of the __guix_bin_sh sounds better, yes=2E=C2= =A0 But=20 >> it's not 'just use -DSHELL_PATH=3D', we still need to change 'system'= =20 >> appropriately=2E >Why would we need to change it? The glibc definition already uses that >macro for the shell path, it's just hard-coded to /bin/sh by default=2E ------HS5FVLPYMMULRM00OT84B74P7L8Y7N Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I must have misunderstood, I thought you wanted to= pass it during the build of glibc=2E

Le = 21 juillet 2022 17:49:36 GMT+02:00, "(" <paren@disroot=2Eorg> a =C3= =A9crit=C2=A0:
On Thu Jul 21, 2022 at 4:46 PM BST, Max=
ime Devos wrote:
Using = SHELL_PATH instead of the __guix_bin_sh sounds better, yes=2E  But it's not 'just use -DSHELL_PATH=3D', we still need to change 'system'
= appropriately=2E
Why would we need to change it? The glibc = definition already uses that
macro for the shell path, it's just hard-co= ded to /bin/sh by default=2E
------HS5FVLPYMMULRM00OT84B74P7L8Y7N-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:52:53 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:52:53 +0000 Received: from localhost ([127.0.0.1]:38716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYTs-0000hL-Th for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:52:53 -0400 Received: from knopi.disroot.org ([178.21.23.139]:33900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYTr-0000hE-Sf for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:52:52 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3919340DAB; Thu, 21 Jul 2022 17:52:51 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id nGCklviD7G7E; Thu, 21 Jul 2022 17:52:50 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658418769; bh=dbdEChdBLWv8ewxfVUg5EUwc7V/DbSDqv9gZd8LmzpE=; h=Date:Subject:From:To:References:In-Reply-To; b=AEY0C0hSh0V5IYWZVzFuzUPtpLE/bhnc2AM7WjKpvPErmB2qexf3CYOXgM8ICBkW8 H4O1poONaTQPnL+1JnccTBFyCLOStzpjWApKAPKFkYPxH4QQpH9lVVQXWLQ+j86qvd hxRyEuFeVvO618s3Akx+NyALEk/UAl70Za/43WTI5abuA/kvZzIZ9TXuMqqxSzPrR8 5oPM1ZV3g5oyYDFHOIMEseD3eQAYdc0PMrzTh8m62QipLFbm5vtY4A2O1AzsnYsmK2 JWLIRRsXumEz1HLOTvhn+WGvAwk494rsAz8lx3T+6CeLuxKOSAHgtiNdlz4RaLF6Zf +ihDnVZjIu1zQ== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 16:52:48 +0100 Message-Id: Subject: Re: bug#56030: The guix pull profile is too big From: "(" To: "(" , "Julien Lepiller" , "Maxime Devos" , <56030@debbugs.gnu.org> References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Oh! I understand now! The __guix_bin_sh macro would actually be included in the expansion, not defined during the glibc build. Sorry (again) for the noise! -- ( From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 11:53:30 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 15:53:30 +0000 Received: from localhost ([127.0.0.1]:38722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYUU-0000im-8h for submit@debbugs.gnu.org; Thu, 21 Jul 2022 11:53:30 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:50054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYUR-0000ic-R0 for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 11:53:28 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by laurent.telenet-ops.be with bizsmtp id xrtN2700520ykKC01rtNWU; Thu, 21 Jul 2022 17:53:24 +0200 Message-ID: Date: Thu, 21 Jul 2022 17:53:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: bug#56030: The guix pull profile is too big Content-Language: en-US To: "(" , Julien Lepiller , 56030@debbugs.gnu.org References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <22b12576-51f2-2396-a52c-b6956ecd88b5@telenet.be> From: Maxime Devos In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------1XDFWb04BM0Ga8umx0fyi0lo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1658418804; bh=7xWluhhkx8aXdbbFMisWlEZXins5q2lWFLk5EdugtQA=; h=Date:Subject:To:References:From:In-Reply-To; b=SxccmqyAAlN98Xtbst/BEXU3vbl63VHFRRXpxyBKdygvyTHJa16W7pq85ZdMUT1fP y0rYWN2u3bzxH9TVA0IVuD38ucpfTIrVUAF2rM89pN+Rvg0hGi6URRSzKRKEpE6vVK dGOHkt8qgC6NFAh/zNH4yoWkfskal4UhdfKcFS3XE+T49Wb4eCo8uKRdviTOsveOJF tkaI0Tw6uq9XXCHVQ4bYN8y4kGfhJyE0NCuHGYnc+8ymm1NBh0RNHSF+stSv7JY72Z qjBxWtuqC05iU8TCjwVIex6J8CfwRuASA7sn+RGX8zj6HYVM2Q31DLNTtUP1l/oZUA 9LSLuslsOLUgA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------1XDFWb04BM0Ga8umx0fyi0lo Content-Type: multipart/mixed; boundary="------------cyOHOk9ezb354lBDoxn0TaWG"; protected-headers="v1" From: Maxime Devos To: "(" , Julien Lepiller , 56030@debbugs.gnu.org Message-ID: Subject: Re: bug#56030: The guix pull profile is too big References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <22b12576-51f2-2396-a52c-b6956ecd88b5@telenet.be> In-Reply-To: --------------cyOHOk9ezb354lBDoxn0TaWG Content-Type: multipart/mixed; boundary="------------1FVTaAfAUtRFBz3XVtTD1P9k" --------------1FVTaAfAUtRFBz3XVtTD1P9k Content-Type: multipart/alternative; boundary="------------STGYZgi06yIIGw0kX22oJHJm" --------------STGYZgi06yIIGw0kX22oJHJm Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAyMS0wNy0yMDIyIDE3OjQ5LCAoIHdyb3RlOg0KPiBPbiBUaHUgSnVsIDIxLCAyMDIy IGF0IDQ6NDYgUE0gQlNULCBNYXhpbWUgRGV2b3Mgd3JvdGU6DQo+PiBVc2luZyBTSEVMTF9Q QVRIIGluc3RlYWQgb2YgdGhlIF9fZ3VpeF9iaW5fc2ggc291bmRzIGJldHRlciwgeWVzLsKg IEJ1dA0KPj4gaXQncyBub3QgJ2p1c3QgdXNlIC1EU0hFTExfUEFUSD0nLCB3ZSBzdGlsbCBu ZWVkIHRvIGNoYW5nZSAnc3lzdGVtJw0KPj4gYXBwcm9wcmlhdGVseS4NCj4gV2h5IHdvdWxk IHdlIG5lZWQgdG8gY2hhbmdlIGl0PyBUaGUgZ2xpYmMgZGVmaW5pdGlvbiBhbHJlYWR5IHVz ZXMgdGhhdA0KPiBtYWNybyBmb3IgdGhlIHNoZWxsIHBhdGgsIGl0J3MganVzdCBoYXJkLWNv ZGVkIHRvIC9iaW4vc2ggYnkgZGVmYXVsdC4NCg0KSWYgd2UgbW9kaWZ5IHRoZSBTSEVMTF9Q QVRIIHRvIHBvaW50IHRvIA0KL2dudS9zdG9yZS8uLi4tYmFzaC1taW5pbWFsLS4uLi9iaW4v c2gsIHRoZW4gZ2xpYmMgaGFzIGEgcmVmZXJlbmNlIHRvIA0KYmFzaC1taW5pbWFsLiBCdXQg YmFzaC1taW5pbWFsIHVzZXMgZ2xpYmMsIHNvIGJhc2gtbWluaW1hbCB3b3VsZCBoYXZlIGEg DQpyZWZlcmVuY2UgdG8gZ2xpYmMuIFNvIHlvdSB3b3VsZCBoYXZlIHRvIGVuZCB1cCB3aXRo IGEgY3ljbGUsIHdoaWNoIGlzIA0KaW1wb3NzaWJsZSBpbiBHdWl4Lg0KDQpHcmVldGluZ3Ms DQpNYXhpbWUuDQoNCg== --------------STGYZgi06yIIGw0kX22oJHJm Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 21-07-2022 17:49, ( wrote:
On Thu Jul 21, 2022 at 4:4=
6 PM BST, Maxime Devos wrote:
Using SHELL_PATH instead=
 of the __guix_bin_sh sounds better, yes.=C2=A0 But=20
it's not 'just use -DSHELL_PATH=3D', we still need to change 'system'=20
appropriately.
Why would we need to chang=
e it? The glibc definition already uses that
macro for the shell path, it's just hard-coded to /bin/sh by default.

If we modify the SHELL_PATH to point to /gnu/store/...-bash-minimal-.../bin/sh, then glibc has a reference to bash-minimal. But bash-minimal uses glibc, so bash-minimal would have a reference to glibc. So you would have to end up with a cycle, which is impossible in Guix.

Greetings,
Maxime.

--------------STGYZgi06yIIGw0kX22oJHJm-- --------------1FVTaAfAUtRFBz3XVtTD1P9k Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------1FVTaAfAUtRFBz3XVtTD1P9k-- --------------cyOHOk9ezb354lBDoxn0TaWG-- --------------1XDFWb04BM0Ga8umx0fyi0lo Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYtl2cgUDAAAAAAAKCRBJ4+4iGRcl7pXx AP9P6txltEtF08XiA0z4tYp6oe2bNPwcZkgTUUQ/bBQfqgEApOcXxDhRDklzAgqN9Kj/aq6kXsI0 J66rv1b71aP8xgw= =OqTJ -----END PGP SIGNATURE----- --------------1XDFWb04BM0Ga8umx0fyi0lo-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 12:16:33 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 16:16:33 +0000 Received: from localhost ([127.0.0.1]:38913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYqn-0001Vb-Ab for submit@debbugs.gnu.org; Thu, 21 Jul 2022 12:16:33 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYql-0001VP-Dj for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 12:16:32 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E93024194E; Thu, 21 Jul 2022 18:16:29 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id oVnaNO_2VDJN; Thu, 21 Jul 2022 18:16:28 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658420035; bh=EUQ26qtgxbl/GEznAw5bAzkWW6hIcOnITjHTSOC0rgM=; h=Date:Subject:From:To:References:In-Reply-To; b=PuGX3Ej6O7o6wIvWXVvfsR5pj1bTAoEC8xdWzjaYejtj6+jjpeJMCFtbQprapRhzA qGuNZHYdRHyFsxyz64K3mbOkdbOS+jppM5vV5DGNdFvn6/7NvH+/qk3kKXpfLgnQhJ ORVmsuCbTzdHjjTUESYlHc68PicuwkfkOH9MXdWIblCqvE2JjpspsWHhBCpG/IeYbs X9+vrVfLD3Mk2fnkPT+UDUFQmeZEglrExGpJQQSTefnTngarg6pmVXU83eSf6TrFZ5 8IFjoCwYgE+aK3vwDnUq95bJsu7GxOhMmwNs5XZvd4+xdDDNuGuRNMLlodiXcZPPvR 5ACg5GfpaSI8A== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 17:13:54 +0100 Message-Id: Subject: Re: bug#56030: The guix pull profile is too big From: "(" To: "Maxime Devos" , "Julien Lepiller" , <56030@debbugs.gnu.org> References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Okay, another (hopefully more coherent) proposal: Patch in a ``` extern char *__guix_shell_path; ``` And then, we use a linker script to provide the definition of __guix_shell_path at linking time. (Unfortunately there's no way to do this with a flag, afaik...) -- ( From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 12:23:04 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 16:23:04 +0000 Received: from localhost ([127.0.0.1]:38923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYx6-0001h5-Dm for submit@debbugs.gnu.org; Thu, 21 Jul 2022 12:23:04 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:56188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEYx1-0001gS-PH for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 12:23:03 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by albert.telenet-ops.be with bizsmtp id xsNx2700L20ykKC06sNxH4; Thu, 21 Jul 2022 18:22:58 +0200 Message-ID: <50ad6b55-fb2f-8d24-312d-21655afafe70@telenet.be> Date: Thu, 21 Jul 2022 18:22:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: bug#56030: The guix pull profile is too big Content-Language: en-US To: "(" , Julien Lepiller , 56030@debbugs.gnu.org References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> From: Maxime Devos In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------P7E7Cm0Rd0RC0yuePHrg6zEN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1658420578; bh=TWlX73EMuvQX7KpSWxHZyeoCB2Qy9Yqm37TqpsxsZNk=; h=Date:Subject:To:References:From:In-Reply-To; b=A/MpgTAhYjjPtkxTn90RjHiHNoQUxEZoCbm0EIlT0I7DgiKfJ2bHtzr2c6pOZOke5 me4gcXhRI+2YFDRpMdRWTHivN1jKizDjvG93H3uiSvtWw+mPqTNmO37WsbOGGRbjzD kZBSG3BRr4FAJZJRqhbEirV4Jl7PSzi3RzDtfqqW4/472hng83BTK83IBEgQ2f3osJ r9SAGEsX31Iv8xMO5qir5N66AQ8txNG0HQcUe2E8edP6YF9F4Xb/k6fODVNXfFH9lN 7uw+/FYlXdYAhrqPqIJO2nFSoZhqOZgvFQFLIYz56gi0GRPx1PLjWqKhuG2cDTJYjS x4KP5ZwcEnmDQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------P7E7Cm0Rd0RC0yuePHrg6zEN Content-Type: multipart/mixed; boundary="------------A5n8Pw41ZI0aZuql8kGoLsuV"; protected-headers="v1" From: Maxime Devos To: "(" , Julien Lepiller , 56030@debbugs.gnu.org Message-ID: <50ad6b55-fb2f-8d24-312d-21655afafe70@telenet.be> Subject: Re: bug#56030: The guix pull profile is too big References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> In-Reply-To: --------------A5n8Pw41ZI0aZuql8kGoLsuV Content-Type: multipart/mixed; boundary="------------KMvH10vbCyyJufQK4UOfBAqo" --------------KMvH10vbCyyJufQK4UOfBAqo Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAyMS0wNy0yMDIyIDE4OjEzLCAoIHdyb3RlOg0KPiBPa2F5LCBhbm90aGVyIChob3Bl ZnVsbHkgbW9yZSBjb2hlcmVudCkgcHJvcG9zYWw6IFBhdGNoIGluIGENCj4NCj4gYGBgDQo+ IGV4dGVybiBjaGFyICpfX2d1aXhfc2hlbGxfcGF0aDsNCj4gYGBgDQo+DQo+IEFuZCB0aGVu LCB3ZSB1c2UgYSBsaW5rZXIgc2NyaXB0IHRvIHByb3ZpZGUgdGhlIGRlZmluaXRpb24gb2YN Cj4gX19ndWl4X3NoZWxsX3BhdGggYXQgbGlua2luZyB0aW1lLiAoVW5mb3J0dW5hdGVseSB0 aGVyZSdzIG5vIHdheSB0byBkbw0KPiB0aGlzIHdpdGggYSBmbGFnLCBhZmFpay4uLikNCg0K V2UgY291bGQgY29tcGlsZSBhICdfX2d1aXhfc2hlbGxfcGF0aCA9ICIvLi4uIicgZHVyaW5n IHRoZSBjb21waWxhdGlvbiANCm9mIHRoZSBwYWNrYWdlIChhcyBhIC5vKSBhbmQgd3JhcCBn Y2MgdG8gaW5zZXJ0IGl0IHRvIHRoZSBDTEkgYXJndW1lbnRzLCANCm5vIGxpbmtlciBzY3Jp cHRzIHJlcXVpcmVkLsKgIE5vdCBhbGwgbGlua2VycyBzdXBwb3J0IGxpbmtlciBzY3JpcHRz LCANCmUuZy4gbW9sZCBkb2Vzbid0IGZyb20gd2hhdCBJJ3ZlIHJlYWQgYmVjYXVzZSB0aGV5 IG1ha2UgdGhlIGxpbmtlciBzbG93ZXIuDQoNCkdyZWV0aW5ncywNCk1heGltZS4NCg0K --------------KMvH10vbCyyJufQK4UOfBAqo Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------KMvH10vbCyyJufQK4UOfBAqo-- --------------A5n8Pw41ZI0aZuql8kGoLsuV-- --------------P7E7Cm0Rd0RC0yuePHrg6zEN Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYtl9YQUDAAAAAAAKCRBJ4+4iGRcl7kCu AP0QCcGTTJa2ZCCOxogK9X/4VxE0GnHwuaGJyt/k3WtjswD+NnQCjIQkgGuKMAN4Zvb5EKFY098A Rxzn/X1coqNVMQc= =a/cz -----END PGP SIGNATURE----- --------------P7E7Cm0Rd0RC0yuePHrg6zEN-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 12:30:05 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 16:30:05 +0000 Received: from localhost ([127.0.0.1]:38930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEZ3e-0001rV-7n for submit@debbugs.gnu.org; Thu, 21 Jul 2022 12:30:05 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEZ3a-0001rL-Nd for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 12:29:48 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 17A6240DB6; Thu, 21 Jul 2022 18:29:45 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z1yZz7cGx11z; Thu, 21 Jul 2022 18:29:44 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1658420982; bh=W21y+j1qLpYXYuB35fPFnY57gAaQnAlBFwqGtKJVV94=; h=Date:Subject:From:To:References:In-Reply-To; b=VXiFsBfC4szBAMxi1nqpOoIvjp+ra+jzWN5xyU4yAiUNYog3JbtT6LnaPF4c/E8+s NxaMQzIUKtQctCG44K1hYYgomzAlk6NNvVP436c+nOw78IOvebqEowE/bslzN9r2Hg pNYyZBzXXpjRUyO6NoU2PI3fvMnM9vZJIz3MHFDaOFV8pdFfgfvGetyiFvms0GH0Cs cKb+uoUccZsUt0KzD/vtawAyp+g/3QrxxSxzY5o8t16aZBNgT7vkoBgdJN1sNbPtiW D6YapylDayQE/W3TnVC4DxYRXSAUaJtvIm0tXxXu2CYGdVKuhfcSNNgo/gTKeZLPLR X2J5nqD8miK0g== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 21 Jul 2022 17:29:41 +0100 Message-Id: Subject: Re: bug#56030: The guix pull profile is too big From: "(" To: "Maxime Devos" , "Julien Lepiller" , <56030@debbugs.gnu.org> References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <50ad6b55-fb2f-8d24-312d-21655afafe70@telenet.be> In-Reply-To: <50ad6b55-fb2f-8d24-312d-21655afafe70@telenet.be> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > We could compile a '__guix_shell_path =3D "/..."' during the compilation= =20 > of the package (as a .o) and wrap gcc to insert it to the CLI arguments,= =20 > no linker scripts required. Alas, for some reason I couldn't find any documentation on how to define strings in a linker script. But never mind that, since that's a far better idea :) > Not all linkers support linker scripts, e.g. mold doesn't from what I've > read because they make the linker slower. Would we really need to support anything other than ld, gold, and lld, though? -- ( From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 21 12:35:53 2022 Received: (at 56030) by debbugs.gnu.org; 21 Jul 2022 16:35:54 +0000 Received: from localhost ([127.0.0.1]:38947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEZ9V-00023a-Ke for submit@debbugs.gnu.org; Thu, 21 Jul 2022 12:35:53 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:45514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEZ9T-00023Q-2G for 56030@debbugs.gnu.org; Thu, 21 Jul 2022 12:35:52 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by michel.telenet-ops.be with bizsmtp id xsbp2700320ykKC06sbpfK; Thu, 21 Jul 2022 18:35:49 +0200 Message-ID: Date: Thu, 21 Jul 2022 18:35:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: "(" , Julien Lepiller , 56030@debbugs.gnu.org References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <50ad6b55-fb2f-8d24-312d-21655afafe70@telenet.be> From: Maxime Devos Subject: Re: bug#56030: The guix pull profile is too big In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------arz7Lp36iWhEv47Rfz4XUVRN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1658421349; bh=OrGQv4/zxGErjQI0Xhi6BRhn4sUiEKzkBXP+bKpCshY=; h=Date:To:References:From:Subject:In-Reply-To; b=Gz+BUDWmTeMF04mPJKPZR4WsBXRJa3uLkUSSh+nrM7BoCiKA3tE7KapVSEsRiwFfy gdZ8CKOHNENA60NTceD7paIW9T4Rm+nRmvj4iMceZBQWokpkCruDPFK50g4MeBBC9R ZrUEzIxgYIuaCLTaaxHHccJgkbitN1sHj73iSkWiWMbr0WwP/PlN1Q6doghNCzUBb4 99SLTIyzwCWnNvz31A+LW9WXb6q/qqqKhrfzbZbyELLec153W/hghfms0ugGZoCiwx poauhL2oIwmSnAjfdlz3urzix0oYjHY6cVGFvKkQ9kTaNcl7qF7W0r4LlQy0go8oSR 4lA4Y4lS9pOtg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------arz7Lp36iWhEv47Rfz4XUVRN Content-Type: multipart/mixed; boundary="------------rH5dD3y0RXutk9ZHDzmb1O3P"; protected-headers="v1" From: Maxime Devos To: "(" , Julien Lepiller , 56030@debbugs.gnu.org Message-ID: Subject: Re: bug#56030: The guix pull profile is too big References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <50ad6b55-fb2f-8d24-312d-21655afafe70@telenet.be> In-Reply-To: --------------rH5dD3y0RXutk9ZHDzmb1O3P Content-Type: multipart/mixed; boundary="------------yx8WxYZjoiDmpIVXFoaY3hDs" --------------yx8WxYZjoiDmpIVXFoaY3hDs Content-Type: multipart/alternative; boundary="------------DgbJZR0TM5fAW455XTxg72sI" --------------DgbJZR0TM5fAW455XTxg72sI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQpPbiAyMS0wNy0yMDIyIDE4OjI5LCAoIHdyb3RlOg0KPj4gTm90IGFsbCBsaW5rZXJzIHN1 cHBvcnQgbGlua2VyIHNjcmlwdHMsIGUuZy4gbW9sZCBkb2Vzbid0IGZyb20gd2hhdCBJJ3Zl DQo+PiByZWFkIGJlY2F1c2UgdGhleSBtYWtlIHRoZSBsaW5rZXIgc2xvd2VyLg0KPiBXb3Vs ZCB3ZSByZWFsbHkgbmVlZCB0byBzdXBwb3J0IGFueXRoaW5nIG90aGVyIHRoYW4gbGQsIGdv bGQsIGFuZCBsbGQsDQo+IHRob3VnaD8NCj4NCj4gICAgICAtLSAoDQoNCg0KV2UgY2FuIGNo b29zZSB0byBub3QgcGFja2FnZSBtb2xkIG9mIGNvdXJzZSwgYnV0IEkgdGhpbmsgaXQgd291 bGQgYmUgYSANCmdvb2QgaWRlYSB0byBzdXBwb3J0IG1vbGQsIGJlY2F1c2UgaXQgYXBwZWFy cyB0byBiZSBtdWNoIGZhc3RlciB0aGFuIHRoZSANCm90aGVycy4gRnVydGhlcm1vcmUsIEkn ZCBsaWtlIHRvIGV2ZW50dWFsbHkgc3dpdGNoIHRvIG1vbGQgYnkgZGVmYXVsdCwgDQpiZWNh dXNlIGl0J3MgbXVjaCBmYXN0ZXIuwqAgRnJvbSB0aGUgUkVBRE1FOg0KDQptb2xkIGlzIHNv IGZhc3QgdGhhdCBpdCBpcyBvbmx5IDJ4IC9zbG93ZXIvIHRoYW4gfGNwfCBvbiB0aGUgc2Ft ZSANCm1hY2hpbmUuIEZlZWwgZnJlZSB0byBmaWxlIGEgYnVnIDxodHRwczovL2dpdGh1Yi5j b20vcnVpMzE0L21vbGQvaXNzdWVzPiANCmlmIHlvdSBmaW5kIG1vbGQgaXMgbm90IGZhc3Rl ciB0aGFuIG90aGVyIGxpbmtlcnMuDQoNClByb2dyYW0gKGxpbmtlciBvdXRwdXQgc2l6ZSkg CUdOVSBnb2xkIAlMTFZNIGxsZCAJbW9sZA0KQ2hyb21lIDk2ICgxLjg5IEdpQikgCTUzLjg2 cyAJMTEuNzRzIAkyLjIxcw0KQ2xhbmcgMTMgKDMuMTggR2lCKSAJNjQuMTJzIAk1LjgycyAJ Mi45MHMNCkZpcmVmb3ggODkgbGlieHVsICgxLjY0IEdpQikgCTMyLjk1cyAJNi44MHMgCTEu NDJzDQoNCg== --------------DgbJZR0TM5fAW455XTxg72sI Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 21-07-2022 18:29, ( wrote:
Not all linkers support li=
nker scripts, e.g. mold doesn't from what I've
read because they make the linker slower.
Would we really need to supp=
ort anything other than ld, gold, and lld,
though?

    -- (


We can choose to not package mold of course, but I think it would be a good idea to support mold, because it appears to be much faster than the others. Furthermore, I'd like to eventually switch to mold by default, because it's much faster.=C2=A0 From the README= :

mold is so fast that it is only 2x slower than cp on the same machine. Feel free to file a bug if you find mold is not faster than other linkers.

Program (linker output size) GNU gold LLVM lld mold
Chrome 96 (1.89 GiB) 53.86s 11.74s 2.21s
Clang 13 (3.18 GiB) 64.12s 5.82s 2.90s
Firefox 89 libxul (1.64 GiB) 32.95s 6.80s 1.42s
--------------DgbJZR0TM5fAW455XTxg72sI-- --------------yx8WxYZjoiDmpIVXFoaY3hDs Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------yx8WxYZjoiDmpIVXFoaY3hDs-- --------------rH5dD3y0RXutk9ZHDzmb1O3P-- --------------arz7Lp36iWhEv47Rfz4XUVRN Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYtmAZAUDAAAAAAAKCRBJ4+4iGRcl7pB3 AP0bAD+bmEZ4nt9drenC5KPqi1+r0our7bE6wvqzDOUDZwD+OzePC6AJmQyEVmlMlL0V0LOnWRv+ u6Xd+faSOr5BAgs= =aJQv -----END PGP SIGNATURE----- --------------arz7Lp36iWhEv47Rfz4XUVRN-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 06 19:37:55 2022 Received: (at 56030) by debbugs.gnu.org; 6 Aug 2022 23:37:55 +0000 Received: from localhost ([127.0.0.1]:35647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKTMh-0003Ic-H8 for submit@debbugs.gnu.org; Sat, 06 Aug 2022 19:37:55 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKTMf-0003IO-Pk for 56030@debbugs.gnu.org; Sat, 06 Aug 2022 19:37:54 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id E3DEDE30FC; Sat, 6 Aug 2022 23:37:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1659829066; bh=78O3nohw7WTeJR6AYdgbF75TygHmUPRi8DXpHiJczKM=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=ERQjirN0aF1xpO6Bt+3FhwS32xGqvYYW0UDzF/XUs6nigCdIARjvU0T4TWCyD+Q0k ZSJlSzs8e+9eQjnYPIiqQqH02fVCbG1PG8YmAl+TpOPmgKIKCeGXG4P2UCG4CcgXbD F2CxXY4kjxK2jRsPh6/+iYzHTPYVxbGa1v0Q0cX4i/UF/EvW7P4/E43J0QoJqXK+96 gG3pGnGmaaq19gPCQgFXqyAat7LVnzOh5KF5OEBeCXfPYHRFIb7E5eihRaonZtEFD3 pDu5/qXNPxX2TlW6dUWYOGC56cK3yNkX6scLRYNz9/hKnO8pqPgHO1r9Pg1d61n8MW wYxVFFKdSzI4A== X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FGk3-20nh1Lg; Sat, 6 Aug 2022 23:37:46 +0000 (UTC) Received: from localhost (m90-129-216-108.cust.tele2.se [90.129.216.108]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 176D5E303A; Sat, 6 Aug 2022 23:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1659829066; bh=78O3nohw7WTeJR6AYdgbF75TygHmUPRi8DXpHiJczKM=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=ERQjirN0aF1xpO6Bt+3FhwS32xGqvYYW0UDzF/XUs6nigCdIARjvU0T4TWCyD+Q0k ZSJlSzs8e+9eQjnYPIiqQqH02fVCbG1PG8YmAl+TpOPmgKIKCeGXG4P2UCG4CcgXbD F2CxXY4kjxK2jRsPh6/+iYzHTPYVxbGa1v0Q0cX4i/UF/EvW7P4/E43J0QoJqXK+96 gG3pGnGmaaq19gPCQgFXqyAat7LVnzOh5KF5OEBeCXfPYHRFIb7E5eihRaonZtEFD3 pDu5/qXNPxX2TlW6dUWYOGC56cK3yNkX6scLRYNz9/hKnO8pqPgHO1r9Pg1d61n8MW wYxVFFKdSzI4A== From: bokr@bokr.com Date: Sun, 7 Aug 2022 01:37:26 +0200 To: "(" Subject: rfc2822 permits that left paren, but why do it? -- was Re: bug#56030: The guix pull profile is too big Message-ID: <20220806233726.GA18362@LionPure> References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56030 Cc: 56030@debbugs.gnu.org, Julien Lepiller , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi "(" aka paren :) On +2022-07-21 16:03:19 +0100, paren--- via Bug reports for GNU Guix wrote: [ ... ] > > -- ( > Are you hoping for some effect on a pre-rfc2822 parser?? Just curious :) -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 30 06:05:30 2022 Received: (at 56030) by debbugs.gnu.org; 30 Aug 2022 10:05:30 +0000 Received: from localhost ([127.0.0.1]:34804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSy7e-0000oZ-Df for submit@debbugs.gnu.org; Tue, 30 Aug 2022 06:05:30 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:47070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSy7c-0000oN-Oo for 56030@debbugs.gnu.org; Tue, 30 Aug 2022 06:05:29 -0400 Received: by mail-wr1-f45.google.com with SMTP id e20so13464607wri.13 for <56030@debbugs.gnu.org>; Tue, 30 Aug 2022 03:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=8EfI5N/xoDVqZktWD7KHO2Xax5rY5TnHFLjTGWf2nm8=; b=HlzXCHNeT1RVR9HWAs4EEX/pEKHK196pBMRQJzpi8kOawBK0jHc6iWts79cbvpDp24 kVsgQRplw6Pp2aKNxFnFDINRk9iOBZT5LivgSSPyL1eNGxUE3sWGL5rhVzbmIq6hInBQ 8Cq9QrULIzLJJDwNkfQ7HEP1TwoYuX6qlXV809ihtepYi4hnOlO90yFSUT+OF7EFRYPy YuDjsO4xTFkTPj7wteycFxS53ZTZswqeSSan3ipJUVYvPTLkUDpGDEZGsFvC6SXh4dRo aqKL5b5r8RlpNWc2LDyms+PPWYCfP49LjeQYOxnWjOxnScmUfZh8Gva5ALzD1DXRjZ6W wYSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=8EfI5N/xoDVqZktWD7KHO2Xax5rY5TnHFLjTGWf2nm8=; b=Dlw6TTVFIaaTsAGvnRjdrHfJ0zWNUBpStTKuMBSTfXMVW3Vc+c9/FE7ZtP2E5zWTe5 NM2r0EPt0dS5AsoxIsxYEEJjDlOZ5CB0F+eYKcxUW1vtcyawiVX9TwTDbnSa9dZ5oyET AXbdQ3bYGVYyrqZi7A0i+wNxiSMxnxzHvUFfsGxw1diK4h5HneIt1FWYU86rz1mByqT7 brNooRbljCOPdHk0hxs9HEDoDtEt6ElEuUydBJVJ8+Fm6ytE2OsK0KxCVkbphwVbpAfm hEjFPNmFQBrMZQQTMokstdkPpADg2GV/e9ivX0pl+YZQHZeIC+BkxRvAvF8OHdAR5gNM 22Uw== X-Gm-Message-State: ACgBeo27OGU3awKMPW7rkzE7vUSYU/aGOeyVhLKOenengYM1GatNEpvH pq8jTgyjnYThs5g9ELJvTSOZMWlXUrY= X-Google-Smtp-Source: AA6agR56RVoijTMXZ2VpvTy9OZfAR4F2VPRmyC9CK32Z7uU8PZBaDeWAPDSgKQPG1XCRBea6OwETjw== X-Received: by 2002:adf:e80e:0:b0:226:d808:667d with SMTP id o14-20020adfe80e000000b00226d808667dmr5736377wrm.282.1661853922895; Tue, 30 Aug 2022 03:05:22 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n8-20020adff088000000b002258235bda3sm9061111wro.61.2022.08.30.03.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 03:05:22 -0700 (PDT) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Julien Lepiller Subject: Re: bug#56030: The guix pull profile is too big In-Reply-To: <87h747qfyr.fsf@gnu.org> References: <2C6CCC4B-BC71-4CA4-9B7B-086C14713DCD@lepiller.eu> <87h747qfyr.fsf@gnu.org> Date: Tue, 30 Aug 2022 12:04:18 +0200 Message-ID: <86o7w2cajh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56030 Cc: 56030@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Sun, 26 Jun 2022 at 23:20, Ludovic Court=C3=A8s wrote: >> There are two libffi, gzip, zlib, libgc, bash-minimal, xz, pkg-config an= d libunistring. > It=E2=80=99s worth keeping in mind that thanks to deduplication, this cos= ts much > less than it seems in terms of disk space, but it does cost in terms of > bandwidth usage. As shown in [1], note that deduplication is defeated by packages with multi-outputs impacted by grafted ones. For example, if one dependency of bash-minimal is grafted, then two store items of bash-minimal (with the same content) could live in the store and thus the reduction cost of disk space is mitigated. 1: Cheers, simon