From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aD3aAvoF42IOEgAAbAwnHQ (envelope-from ) for ; Thu, 28 Jul 2022 23:56:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cMrlAvoF42LLEAAA9RJhRA (envelope-from ) for ; Thu, 28 Jul 2022 23:56:10 +0200 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 AB6021524E for ; Thu, 28 Jul 2022 23:56:09 +0200 (CEST) Received: from localhost ([::1]:39692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHBUG-0008Am-P1 for larch@yhetil.org; Thu, 28 Jul 2022 17:56:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHBUA-0008Ae-JR for bug-guix@gnu.org; Thu, 28 Jul 2022 17:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHBUA-0003T5-Ay for bug-guix@gnu.org; Thu, 28 Jul 2022 17:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHBUA-0003Nh-4u for bug-guix@gnu.org; Thu, 28 Jul 2022 17:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55113: [BUG] texlive-bin doesn't set $TEXMFCACHE properly Resent-From: Christopher Rodriguez Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 28 Jul 2022 21:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55113 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Maxim Cournoyer Cc: 55113@debbugs.gnu.org, Christopher Rodriguez Received: via spool by 55113-submit@debbugs.gnu.org id=B55113.165904535112979 (code B ref 55113); Thu, 28 Jul 2022 21:56:02 +0000 Received: (at 55113) by debbugs.gnu.org; 28 Jul 2022 21:55:51 +0000 Received: from localhost ([127.0.0.1]:59528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHBTz-0003NH-3Z for submit@debbugs.gnu.org; Thu, 28 Jul 2022 17:55:51 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:42968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHBTw-0003N3-Ik for 55113@debbugs.gnu.org; Thu, 28 Jul 2022 17:55:49 -0400 Received: by mail-qk1-f170.google.com with SMTP id o1so2446000qkg.9 for <55113@debbugs.gnu.org>; Thu, 28 Jul 2022 14:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=pMPjalB90FjPNjj5HMTqTf+nEve4elC4PaVGOvImTiQ=; b=Y4w5bNnptzRNzf6RX5y/TjQZRStEVuZeYwRRfoUW3KpaBt5k0cZLtCSatpfZCUd7f2 aeG/8vlxv8XVyeNQHb72MrOaiFP+73o5WP4Wrri/XIC3HIKpcyXYtclzZRAyP4T1hzIH YbF+EamlkoEuQqIyxyd4B4J1aKHPAe+Xmi0dqd137XlVnU8lvmSxtinl768quqLOSNKk lMoHq5ai/qjVAAPyIRPhTVE16b1L3jUcGTbznD/TvvLCbtarj6fCmuRcVSJW1J8yV+wM /kphTAwy1bWXqunHGeluTtrcuTQF+enCrrJ0CjT/JdXcDuWs8vKFzsSB9VhZ92RKk1aE KAQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=pMPjalB90FjPNjj5HMTqTf+nEve4elC4PaVGOvImTiQ=; b=JmO8RKT/s9xawny1ttQlmnhf9GD/0AJdkz73YOxyBmyTfBQn/+8p1zL6FZ1YsgJYKg Yiz8/YOUW94/D+B9/L5nU72x0Jw26xbicbGP4NoQpZFsl2um3ajARxtI9LO9HOfxZ/i2 KufVeozl536sNmT3uSqFAy2qpzJqkfVW9hZnKOu9sHKUdlNqOm00hXl4XbA+2xygAZl7 Rqbz2cuumZa/X7MYIIWlwuokpXmWJU+lA1flJaIPtpIGjpttqOPlD4+E1iL6nnntt0e/ /u9hy4ZUnDmKo3JMMiimg13HlVidKCFt3YcAzkFMOebLNBAET2NQOWA5wO7xNHodc0nI a4aw== X-Gm-Message-State: AJIora+Jho8G+as0N9N/lYjXIwehCzE5mHWu6GeVlOoeShRxOerrbcaV O3HP3tYrU1vtwqgLcUVT5DHc+kVRO24aTw== X-Google-Smtp-Source: AGRyM1tehHEJhbafU6ctgINp6zsIvtl0KCZtiGc/Me36bYjIEQun9MbbOrpaV+Sz6Etk1+6MGikPFg== X-Received: by 2002:ae9:e313:0:b0:6b5:e41b:64fe with SMTP id v19-20020ae9e313000000b006b5e41b64femr685793qkf.323.1659045342776; Thu, 28 Jul 2022 14:55:42 -0700 (PDT) Received: from gmail.com ([2601:547:a00:7720::bae2]) by smtp.gmail.com with ESMTPSA id bq16-20020a05622a1c1000b0031ece8b6666sm1075882qtb.43.2022.07.28.14.55.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 14:55:40 -0700 (PDT) References: <87h73huceo.fsf@gmail.com> User-agent: mu4e 1.6.11; emacs 28.1 From: Christopher Rodriguez Date: Thu, 28 Jul 2022 16:58:17 -0400 In-reply-to: <87h73huceo.fsf@gmail.com> Message-ID: <87k07wsy0b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659045369; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=pMPjalB90FjPNjj5HMTqTf+nEve4elC4PaVGOvImTiQ=; b=ESMIjE/LmQqCAuLaUq/ZvuXiW4ds2XzEJh9P4hYt+fQcOHOzf4l7pXwnWPEa1Lg/V3Bf+s yIpypmUzzt6111WIexM3ZELEeKRwe8B5EPcjemDH7Dt4CFfw7l1l7xEFBeym2fya6tiCyH TsU9GafPJEQPAXHpETIdZSz9M7qB93y9nQaeSXXhzaonBQbalXL3P4a0EFrxO7uSQfvAD4 N0ryZXcwzr1UkXs7mzWxsU049S3vPb7J+1JuiVD9mJ+9+9IP5RUy2FwcZswWtFjwxTDTks EJKJBuwZz8uIhfvDL7UpTLjv7nzSsNe5usKx/Kn9bePZEV9r740v1q6Z+ObLlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659045369; a=rsa-sha256; cv=none; b=nDtUdt6mFCxknHRkQZcr9U2b1NayzpVvsskawEXiJRT5aYCkTxJGMwtaV18R4N9NONKaZB 8NWrx4J9mmPTrAzSOyyrZO9ME1x9nKEPOPvvtHyV1eEm1P7S/QWKinSgpUc1Z1llyJhyqK SuShzh5oQSqr47b/f4X3DWOuwGHSpj6VRyxkP4Vo00nZ+KQBxiRKZjsSLBqT2eg1sCcn5/ v4jtcB5uIN1aDTJlRr4ZII2Przau8qFJcvgVFlgq7NRI+vEbx7IRbJ9IPOyqCWZn2OGQ9q PFQINiLGsiHk8rL+JDAWBtv4NKIy3odoxqP94CyKLKDHUZLfz6yufvC/FuWBwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y4w5bNnp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Y4w5bNnp; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AB6021524E X-Spam-Score: 4.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: EE2FDCCU+R24 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sorry for the delay; I came down with the rona and was knocked out of commission for a while. Maxim Cournoyer writes: > Could you share your workload to demonstrate the problem (reproducer), > if it's not too complicated? texlive-bin sets GUIX_TEXMF; perhaps > TEXMFCACHE is derived from it in the default texlive config. Absolutely. I've taken the liberty of uploading a terminal log[1] to demonstrate. Basically, as I'm using these piecemeal packages, I am trying to include as few packages as possible, and therefore keep things minimal. When I do so, however, the selection of packages does not set TEXMFCACHE. As I use lualatex, this means it is autodefined, and incorrectly, as the following (note the braces; might be a failed variable or something?): {$GUIX_PROFILE/share/texmf-dist/} This ends up creating a \{/ directory in the same directory as lualatex is run, and thus doesn't ever create a cache for fonts to use. If the braces weren't there, it would instead be pointing to a read-only directory in the store (or rather, a symlink to one) I believe. The guix shell I used in my example[1] was the following: guix shell --pure texlive-luaotfload texlive-bin bash \ texlive-tex-ini-files texlive-latex-base tree coreutils I feel this is the minimal packages needed to show this issue, though the above will always fail to create a /usable/ cache: It includes none of the fonts (and so I bail on the compilation while it is looking for a default font with 'X'. However, the directory has already been created at this point, and therefore the problem already exists. The same behavior, minus the failed compilation, can be observed in my full manifest of texlive packages[2], though some of those are self-defined in my personal channel[3]). If GUIX_TEXMF is being set by texlive-bin, perhaps that variable should be used to set an otherwise-empty TEXMFCACHE in texlive-bin as well? If overrides are needed, the user could then still set that variable in their profile. And this would allow the out-of-the-box experience for piecemeal texlive packages to be smoother. (Also, so long as it points to a writable directory, it doesn't really matter to me /where/ that directory is. I chose $HOME/.local/share/texmf-dist/ because it seemed standard, but I'm necessarily saying it is the 'correct' one.) What do You think? [1]: http://paste.debian.net/1248671/ [2]: http://paste.debian.net/1248676/ [3]: https://git.sr.ht/~yewscion/yewscion-guix-channel =2D-=20 Christopher Rodriguez --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJMQbvYVxvZ0eF/84XZ6FgaGVz3sFAmLjBdQACgkQXZ6FgaGV z3v9OA//TCi5Idk94iJ3yrM1pUgWqeAptK2ELXFy+8Ku+8LMgOLKWKs0fS2bfNbU KqdraGBnRUIlAKNAbbG13+MtrRF9I2g9j34rVFLQpJmveuckIBa38dk4uql7Rl4l Cv5M6UoVttIgJItE97UqHqzZpI/Glrxda3Wqe6L4aL2KY7uhFCHLqVCAn0CH7CnQ +n483+vqyHO7YrfcZiT/EMI8sS/ats5AIgmmWjGaKtFN9m65n8puQhwr65fVHWBR YORlXcWp2l1R+LwXTXOXmdiGhAwwC3+OQh84kITOsGlwBXmuQO8gfXp6FItj5msF e8oYxEVF/yFLQOuyjrMOrSnRV583g1Y8iCU2IS8iJR1e3zyJ7UvXtVg6KAiSXVTm pG97faal3cHw6mt5Bfo8fFimcJaJA5o2TVYLsin03whL7wHuWM3pZvK3Q9hWKiVc ZpB8WQmAZtS4wG89xFJZ20HYPHzKjFTZdWdOnG0Dq5bBksed7PLBGd8zUbaZc6aW 5EeuRYHH6zW28l/2EhyOVxlGcowkjvZsCNb8Ii8g3qNnt4paaWvfOK5iNWveiKq4 OUrEoQGWqqTzG9QZHF0Brj0SdlbaGNUbj2nPYGGgbEUl/obIaWLXCRmKHKqlKV7z 7n8db1FkH90jRsx4YbvGgPPWauK5hBO2I5lNOOQgHlG2GpWwmBE= =5/2b -----END PGP SIGNATURE----- --=-=-=--