From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4I/VAKhE6WFfOgAAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 12:16:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cLrxOKdE6WGQNQEAauVa8A (envelope-from ) for ; Thu, 20 Jan 2022 12:16:55 +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 01E7829BDD for ; Thu, 20 Jan 2022 12:16:53 +0100 (CET) Received: from localhost ([::1]:55374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAVQt-0004pV-SY for larch@yhetil.org; Thu, 20 Jan 2022 06:16:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAUes-0007RX-TA for bug-guix@gnu.org; Thu, 20 Jan 2022 05:27:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAUej-0003Is-Td for bug-guix@gnu.org; Thu, 20 Jan 2022 05:27:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAUej-0008F2-La for bug-guix@gnu.org; Thu, 20 Jan 2022 05:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53339: [version-1.4.0] Package with texlive-updmap.cfg and texlive-amsfonts failing to find Euler Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 20 Jan 2022 10:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53339 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53339@debbugs.gnu.org Received: via spool by 53339-submit@debbugs.gnu.org id=B53339.164267436531605 (code B ref 53339); Thu, 20 Jan 2022 10:27:01 +0000 Received: (at 53339) by debbugs.gnu.org; 20 Jan 2022 10:26:05 +0000 Received: from localhost ([127.0.0.1]:56458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAUdp-0008Dh-B9 for submit@debbugs.gnu.org; Thu, 20 Jan 2022 05:26:05 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAUdl-0008DG-KV for 53339@debbugs.gnu.org; Thu, 20 Jan 2022 05:26:04 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1642674359; cv=none; d=zohomail.com; s=zohoarc; b=BcSJ9JU2GG2ola9R9QegfeXf1iMvk/83IJQp4Oex1jPR6guI3T3zxERLNHi9h5AHPi3HFLgQ+XdnBHEDI2S4+eLTJX7vw0OIm+aQhxLxS1nH3UXB1FTMZ2K2yY3U721wXDnwUHMD8VoAav49wcrTeDNeQgkF0H9AgozUeg0unXE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642674359; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=8OcFfeb7mg1P5lyHCudmqldNf5zqHlFxouowUKmc6m4=; b=m0omMLB3x8vET1XwWCj7F5IbDn4SNhTH6dYXSfmN9vFaqghn7aA1mhZ/KhKSJIAzvgmnI2CpXwSAAbdfGJMpV9wL6eSRkKioL4CONv5c9NHHVBC6lUatZrO+gMux/maX5oD/8mCed3C7y0UnGc4O+80oJ/ge07ehlEbgGWZg3ns= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1642674359; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=8OcFfeb7mg1P5lyHCudmqldNf5zqHlFxouowUKmc6m4=; b=FeClZIVi5VUuB6GrZoso6GpNmKk1/PiDfpa+W8U2YMyBM4vlcrhQOcOspe5h2gEc sOO09uL/+4AGGoEIsIHZeu2P9imsro9XsCyGY/jLaK7Yc3WBKaXcp7CmRpfNw/RFEun SY7PYXRmW60DE9ZRPnO9jraOq1xM0/IMLQtj4evU= Received: from localhost (p54ad45cc.dip0.t-ipconnect.de [84.173.69.204]) by mx.zohomail.com with SMTPS id 1642674357674313.4157647601668; Thu, 20 Jan 2022 02:25:57 -0800 (PST) References: <3MZHV817SGKBJ.3B0327AW4LN9K@wilsonb.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus Date: Thu, 20 Jan 2022 11:20:55 +0100 In-reply-to: <3MZHV817SGKBJ.3B0327AW4LN9K@wilsonb.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87o846snyl.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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: , Cc: elaexuotee@wilsonb.com Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642677415; 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: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=8OcFfeb7mg1P5lyHCudmqldNf5zqHlFxouowUKmc6m4=; b=eqmIU9LxIshAiBbFRuSd2dW0uh1t+374u+xhoQdJTx9xrdxQyo387CJclsmcudNd3wZeWF CRr9g84748zkHb8E1ri1ytgIIzT2IN7xmFtEfoXgkwWBmJs9ieEqvlBB1MdSyA2hUt9XFs n3rdRHeCwhgX7R9WC9txRxKf+j00NsrCS7QQE2Qa/sMTvbJXbwtcz7/5gqlY1UJSGRLxkc /ZSxrFgwcrqTNoxIPPxoYmvSZVK/NiY9PAB86otAnxrFalxGyGnn5Vz9ZG+X/5ALm8EwkG PTivfWq/EbTXKq+sgK/vCzmiim0D9y52SK/P2WNwwNFohbrLV8jNiXRzjPP2/g== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1642677415; a=rsa-sha256; cv=fail; b=gwquXAqg2sF4ZLJH3F57kSDY6tbdziANpeXdq2tIbqp3Py/V0ZiGHa2LaNa9fLd0uE5NfW BuyS6ZTy59o7PB13zO8bsZVha6iqWb9d4aCJeR7tyEp7H2QBqxaDKUVY9pWDBf8MGXzHsQ iQ6XsXxbVPKBMkX5G37UgrjlRfB6qiEivRvU7xNJDud5BH4kDKgkEebkZYOfJgOsNLUNGM Cs348B/hyK3Hj42pDauMGRTiDkYRw0PX03Mm2B344orA8qa/pAwNCMgqhCdUtlIpA8x/F9 SiDJUCPkG8DnDwcjoqZ+/llObXH/jmyFBSBUavsQgQWrDHoW1V0zu+G9XWt7xA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=FeClZIVi; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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: -1.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=FeClZIVi; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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: 01E7829BDD X-Spam-Score: -1.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: uJPP2Lsj3Zp3 elaexuotee@wilsonb.com writes: > Attached patch on top of version-1.4.0 attempts to typset PDF docs for the > metamath package. However, the below error results, which seems to indica= te > that the Euler fonts are not found, despite texlive-amsfonts existing in = the > texlive-updmap.cfg input. > > (/gnu/store/s952x1vkbbcprklzlzimn3m2dn53mjx9-texlive-amsfonts-59745/s= hare/texmf-dist/tex/latex/amsfonts/ueuf.fd) > kpathsea: Running mktextfm eufm10 > mkdir: cannot create directory ?././homeless-shelter?: Permission den= ied > mktextfm: mktexdir /homeless-shelter/.texlive2021/texmf-var/fonts/tfm= /ams/euler failed. > kpathsea: Appending font creation commands to missfont.log. >=20=20=20=20=20 > ! Font U/euf/m/n/10=3Deufm10 at 10.0pt not loadable: Metric (TFM) fil= e not found. > This is a problem with the texlive-amsfonts package. The tlpdb says that it should provide eufm10.tfm, but it doesn=E2=80=99t. We=E2=80=99re building the fonts from source: --8<---------------cut here---------------start------------->8--- ;; Frustratingly, not all fonts can be created this way.= To ;; generate eufm8.tfm, for example, we first scale down ;; eufm10.afm to eufm8.pl, and then generate the tfm fil= e from ;; the pl file. (setenv "TEXINPUTS" (string-append ":" build "//:" (getcwd) "/fonts/afm/public/amsfo= nts//:" (getcwd) "/source/latex/amsfonts/= /:")) (with-directory-excursion build (for-each (match-lambda (((target-base target-size) (source-base source-size)) (let ((factor (number->string (truncate/ (* 1000 target-= size) source-size)))) (invoke "tex" "-interaction=3Dscrollmode" (string-append "\\input fontins= t.sty " "\\transformfont= {" target-base "}" "{\\scalefont{" = factor "}" "{\\fromafm{" so= urce-base "}}} " "\\bye"))) (invoke "pltotf" (string-append target-base ".pl") (string-append target-base ".tfm"= )) (delete-file (string-append target-base "= .pl")))) '((("eufm8" 8) ("eufm10" 10)) (("eufb6" 6) ("eufb7" 7)) (("eufb8" 8) ("eufb10" 10)) (("eufb9" 9) ("eufb10" 10)) (("eufm6" 6) ("eufb7" 7)) (("eufm9" 9) ("eufb10" 10)) (("eurb6" 6) ("eurb7" 7)) (("eurb8" 8) ("eurb10" 10)) (("eurb9" 9) ("eurb10" 10)) (("eurm6" 6) ("eurm7" 7)) (("eurm8" 8) ("eurm10" 10)) (("eurm9" 9) ("eurm10" 10))))) --8<---------------cut here---------------end--------------->8--- As you can see, we=E2=80=99re not building eufm10.tfm from the pl file. Oo= ps. Fixing this is easy, but any change to texlive-amsfonts will require rebuilding the world =E2=80=94 unless we use grafts. We can avoid these problems by checking that all texlive packages produce all the outputs that the tlpdb specifies. The texlive importer already works with the tlpdb; we=E2=80=99d just need some sort of automatic test. We could do this as part of an optional build phase. --=20 Ricardo