GNU bug report logs - #41602
texlive is actually substitutable

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Fri, 29 May 2020 15:17:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 41602 <at> debbugs.gnu.org:


Received: (at 41602) by debbugs.gnu.org; 3 Apr 2024 02:09:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 22:09:42 2024
Received: from localhost ([127.0.0.1]:56678 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rrq4L-0005Il-Iv
	for submit <at> debbugs.gnu.org; Tue, 02 Apr 2024 22:09:41 -0400
Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]:51537)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1rrq4J-0005Hv-0R
 for 41602 <at> debbugs.gnu.org; Tue, 02 Apr 2024 22:09:40 -0400
Received: by mail-oi1-x22b.google.com with SMTP id
 5614622812f47-3c3aeef1385so4265631b6e.3
 for <41602 <at> debbugs.gnu.org>; Tue, 02 Apr 2024 19:09:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712110169; x=1712714969; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=OiAvGrdhBM7ftUS4tUqBY/ljmj8gxgGdGpLPy0Sle0o=;
 b=RBfv+JxZqlty2uG8ifcwKSr8mgD1JV0JjRl3mufv6e7IiubrOVAmskLrbzvk7tpP6/
 UkC1mBLYkuaENa2mzp7v9SyMRG5RTSq0MuQk+nM8gQCZQKCKswL3PFjDnqta/+0BJVgq
 k6Cfvi0nntK2jLQeP6esFj3GnqpZIA6ARvcaRRp02Ku2iHguORSVSo69ImuN4h1mjKgc
 ZjMxIfSjDT773tnt6UYYlR/upXkfkw4kJVquvlgIKWeLv6ng/53KER8zQTWl8iudRJgS
 RT00VLmOVrQpde0skoT3vghWIswVCKYzi2Hm0vx3tjDNyZGPICLHtfXz4rNsZ163ZWld
 HZ2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712110169; x=1712714969;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=OiAvGrdhBM7ftUS4tUqBY/ljmj8gxgGdGpLPy0Sle0o=;
 b=o9azUEbyCfBJ94fOzHPGqYFza3Q7bE7xuEwMI3btziJgr6BFC8ovbI3BznbRmXC6/y
 NiAEii0aS4iCRcUE1eGZVSeUabMX2pLBkQGIVDw9ahGDV91Zj5FufXn71oAeh6GQwPFQ
 AkMTHcfxxUH3s2Ogo6BS66eRRPCQazUKKNH2Axphg7HdvtoNYC4DA+imcPxyfD+g09m8
 rVDsCdnxms0y+z+ZF0rKmvXaSusEH6f1FOYdHimYXQ+9lXOQCfsUgJOaFbpGmW8g+goc
 3aOh5ogxQSky3m32/osC6BkEvRPBMCikhR4M19r3lfoO+zsifgaXibHoyUQeeSw+Ogo2
 e/FQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCWa4t0/GeDDrfm/tUg2l3V0MHuB5bHYASve2bcV4k2WkuHnpmNywSP98yqzfLKNJ2Pwe2FvxGr2ehVRVA+DzetFJlQaHII=
X-Gm-Message-State: AOJu0Yy/umv85Pi+XoWEfq3Y7AN9jRkcssGsThpI9nxmi0x/21xSXE5c
 FzQni0fAKcTrJpzJXDETnXRV1R5iSFoHVyUhE7VFZTfX/5IPy7OtQ2m3zwEQ
X-Google-Smtp-Source: AGHT+IEBKCkR11IItX2vteFgzjCn2sDtxb6XCOq/npgkjgMexRuCDw/cu1//SuzX8b6qE77VgQo0DQ==
X-Received: by 2002:a05:6808:1488:b0:3c4:de10:a5d7 with SMTP id
 e8-20020a056808148800b003c4de10a5d7mr13103174oiw.19.1712110168767; 
 Tue, 02 Apr 2024 19:09:28 -0700 (PDT)
Received: from hurd (dsl-158-138.b2b2c.ca. [66.158.158.138])
 by smtp.gmail.com with ESMTPSA id
 u18-20020ac87512000000b00430eb19dd06sm6066158qtq.91.2024.04.02.19.09.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 02 Apr 2024 19:09:27 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#41602: texlive-texmf is actually subtitutable
In-Reply-To: <87sgfhtt1f.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sat, 30 May 2020 16:07:56 +0200")
References: <878sha3h7n.fsf@HIDDEN> <20200529180411.GB3754@HIDDEN>
 <87sgfhtt1f.fsf@HIDDEN>
Date: Tue, 02 Apr 2024 22:09:26 -0400
Message-ID: <874jcjw621.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
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: 41602
Cc: 41602 <at> debbugs.gnu.org, Leo Famulari <leo@HIDDEN>
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: -1.0 (-)

Hello,

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Leo Famulari <leo@HIDDEN> skribis:
>
>> On Fri, May 29, 2020 at 05:15:40PM +0200, Ludovic Court=C3=A8s wrote:
>>> The info suggests it won=E2=80=99t be substituted, but it=E2=80=99s eve=
ntually
>>> substituted.  I wonder why, because the .drv has:
>>>=20
>>>   ("allowSubstitutes","0")
>>>=20
>>> and the daemon has:
>>>=20
>>>   bool substitutesAllowed(const Derivation & drv)
>>>   {
>>>       return get(drv.env, "allowSubstitutes", "1") =3D=3D "1";
>>>   }
>>>=20
>>> and:
>>>=20
>>>   if (settings.useSubstitutes && substitutesAllowed(drv))
>>>       foreach (PathSet::iterator, i, invalidOutputs)
>>>           addWaitee(worker.makeSubstitutionGoal(*i, buildMode =3D=3D bm=
Repair));
>>>=20
>>> Thoughts?
>>
>> I wonder if the content-addressed fallbacks take a different code path
>> that doesn't respect "allowSubstitutes"?
>
> It does, but this texlive-texmf.drv is not a fixed-output derivation.

I just verified; this still happens:

--8<---------------cut here---------------start------------->8---
$ guix build texlive -n
substitute: mise =C3=A0 jour des substituts depuis =C2=AB=C2=A0https://ci.g=
uix.gnu.org=C2=A0=C2=BB... 100.0 %
La d=C3=A9rivation suivante serait compil=C3=A9e :
  /gnu/store/ym96pipknrh6khzc3ws8ychiy6224y61-texlivetexmf-20230313.drv
3=E2=80=AF880,6 Mo seraient t=C3=A9l=C3=A9charg=C3=A9s :
  /gnu/store/rzczwmmkvpkahy0mgpahav0yx37ci61b-texlive-20230313-texmf.tar.xz
  /gnu/store/bcc5071mvprhp4yj1jimlhyyi499d2ba-texlivebin-20230313
  /gnu/store/bd4mzanvv7q2plm2b6zld8cz3fy0x34a-texlive-20230313
maxim@hurd ~/src/guix [env]$ guix build /gnu/store/bd4mzanvv7q2plm2b6zld8cz=
3fy0x34a-texlive-20230313
substitute: mise =C3=A0 jour des substituts depuis =C2=AB=C2=A0https://ci.g=
uix.gnu.org=C2=A0=C2=BB... 100.0 %
substitution de /gnu/store/bcc5071mvprhp4yj1jimlhyyi499d2ba-texlivebin-2023=
0313...
t=C3=A9l=C3=A9chargement depuis https://ci.guix.gnu.org/nar/lzip/bcc5071mvp=
rhp4yj1jimlhyyi499d2ba-texlivebin-20230313...
 texlivebin-20230313  13.5MiB                                   527KiB/s 00=
:26 =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%

substitution de /gnu/store/4hr3i6p7g2miwhy9gn64mxp1haix36dq-texlivetexmf-20=
230313...
t=C3=A9l=C3=A9chargement depuis https://ci.guix.gnu.org/nar/lzip/4hr3i6p7g2=
miwhy9gn64mxp1haix36dq-texlivetexmf-20230313...
 texlivetexmf-20230313  3.63GiB                                 360KiB/s 00=
:17 =E2=96=95                  =E2=96=8F   0.2%^C
--8<---------------cut here---------------end--------------->8---

--=20
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#41602; Package guix. Full text available.
Changed bug title to 'texlive is actually substitutable' from 'texlive-texmf is actually subtitutable' Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Leo Famulari <leo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 41602 <at> debbugs.gnu.org:


Received: (at 41602) by debbugs.gnu.org; 30 May 2020 14:08:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 10:08:05 2020
Received: from localhost ([127.0.0.1]:58817 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jf29d-0002jG-Nb
	for submit <at> debbugs.gnu.org; Sat, 30 May 2020 10:08:05 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48828)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jf29c-0002iM-KH
 for 41602 <at> debbugs.gnu.org; Sat, 30 May 2020 10:08:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:35485)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1jf29X-00009D-B1; Sat, 30 May 2020 10:07:59 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46656 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jf29V-0002uR-JM; Sat, 30 May 2020 10:07:59 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Leo Famulari <leo@HIDDEN>
Subject: Re: bug#41602: texlive-texmf is actually subtitutable
References: <878sha3h7n.fsf@HIDDEN> <20200529180411.GB3754@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 12 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sat, 30 May 2020 16:07:56 +0200
In-Reply-To: <20200529180411.GB3754@HIDDEN> (Leo Famulari's message of
 "Fri, 29 May 2020 14:04:11 -0400")
Message-ID: <87sgfhtt1f.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 41602
Cc: 41602 <at> debbugs.gnu.org
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: -3.3 (---)

Hi,

Leo Famulari <leo@HIDDEN> skribis:

> On Fri, May 29, 2020 at 05:15:40PM +0200, Ludovic Court=C3=A8s wrote:
>> The info suggests it won=E2=80=99t be substituted, but it=E2=80=99s even=
tually
>> substituted.  I wonder why, because the .drv has:
>>=20
>>   ("allowSubstitutes","0")
>>=20
>> and the daemon has:
>>=20
>>   bool substitutesAllowed(const Derivation & drv)
>>   {
>>       return get(drv.env, "allowSubstitutes", "1") =3D=3D "1";
>>   }
>>=20
>> and:
>>=20
>>   if (settings.useSubstitutes && substitutesAllowed(drv))
>>       foreach (PathSet::iterator, i, invalidOutputs)
>>           addWaitee(worker.makeSubstitutionGoal(*i, buildMode =3D=3D bmR=
epair));
>>=20
>> Thoughts?
>
> I wonder if the content-addressed fallbacks take a different code path
> that doesn't respect "allowSubstitutes"?

It does, but this texlive-texmf.drv is not a fixed-output derivation.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#41602; Package guix. Full text available.

Message received at 41602 <at> debbugs.gnu.org:


Received: (at 41602) by debbugs.gnu.org; 30 May 2020 04:06:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 30 00:06:42 2020
Received: from localhost ([127.0.0.1]:56651 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jeslP-0002VD-6P
	for submit <at> debbugs.gnu.org; Sat, 30 May 2020 00:06:42 -0400
Received: from imta-38.everyone.net ([216.200.145.38]:60956)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bokr@HIDDEN>) id 1jeslM-0002V4-Ir
 for 41602 <at> debbugs.gnu.org; Sat, 30 May 2020 00:06:26 -0400
Received: from pps.filterd (omta003.sj2.proofpoint.com [127.0.0.1])
 by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 04U44LUf001178;
 Fri, 29 May 2020 21:06:23 -0700
X-Eon-Originating-Account: VtI5PiSs5k0cd_MIa5iSNGI8ceBqumf43-aL5lvSE1A
X-Eon-Dm: m0116787.ppops.net
Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 5a81dd03)
 id m0116787.5e67f91f.98305b; Fri, 29 May 2020 21:06:19 -0700
X-Eon-Sig: AQMHrIJe0du70zh1ZQIAAAAC,2cdab7681c30a631fcf1bee9dbae7fb7
X-Eip: 0nCpOmcZ3QDj3kvsg756sFiIEEz2yjJVl2yzLr0Qmtc
Date: Sat, 30 May 2020 06:06:09 +0200
From: Bengt Richter <bokr@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#41602: texlive-texmf is actually subtitutable
Message-ID: <20200530040609.GA2810@LionPure>
References: <878sha3h7n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <878sha3h7n.fsf@HIDDEN>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687
 definitions=2020-05-30_01:2020-05-28,
 2020-05-30 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
 priorityscore=1501 malwarescore=0
 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034
 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2004280000
 definitions=main-2005300030
X-Spam-Score: -0.4 (/)
X-Debbugs-Envelope-To: 41602
Cc: 41602 <at> debbugs.gnu.org
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>
Reply-To: Bengt Richter <bokr@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On +2020-05-29 17:15:40 +0200, Ludovic Courtès wrote:
> Strangely, ‘texlive-texmf’ (the big one) is substitutable:
> 
> --8<---------------cut here---------------start------------->8---
> $ guix describe
> Generacio 145   May 25 2020 00:37:58    (nuna)
>   guix 9744cc7
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 9744cc7b4636fafb772c94adb8f05961b5b39f16
> $ guix environment --ad-hoc texlive -- texdoc biblatex
> 2.6 MB will be downloaded:
>    /gnu/store/7ji4l3szj68b0r5w10bvvdx1vy6nhz5p-subversion-1.10.6
> downloading from https://ci.guix.gnu.org/nar/lzip/7ji4l3szj68b0r5w10bvvdx1vy6nhz5p-subversion-1.10.6 ...
>  subversion-1.10.6  2.5MiB                                                                                                                                7.2MiB/s 00:00 [##################] 100.0%
> 
> La jena derivo estos konstruata:
>    /gnu/store/55yx02hr0dz47px1aj0j14xll3bsrmml-texlive-texmf-20190410.drv
> 2,845.8 MB will be downloaded:
>    /gnu/store/nm6w84c9zj3yiylal3dk1sqzxq11sjzw-texlive-20190410-texmf.tar.xz
>    /gnu/store/xpkl70g3bls935h1zdlq7sn2j6rccp3k-texlive-20190410
> downloading from https://ci.guix.gnu.org/nar/lzip/z4xvgiliw5baf1pr4z03c7n2hw3bm5x5-texlive-texmf-20190410 ...
>  texlive-texmf-20190410  2.61GiB
> --8<---------------cut here---------------end--------------->8---
> 
> The info suggests it won’t be substituted, but it’s eventually
> substituted.  I wonder why, because the .drv has:
> 
>   ("allowSubstitutes","0")
> 
> and the daemon has:
> 
>   bool substitutesAllowed(const Derivation & drv)
>   {
>       return get(drv.env, "allowSubstitutes", "1") == "1";
>   }
> 
> and:
> 
>   if (settings.useSubstitutes && substitutesAllowed(drv))
>       foreach (PathSet::iterator, i, invalidOutputs)
>           addWaitee(worker.makeSubstitutionGoal(*i, buildMode == bmRepair));
> 
> Thoughts?

This is the kind of "wonder why" that makes me wonder about trojan horse bug fixes
as described in [1], which is a really interesting and scary read, especially since [1]
could very conceivably be an example of what it itself is talking about (though they
don't sound malicious, so I can hope trusting okular to display it was not giving
them a pdf or image parser to exploit with malice).

Anyway, please note that the "pdf" file starts with these lines:

--8<---------------cut here---------------start------------->8---
# I'm a shell script :-) so please make me executable!
# No shebang but I work equally well with Bash, Dash and Zsh
# The script embeds link-grammar, a x86-64 ELF so it requires to be run on a x86-64 linux system
--8<---------------cut here---------------end--------------->8---

What looks like the beginning of a normal pdf file starts at line 30 counting from 1 as first line.
okular will display the original as if it were pdf (bug??) though "file" just sees it as "data."

Trim off the first 29 lines and file sees it as pdf, and pdfinfo will find its way too.

Idk, you might want at least to cut out the first 29 lines before looking at it with e.g. okular,
(which I trustingly used to open the file): note that okular got past the 29-line script part, (which
is a bit promiscuous for my taste), and displayed the pdf.

It was really interesting, esp the sections around

--8<---------------cut here---------------start------------->8---
3
Deniable Backdoors Using Compiler Bugs
by Scott Bauer, Pascal Cuoq, and John Regehr
--8<---------------cut here---------------end--------------->8---

Maybe you can view it in a sandbox :) But don't blame me if you don't.
YOU WERE WARNED.

So read it -- and wonder what might come with a mysterious substitute ;-P

[1]  https://www.alchemistowl.org/pocorgtfo/pocorgtfo08.pdf

> 
> Ludo’.
> 
> 
> 

-- 
Regards,
Bengt Richter




Information forwarded to bug-guix@HIDDEN:
bug#41602; Package guix. Full text available.

Message received at 41602 <at> debbugs.gnu.org:


Received: (at 41602) by debbugs.gnu.org; 29 May 2020 18:04:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 14:04:20 2020
Received: from localhost ([127.0.0.1]:56180 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jejMh-0002TO-Pp
	for submit <at> debbugs.gnu.org; Fri, 29 May 2020 14:04:19 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33279)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1jejMh-0002TA-2O
 for 41602 <at> debbugs.gnu.org; Fri, 29 May 2020 14:04:19 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id 001235C00E2;
 Fri, 29 May 2020 14:04:13 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Fri, 29 May 2020 14:04:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:content-transfer-encoding:in-reply-to; s=mesmtp;
 bh=xeoM+eLb7CQjW2kVqqKxKv43x4XNpQIuhwL4bF8J44U=; b=ytw7i7CNZfax
 KpCJMiuSFXI7tK2/yHjLIZVZQBs/ZRv83mf5iPeVptWA/pRzzL2NzLbtILsUZXnb
 T3fK0tctr2PFOCTNs8y3yMpoyveOqPLuC+kXf3RsyVtOt0oDSP3+fSmOZZvKrS4o
 YV2yx5wjNTsPhwdfDGcr/FlCITioL2k=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=xeoM+eLb7CQjW2kVqqKxKv43x4XNpQIuhwL4bF8J4
 4U=; b=nG68dd0+UfSbhBdMtBkCN2eT1Ff8VY+tM1PgJJwQIa8ZBf7KDxgf150DQ
 zOIr60A7DYvcMytcBprrYs2Jj7NaAt0dIra2oFnaYEf6govVEVgKD1tiigdnMvuv
 Pc7QvVDeG5mhBt1bO+guVXNQBANWjyOKI+zaWg0WvamB5O7VXzArUUHW5EgmO9Ee
 /B7Qiok+HxwQpADmcQ4YYo8SIOI+CxVyf7M6bQNxvwTQbWUtRbvJoPAG0OpwGfSN
 pGrxuAiMoEbecBqgAWYH9/e0DBx5uNt//QT/Gi70mqKcpE+Estq/FM9ni9B/+a7d
 xQSJsXylpAUtSMb+bdDtzr4N7FCww==
X-ME-Sender: <xms:nU7RXhvz8zL2GzAhU8cBl0XrJNK06RdaFSHQnK_KN78mXFjXDXY5kQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvkedgleeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgvohcu
 hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth
 htvghrnhepgeejgeeghedtudfgffdutddvffefffejkeffffevffehgedvvdeutdffkeej
 jeejnecukfhppeejiedruddvgedrudefkedrieefnecuvehluhhsthgvrhfuihiivgeptd
 enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg
X-ME-Proxy: <xmx:nU7RXqfgIq0FlzP9QYSsvUqueecL7FRby_RAD5rB6mVrP1pAAnsBCg>
 <xmx:nU7RXkwJBPG3u0XyhQBGL9G177QTtiJzwQVTR5MAwHD-pXS3vdRsZQ>
 <xmx:nU7RXoOpBf4huNmjz_6aE97RK_M0m4PQa5n_Lw-yJkYgUcIbqVOeSA>
 <xmx:nU7RXkKGp4ldhTgy5aNJrWveG_xUsUqyJAUnK0MJnXVMwZYlZ61N-g>
Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63])
 by mail.messagingengine.com (Postfix) with ESMTPA id 7081F306215A;
 Fri, 29 May 2020 14:04:13 -0400 (EDT)
Date: Fri, 29 May 2020 14:04:11 -0400
From: Leo Famulari <leo@HIDDEN>
To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN>
Subject: Re: bug#41602: texlive-texmf is actually subtitutable
Message-ID: <20200529180411.GB3754@HIDDEN>
References: <878sha3h7n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <878sha3h7n.fsf@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 41602
Cc: 41602 <at> debbugs.gnu.org
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: -1.7 (-)

On Fri, May 29, 2020 at 05:15:40PM +0200, Ludovic Courtès wrote:
> The info suggests it won’t be substituted, but it’s eventually
> substituted.  I wonder why, because the .drv has:
> 
>   ("allowSubstitutes","0")
> 
> and the daemon has:
> 
>   bool substitutesAllowed(const Derivation & drv)
>   {
>       return get(drv.env, "allowSubstitutes", "1") == "1";
>   }
> 
> and:
> 
>   if (settings.useSubstitutes && substitutesAllowed(drv))
>       foreach (PathSet::iterator, i, invalidOutputs)
>           addWaitee(worker.makeSubstitutionGoal(*i, buildMode == bmRepair));
> 
> Thoughts?

I wonder if the content-addressed fallbacks take a different code path
that doesn't respect "allowSubstitutes"?




Information forwarded to bug-guix@HIDDEN:
bug#41602; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 May 2020 15:16:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 29 11:16:03 2020
Received: from localhost ([127.0.0.1]:55808 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jegjq-00047I-O4
	for submit <at> debbugs.gnu.org; Fri, 29 May 2020 11:16:03 -0400
Received: from lists.gnu.org ([209.51.188.17]:54258)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jegjp-00046s-5M
 for submit <at> debbugs.gnu.org; Fri, 29 May 2020 11:16:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44574)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1jegjo-0007Lp-WB
 for bug-guix@HIDDEN; Fri, 29 May 2020 11:16:01 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40982)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1jegjo-0006iu-MT
 for bug-guix@HIDDEN; Fri, 29 May 2020 11:16:00 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44068 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>) id 1jegjm-0001TT-U8
 for bug-guix@HIDDEN; Fri, 29 May 2020 11:15:59 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: texlive-texmf is actually subtitutable
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 11 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 29 May 2020 17:15:40 +0200
Message-ID: <878sha3h7n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
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: -3.3 (---)

Strangely, =E2=80=98texlive-texmf=E2=80=99 (the big one) is substitutable:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generacio 145   May 25 2020 00:37:58    (nuna)
  guix 9744cc7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 9744cc7b4636fafb772c94adb8f05961b5b39f16
$ guix environment --ad-hoc texlive -- texdoc biblatex
2.6 MB will be downloaded:
   /gnu/store/7ji4l3szj68b0r5w10bvvdx1vy6nhz5p-subversion-1.10.6
downloading from https://ci.guix.gnu.org/nar/lzip/7ji4l3szj68b0r5w10bvvdx1v=
y6nhz5p-subversion-1.10.6 ...
 subversion-1.10.6  2.5MiB                                                 =
                                                                           =
    7.2MiB/s 00:00 [##################] 100.0%

La jena derivo estos konstruata:
   /gnu/store/55yx02hr0dz47px1aj0j14xll3bsrmml-texlive-texmf-20190410.drv
2,845.8 MB will be downloaded:
   /gnu/store/nm6w84c9zj3yiylal3dk1sqzxq11sjzw-texlive-20190410-texmf.tar.xz
   /gnu/store/xpkl70g3bls935h1zdlq7sn2j6rccp3k-texlive-20190410
downloading from https://ci.guix.gnu.org/nar/lzip/z4xvgiliw5baf1pr4z03c7n2h=
w3bm5x5-texlive-texmf-20190410 ...
 texlive-texmf-20190410  2.61GiB
--8<---------------cut here---------------end--------------->8---

The info suggests it won=E2=80=99t be substituted, but it=E2=80=99s eventua=
lly
substituted.  I wonder why, because the .drv has:

  ("allowSubstitutes","0")

and the daemon has:

  bool substitutesAllowed(const Derivation & drv)
  {
      return get(drv.env, "allowSubstitutes", "1") =3D=3D "1";
  }

and:

  if (settings.useSubstitutes && substitutesAllowed(drv))
      foreach (PathSet::iterator, i, invalidOutputs)
          addWaitee(worker.makeSubstitutionGoal(*i, buildMode =3D=3D bmRepa=
ir));

Thoughts?

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#41602; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 3 Apr 2024 02:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.