From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 20 17:02:56 2022 Received: (at 53339) by debbugs.gnu.org; 20 Jan 2022 22:02:56 +0000 Received: from localhost ([127.0.0.1]:59553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfWC-0001zM-6U for submit@debbugs.gnu.org; Thu, 20 Jan 2022 17:02:56 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAfWA-0001zD-J6 for 53339@debbugs.gnu.org; Thu, 20 Jan 2022 17:02:55 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1642716171; cv=none; d=zohomail.com; s=zohoarc; b=NI/CBtpcYxjFbXEMAAcc90Np48UAUXDcgl1Ki5N9UQWFWKe/dPKQAAylxdWDZylQbsdr1x8J2sakpTxfXsggkKEIToYw8XF3dCCxY2j1tThHY/7tMmuhww6w1qHvTWnLUStB+5UG+8DpeE2Ow/3JR4QcQGW1ja3Pfh/51vVjzJo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642716171; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=W6jOlZnRVQaBESQcrTzL3kOzaDrLp6iS6ah2cgZCPhc=; b=Jlzm3bEM9N+ECwWCjb7F7smEzPMs2Hobg6u8/pqbNQGol7FKE73e25rvS2f2lhohz+I+fSC1NkhoVmzqG5+U0FprnBIKYAymjMmXRPUFJOTtglDYDHjyHsrkBHDP8jECbD3CZGmQeezAgAfs8r0K1g/rrP+9rASqNZHj8r8YHN8= 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=1642716171; 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=W6jOlZnRVQaBESQcrTzL3kOzaDrLp6iS6ah2cgZCPhc=; b=gNDTGqWqSM9yePtBD3nt/8V7raHPWJ7a+byqqkexDCNKl8OZjBLB48BBwiF5mrFG 3Ut6PXc3VGymj1vg7D0yNGLd+VeuVebWaSHY7HGBUPvrdKC5h6DFabKe3zjKVQednwz 5p+J+mZo/lv56E1Sey/Bsi35Hl83fOjzHwaDBysE= Received: from localhost (p54ad45cc.dip0.t-ipconnect.de [84.173.69.204]) by mx.zohomail.com with SMTPS id 1642716168765898.8934751488058; Thu, 20 Jan 2022 14:02:48 -0800 (PST) References: <3MZHV817SGKBJ.3B0327AW4LN9K@wilsonb.com> <87o846snyl.fsf@elephly.net> User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus To: 53339@debbugs.gnu.org Subject: Re: [version-1.4.0] Package with texlive-updmap.cfg and texlive-amsfonts failing to find Euler Date: Thu, 20 Jan 2022 22:58:42 +0100 In-reply-to: <87o846snyl.fsf@elephly.net> 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: <87czkmqd4q.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53339 Cc: elaexuotee@wilsonb.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ricardo Wurmus writes: > elaexuotee@wilsonb.com writes: > >> Attached patch on top of version-1.4.0 attempts to typset PDF docs for t= he >> metamath package. However, the below error results, which seems to indic= ate >> that the Euler fonts are not found, despite texlive-amsfonts existing in= the >> texlive-updmap.cfg input. >> >> (/gnu/store/s952x1vkbbcprklzlzimn3m2dn53mjx9-texlive-amsfonts-59745/= share/texmf-dist/tex/latex/amsfonts/ueuf.fd) >> kpathsea: Running mktextfm eufm10 >> mkdir: cannot create directory ?././homeless-shelter?: Permission de= nied >> mktextfm: mktexdir /homeless-shelter/.texlive2021/texmf-var/fonts/tf= m/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) fi= le 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. It now does. Commit 374464a3bbd38f43784af0cdf54ddceed93e41bd adds a new texlive-amsfonts/fixed and adds it to the replacement field of texlive-amsfonts, so it should be grafted. > 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 automat= ic > test. We could do this as part of an optional build phase. Commit 5ecb4acdcb95478c6efe63bf9caa4db6bda82aba implements the most basic check. We can=E2=80=99t use it during the build, because tlpdb curre= ntly needs modules that aren=E2=80=99t available on the build side (e.g. those to build texlive-bin and look up a file it provides), but it can be used in a REPL: ,use (guix import texlive) (files-differ? "/gnu/store/aiknpz049bqbr73s58yaqk3ln7hq8n4x-texlive-ams= fonts-fixed-59745/share/" "amsfonts") This should return the empty list. As should this, which lists files that should not have been installed according to the tlpdb: (files-differ? "/gnu/store/aiknpz049bqbr73s58yaqk3ln7hq8n4x-texlive-ams= fonts-fixed-59745/share/" "amsfonts" #:direction 'extra) The fixed package installs exactly the files it is supposed to and nothing more. Could you please try again? --=20 Ricardo