Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 19:47:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 14:47:38 2024
Received: from localhost ([127.0.0.1]:40412 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tLp9q-0005Aj-44
for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:47:38 -0500
Received: from lists.gnu.org ([209.51.188.17]:54178)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <zimon.toutoune@HIDDEN>) id 1tLp9n-0005AX-9I
for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:47:32 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
id 1tLp9k-0004Is-Nf
for bug-guix@HIDDEN; Thu, 12 Dec 2024 14:47:28 -0500
Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
id 1tLp9h-0002hl-V7
for bug-guix@HIDDEN; Thu, 12 Dec 2024 14:47:27 -0500
Received: by mail-wr1-x433.google.com with SMTP id
ffacd0b85a97d-38634c35129so756331f8f.3
for <bug-guix@HIDDEN>; Thu, 12 Dec 2024 11:47:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1734032844; x=1734637644; darn=gnu.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:from:to:cc:subject:date:message-id:reply-to;
bh=GZXBN7RMB8LFOCXRRVMdvMnQpo4Mm5C3G3BfiO+0jKI=;
b=Fpfk2uyCYp2GaXuf+MfZIHUSNePtDarUa/wukHJjamGFjNP3jaoORcPYWbkq4UVQVT
w8GrfA0ptGSWlcfNj7+rjAXE4YnhH7F241TQvJwzLCWbMvdkeV1mg1zdfk42X69KVHg8
GNFbqUzNdlHH5oyp7GR6A2PGsvHbpjTYvi0ZTfYhaU9fNqEg7LZK1uSb4NrAwmqjqO71
4OWivSYACAtDPWzWmrnLSSP9saB66jQzRG7DVdxIgv86X3vY6+xz0p71yL/TlZrjf37N
eRu212BjxhbniEBnYRKSPJFfdZKPSQSEj75lshbLWjL+rXV7V/7fKjFYEn6NOnfNcLmO
h25Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1734032844; x=1734637644;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=GZXBN7RMB8LFOCXRRVMdvMnQpo4Mm5C3G3BfiO+0jKI=;
b=DiG1W87XGkFc2hY1o08hqiFIviyQvNnSuRiitx9betVxcfuohHwqurYPIUURj+wZia
MeyfenUoFkIhnWrtLxki8RSSi5Th6RK1eSyBR7n5MOBSQg96J1gJgMPoga/B+t9ajj+K
1ROSZ5Qhma59CalY0w8HsRhudbP3gxhzZHrgv4LRYvr/sEsnZdwYMUNz/OUNU7N1HnPi
eqV3quBArzMsIWpy/hUXPMZzoe4uHr8cykouKfkXE8NJJDZl42oxwUhjHM4J35QTYgbN
GElYBj5D23RNsbH0smlMYYK0Us6y9iQKFtpHHlVznhxZsfVF723q/+faLlBSrhLTMHHf
zDAw==
X-Gm-Message-State: AOJu0Yw3+ts1p01orQvlauQ09tmqhn2viF0MmCbbEGuZIposwTUjiPQM
HpdFwzN7fALdXvVEozm6XjzcG1ITqs5S2hJS6mdUpGfCHHG7zYkLEf3xww==
X-Gm-Gg: ASbGnctQZIbeXyd/2maAim3yi4s65u/EUmmoAjPzZ2OTzCDQxzOguk6dSw9C3TxlNdZ
gqBXaWFoK03l9balRKerI5vD4XMHrnLhkcC1SrSzoVhZ1SpJ7aQWuwedr92KsID8krnT286rTTr
7MBBPJ5v8zDnUpLQNzB0JRZ88SbVLGByuuk7ylL/vkGqElZcbnFhsK8h6eE1gbgma36AgSAg3RV
ZsUuNIEC6iMREaRLKJJ4bltgHDkbLzG9xM2QW6CqmP5Fxh0K7T0VrBKN+iT/L/IVmGjMFLgngIA
JDfLTuybhuBcGYJFal/nWNWnr4YRfA4y1KLzJa/rabY=
X-Google-Smtp-Source: AGHT+IGhk5U+9sMd9xx3FlyeW+GF8vq20oTI1PVb4Fudx8Hk8l3qs0U4/HifHOnZv+bHJCsHBSAMrw==
X-Received: by 2002:a05:6000:2aa:b0:385:dedb:a12f with SMTP id
ffacd0b85a97d-3864ce7fa47mr6494868f8f.6.1734032844032;
Thu, 12 Dec 2024 11:47:24 -0800 (PST)
Received: from lili (2a01cb08829ff8006d2f327432852397.ipv6.abo.wanadoo.fr.
[2a01:cb08:829f:f800:6d2f:3274:3285:2397])
by smtp.gmail.com with ESMTPSA id
ffacd0b85a97d-387824aa33csm4958628f8f.42.2024.12.12.11.47.22
for <bug-guix@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 12 Dec 2024 11:47:23 -0800 (PST)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix install download extra outputs when it should not
Date: Thu, 12 Dec 2024 16:31:34 +0100
Message-ID: <87r06cq5nt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::433;
envelope-from=zimon.toutoune@HIDDEN; helo=mail-wr1-x433.google.com
X-Spam_score_int: 0
X-Spam_score: -0.0
X-Spam_bar: /
X-Spam_report: (-0.0 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592,
DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
FREEMAIL_FROM=0.001, PDS_BTC_ID=0.499, RCVD_IN_DNSWL_NONE=-0.0001,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
WEIRD_QUOTING=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.3 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Hi, Please consider the package ’x265’. If one installs
it with the option ’no-grafts’ then everything works as expected. However,
if one installs it with the default command line, then the output [...]
Content analysis details: (1.3 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[209.51.188.17 listed in bl.score.senderscore.com]
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (zimon.toutoune[at]gmail.com)
1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
0.0 WEIRD_QUOTING BODY: Weird repeated double-quotation marks
0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
The query to Validity was blocked. See
https://knowledge.validity.com/hc/en-us/articles/20961730681243
for more information.
[209.51.188.17 listed in sa-trusted.bondedsender.org]
-2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/,
medium trust
[209.51.188.17 listed in list.dnswl.org]
0.5 PDS_BTC_ID FP reduced Bitcoin ID
1.0 BITCOIN_SPAM_05 BitCoin spam pattern 05
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)
Hi,
Please consider the package =E2=80=99x265=E2=80=99. If one installs it wit=
h the option
=E2=80=99no-grafts=E2=80=99 then everything works as expected. However, if=
one installs
it with the default command line, then the output =E2=80=99static=E2=80=99 =
is downloaded
when it should not.
Please note this package is not grafted.
Below, a reproducer.
--8<---------------cut here---------------start------------->8---
$ guix time-machine -q --commit=3D47ab553178eb00d02ba9588ed1f7df44fb2f7c4c \
-- install x265 --no-grafts -p /tmp/no-grafts
guix install: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following package will be installed:
x265 3.5
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... =
0.0%guix substitute: warning: bordeaux.guix.gnu.org: connection failed: Con=
nection refused
substitute:=20
substitute: updating substitutes from 'https://guix.bordeaux.inria.fr'... 1=
00.0%
The following derivation will be built:
/gnu/store/cxpssdlarc9z688jp11a5aa2i50920bk-profile.drv
1.7 MB will be downloaded
module-import-compiled 107KiB =
1.2MiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
libfontenc-1.1.4 13KiB =
4.4MiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
module-import-compiled 48KiB =
5.9MiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
mkfontscale-1.2.2 20KiB =
3.6MiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
module-import-compiled 58KiB =
6.2MiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
mkfontdir-1.0.7 4KiB =
3.1MiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
x265-3.5 1.4MiB =
3.2MiB/s 00:00 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...
hint: Consider setting the necessary environment variables by running:
GUIX_PROFILE=3D"/tmp/no-grafts"
. "$GUIX_PROFILE/etc/profile"
Alternately, see `guix package --search-paths -p "/tmp/no-grafts"'.
--8<---------------cut here---------------end--------------->8---
Here, all is fine. Then bang!
--8<---------------cut here---------------start------------->8---
$ guix time-machine -q --commit=3D47ab553178eb00d02ba9588ed1f7df44fb2f7c4c \
-- install x265 -p /tmp/with-grafts
guix install: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.
The following package will be installed:
x265 3.5
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... =
0.0%guix substitute: warning: bordeaux.guix.gnu.org: connection failed: Con=
nection refused
substitute:=20
2.2 MB will be downloaded
curl-8.6.0-doc 535KiB =
843KiB/s 00:01 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... =
0.0%
2.8 MB will be downloaded
x265-3.5-static 1.3MiB =
1.6MiB/s 00:01 =E2=96=95=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=
=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=
=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=8F 100.0%
hint: Consider setting the necessary environment variables by running:
GUIX_PROFILE=3D"/tmp/with-grafts"
. "$GUIX_PROFILE/etc/profile"
Alternately, see `guix package --search-paths -p "/tmp/with-grafts"'.
--8<---------------cut here---------------end--------------->8---
Indeed x265-3.5-static is downloaded. Hum?! A bug, I guess.
Please note that both (with or without) install the exact same profile:
--8<---------------cut here---------------start------------->8---
$ readlink -f /tmp/no-grafts
/gnu/store/znbrwzn5pkrjb1ni2y8nj5lw068syh1j-profile
$ readlink -f /tmp/with-grafts
/gnu/store/znbrwzn5pkrjb1ni2y8nj5lw068syh1j-profile
--8<---------------cut here---------------end--------------->8---
And that profile contains:
--8<---------------cut here---------------start------------->8---
$ guix gc --references /gnu/store/znbrwzn5pkrjb1ni2y8nj5lw068syh1j-profile
/gnu/store/1h81psijhx3l8p88ds66q7a001rgvcl2-x265-3.5
/gnu/store/1vsl7yp1b94bvx5ljc7irys881q3zvl9-emacs-subdirs
/gnu/store/dk3v3fdslvlj3qwf2c1bqprj0dcm6m7s-info-dir
/gnu/store/znbrwzn5pkrjb1ni2y8nj5lw068syh1j-profile
--8<---------------cut here---------------end--------------->8---
where it=E2=80=99s not a grafted item:
--8<---------------cut here---------------start------------->8---
$ guix gc --derivers /gnu/store/1h81psijhx3l8p88ds66q7a001rgvcl2-x265-3.5
/gnu/store/7555d85ldgn3vgby3sdgl0rf9ac1b6mv-x265-3.5.drv
--8<---------------cut here---------------end--------------->8---
which reads:
--8<---------------cut here---------------start------------->8---
Derive
([("out","/gnu/store/1h81psijhx3l8p88ds66q7a001rgvcl2-x265-3.5","","")
,("static","/gnu/store/4zw8h8za4z1cg4k5iz5lha6v1s9wzwkz-x265-3.5-static",=
"","")]
,[("/gnu/store/1fdyz77q7qwqm12nf05zsqlxgpc7qwrk-patch-2.7.6.drv",["out"])
,("/gnu/store/1j9f9p41npw2ak7xa5vi1825jzw98r78-make-4.4.1.drv",["out"])
,("/gnu/store/2ff71r26mzc6j0jmg2hnbxl9rrwng8cb-xz-5.4.5.drv",["out"])
,("/gnu/store/4y1nj954qnrxjm6n706425ppzrysswsl-tar-1.34.drv",["out"])
,("/gnu/store/548m4h6h348didy1m790wa3wm5gi9dzr-file-5.45.drv",["out"])
,("/gnu/store/6w7kma4i566rwjnd6dcl71nnwxw8f9hj-bash-minimal-5.1.16.drv",=
["out"])
,("/gnu/store/8rdk4lzpxjipxbg8gy2wcn0whiw9fkcc-coreutils-9.1.drv",["out"=
])
,("/gnu/store/938lrsa8aap7ypl6bjdbyk9m2m10yb0f-findutils-4.9.0.drv",["ou=
t"])
,("/gnu/store/9v589ilg3y17xzyg7blnm5p5zq5w53zz-gzip-1.13.drv",["out"])
,("/gnu/store/gfw5x9m4gzwx6lp01sdpmg9bjv7rkf9g-gcc-11.4.0.drv",["out"])
,("/gnu/store/gi824h98mhpdj748qq696xil4hb3iy75-diffutils-3.10.drv",["out=
"])
,("/gnu/store/gvkzbkw6wl5ylsv3a4m6ba6blh96jlqd-ld-wrapper-0.drv",["out"])
,("/gnu/store/hj1l9q3gz3p0w06xg7pd9kqn2bm7727m-grep-3.11.drv",["out"])
,("/gnu/store/js4wbx994msmy5vqda3bkpkp90w85nlm-binutils-2.41.drv",["out"=
])
,("/gnu/store/lskrr30zkr6zdn8kh2xr5zsgh8v34crb-linux-libre-headers-5.15.=
49.drv",["out"])
,("/gnu/store/lzlbf85rsk810gxfprqcyzwpi7vbsjx5-bzip2-1.0.8.drv",["out"])
,("/gnu/store/mpcpqg2z2496phr13mq6p66isj30ps88-guile-3.0.9.drv",["out"])
,("/gnu/store/ncp8ppqmp8cjnhb689jdj4hjhkprdk2i-zstd-1.5.2.drv",["out"])
,("/gnu/store/rf2pw1mhyswd49664kpyh8w74j25lqa3-module-import-compiled.dr=
v",["out"])
,("/gnu/store/rzzxmd5kgqicyda68mq5nr12nfv33hvn-x265_3.5.tar.zst.drv",["o=
ut"])
,("/gnu/store/sja38khs22vdn6r2nmlv25p96jmh2v9h-glibc-2.39.drv",["out","s=
tatic"])
,("/gnu/store/smv8fspv7qn2fw0hm5p9qc99ysljxdca-gawk-5.3.0.drv",["out"])
,("/gnu/store/xbvp18dgwylw02vg4j2gx5qly2d24ndr-cmake-minimal-3.24.2.drv"=
,["out"])
,("/gnu/store/xk1wxn1x2nivpnid67x7g3l7z2q0f5p0-sed-4.8.drv",["out"])
,("/gnu/store/yp879bxngivi6i5873lkp7crnzxhazki-nasm-2.15.05.drv",["out"]=
)]
,["/gnu/store/2cn6qcdq6h79xgjjy852apfq3v1v5dmy-module-import","/gnu/store/=
liw289n4sja5lzyargqfv29xdijs88sk-x265-3.5-builder"]
,"x86_64-linux","/gnu/store/xv4cd7qz4yan93zkjisbmbpxfz78hah2-guile-3.0.9/b=
in/guile",["--no-auto-compile","-L","/gnu/store/2cn6qcdq6h79xgjjy852apfq3v1=
v5dmy-module-import","-C","/gnu/store/b3l95nsz9fr09bv62ynp2n23klcfqcr4-modu=
le-import-compiled","/gnu/store/liw289n4sja5lzyargqfv29xdijs88sk-x265-3.5-b=
uilder"]
,[("out","/gnu/store/1h81psijhx3l8p88ds66q7a001rgvcl2-x265-3.5")
,("static","/gnu/store/4zw8h8za4z1cg4k5iz5lha6v1s9wzwkz-x265-3.5-static"=
)])
--8<---------------cut here---------------end--------------->8---
Therefore, the issue might comes from how =E2=80=9Cguix install=E2=80=9D in=
ternal works,
I guess.
Cheers,
simon
Simon Tournier <zimon.toutoune@HIDDEN>:bug-guix@HIDDEN.
Full text available.bug-guix@HIDDEN:bug#74835; Package guix.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.