From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gwl-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id 0O2GBte2HGLrawAAgWs5BA
	(envelope-from <gwl-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 28 Feb 2022 12:49:43 +0100
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id KHkzA9e2HGLSQgAAauVa8A
	(envelope-from <gwl-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 28 Feb 2022 12:49:43 +0100
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 9C969427F4
	for <larch@yhetil.org>; Mon, 28 Feb 2022 12:49:42 +0100 (CET)
Received: from localhost ([::1]:50122 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <gwl-devel-bounces+larch=yhetil.org@gnu.org>)
	id 1nOeX7-0006Xl-D7
	for larch@yhetil.org; Mon, 28 Feb 2022 06:49:41 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59712)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>) id 1nOeQh-0006fW-PC
 for gwl-devel@gnu.org; Mon, 28 Feb 2022 06:43:05 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:58294)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>) id 1nOeQe-0003Dj-BN
 for gwl-devel@gnu.org; Mon, 28 Feb 2022 06:43:02 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 05F9826E;
 Mon, 28 Feb 2022 12:42:58 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id aQD9d9ThUtX2; Mon, 28 Feb 2022 12:42:56 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id D6DF2BD;
 Mon, 28 Feb 2022 12:42:55 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Subject: Re: Problem with texlive-default-updmap.cfg
References: <8735k9hqj4.fsf@dlr.de> <87bkyxboue.fsf@elephly.net>
 <87pmnd9jc7.fsf@mdc-berlin.de> <87v8x0uset.fsf@gnu.org>
 <87fso45hd6.fsf@elephly.net>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 10 =?utf-8?Q?Vent=C3=B4se?= an 230 de la =?utf-8?Q?R?=
 =?utf-8?Q?=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: Mon, 28 Feb 2022 12:42:55 +0100
In-Reply-To: <87fso45hd6.fsf@elephly.net> (Ricardo Wurmus's message of "Sun,
 27 Feb 2022 18:48:18 +0100")
Message-ID: <875yozfc8w.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spamd-Bar: /
X-Rspamd-Server: hera
X-Rspamd-Queue-Id: 05F9826E
X-Spamd-Result: default: False [0.53 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[];
 RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 R_MIXED_CHARSET(0.63)[subject]; RCVD_COUNT_TWO(0.00)[2];
 RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]
Received-SPF: softfail client-ip=185.233.100.1; envelope-from=ludo@gnu.org;
 helo=hera.aquilenet.fr
X-Spam_score_int: -11
X-Spam_score: -1.2
X-Spam_bar: -
X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-BeenThere: gwl-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <gwl-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/gwl-devel>,
 <mailto:gwl-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/gwl-devel>
List-Post: <mailto:gwl-devel@gnu.org>
List-Help: <mailto:gwl-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/gwl-devel>,
 <mailto:gwl-devel-request@gnu.org?subject=subscribe>
Cc: gwl-devel@gnu.org, Ontje.Luensdorf@dlr.de
Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org
Sender: "gwl-devel" <gwl-devel-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1646048982;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post;
	bh=5YzSdY6HXK6seoT7u38ckabSfLql4oQKL/0Ymd1Rvrg=;
	b=thd7+dV4jcnPaUorTMR+p8dmQ0HAf9iyuOHhBlmNHclTug5/5auT4rce40QtmUNNMWwvI+
	7eaDGs01IadOonLTkIjVmHublckId/bL+lSzR8gSIKBRu4QuENnqPh74Wv84yAIEwq9LWM
	CtnbmWhl3M+PzSAbIQA5f4+G+/tEb0UzzpjBbEjApkszSCs9riN+WEfigxXo4JZ7JLURN4
	hk1hVJhkoanTFqoCxaw/szoyFbZ9q++/oUITSV8hPsdPLzZbkIrwhzRVPq9bRrYXKQBm9n
	e7kWR0ih+rq2c3y/i7trOJfzIPYfuIzXhwoh2N/3cG97FggdzKl6EWxCZBrhtQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646048982; a=rsa-sha256; cv=none;
	b=PD469NsQto7Ear9sAl4VDXg4+LxIOW7z0swoYOD9HwBjvljhNo16AwHxLqmqUtIvHfHl7f
	Ioxsnhxearkx9KlnpsKNJ8KA/P67E0UVGTRsYpV6LRddI2lS0Q/wfCoE0Txx5gWNb/oXCJ
	L7sfc0rTbUmsc6W0Dvj+3J1APBxtsp79SQJmSMaXAorlYDfJGgEh3uptarxwMzo4uUx87W
	pHNIsy4Xh7llOoWAufAMKP3HHETEgVgMnd4P+nuCuLPhGzpgTg2Rtkprd3Ar0vDtnCDFfb
	deVnaoPSl5gvAcyuU4VKsLt/KJUKOIajZLn9mmopii4qLAi/z1g00+pxH6QuQQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -4.10
Authentication-Results: aspmx1.migadu.com;
	dkim=none;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 9C969427F4
X-Spam-Score: -4.10
X-Migadu-Scanner: scn0.migadu.com
X-TUID: PZfcPSLdId6u

Hi,

Ricardo Wurmus <rekado@elephly.net> skribis:

> Ludovic Court=C3=A8s <ludo@gnu.org> writes:

[...]

>>> The profile hook does perform a lazy package lookup with this:
>>>
>>> (define updmap.cfg
>>>     (module-ref (resolve-interface '(gnu packages tex))
>>>                 'texlive-default-updmap.cfg))
>>>
>>> I wonder if that ends up being evaluated outside of the inferior
>>> somehow.  That would be quite a bummer.
>>
>> Not sure I understand the context well enough, but yes,
>> =E2=80=98texlive-font-maps=E2=80=99 in (guix profiles) uses packages fro=
m the host Guix,
>> not from an inferior (it cannot know that inferiors are being used).
>>
>> Does that lead it to build incorrect font maps or things like that?
>
> Worse: there=E2=80=99s a mismatch between what one Guix wants and what th=
e other
> offers.  Apparently the profile hook from the newer Guix is used, but
> the look up of texlive-default-updmap.cfg in (gnu packages tex) happens
> in the older Guix =E2=80=94 which doesn=E2=80=99t *have* that package =E2=
=80=94 and thus fails.

You mean the =E2=80=98module-ref=E2=80=99 above happens in the inferior=E2=
=80=99s module?

That=E2=80=99s not possible, unless there=E2=80=99s some extra load path tr=
ickery going
on.

Do you have a simple reproducer?

Thanks,
Ludo=E2=80=99.