From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ELV2GVX3l19YbwAA0tVLHw (envelope-from ) for ; Tue, 27 Oct 2020 10:32:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UHdfFVX3l1+NJQAAB5/wlQ (envelope-from ) for ; Tue, 27 Oct 2020 10:32:53 +0000 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 D66B49402A2 for ; Tue, 27 Oct 2020 10:32:52 +0000 (UTC) Received: from localhost ([::1]:38934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXMHb-0001rV-Nb for larch@yhetil.org; Tue, 27 Oct 2020 06:32:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXMHF-0001pY-IT for guix-devel@gnu.org; Tue, 27 Oct 2020 06:32:29 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXMHB-0004BR-Fy; Tue, 27 Oct 2020 06:32:29 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1603794741; cv=none; d=zohomail.com; s=zohoarc; b=AT9uR2Fd4vNPaNkD9h2SUTWGbfBH0FcfE4MXctbibBX8//kYNUMA3i2aBjDqxT1GKKz16snpfxrWcEmrXXj6jhfZqEgr6TSVXKRhdowvAfafWOY2KKRWV5A1gy3+zbI/gzmvyEXrtu6skbTttA6EgvPrNYFRgHi/5SSI/WDvSgA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603794741; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=TCXX7Pq5VP0k1vkzTxhXLKxRfmM3viQ7I0TITawg31A=; b=YM50D9QlYvW4bmSDzf3wEpDTl5WYWq7RX4C6iUTOu2Gufe8hg0827tCPRHRH8olCuhIcjC5hxaii01LttzgEF6UeR3XgrUKTyH2v5U288hoGbJKkAeeYT1/+KdRkY7B/RjtsynzUPhJJKgvz70jEdv+VMDJAQgiZy2OlqVwwcus= 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= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1603794741; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=TCXX7Pq5VP0k1vkzTxhXLKxRfmM3viQ7I0TITawg31A=; b=fU3EYabYW3+KlUQwIU6WP+U+aKQIL2OX+U1lqeG9SqkfPPG4sZiQ0pU5xBOTtY78 g0du5OUNvefKPrPUVHnQi7H0RrgcjvkEZAORgZzR47cN7VNZBD3rjrgaruc5QmWizu/ Uf+n1wf/nRqIJodyKV181+ZBN45do0/p58d8LCu4= Received: from localhost (p54ad4da6.dip0.t-ipconnect.de [84.173.77.166]) by mx.zohomail.com with SMTPS id 160379473961871.17080635248692; Tue, 27 Oct 2020 03:32:19 -0700 (PDT) References: <86lfg6z0lm.fsf@gmail.com> <87tuuuvum5.fsf@elephly.net> <87r1pyvsn4.fsf@elephly.net> <87lffz6fmc.fsf@gnu.org> <878sbzut6q.fsf@elephly.net> <87zh4etqnj.fsf@elephly.net> <87wnzitof3.fsf@elephly.net> <87o8kut4vm.fsf@elephly.net> <87ft66t2uj.fsf@elephly.net> <87blgq36oa.fsf@elephly.net> <87zh488uuo.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Manual PDF and translation (modular texlive?) In-reply-to: <87zh488uuo.fsf@gnu.org> 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 Date: Tue, 27 Oct 2020 11:34:06 +0100 Message-ID: <87wnzc0xgh.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/27 06:32:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=fU3EYabY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: Di3HX6528w0Y Ludovic Court=C3=A8s writes: > Hi! > > Ricardo Wurmus skribis: > >> This patch fixes it: > > [...] > >> + (("translate-file=3Dcp227") >> + (format #f "translate-file=3D~a/share/texmf-dist/= web2c/cp227" >> + (assoc-ref inputs "texlive-kpathsea"))))) > > Woow, thumbs up. Not something one could have guessed! Hah, when I originally added the code to build the fmt files this problem did stick out to me, but I thought it would be solved eventually by modifying search paths in the configuration file. It=E2=80=99s odd that the file cannot be found when it is already part of t= he texlive-union and the search paths include all sub-directories. But I don=E2=80=99t want to investigate further when patching gets us to the corr= ect output faster :) >> There are still remaining problems when using make doc/guix.de.pdf: >> >> * kpathsea causes mktexpk to be run for a number of fonts that already >> exist in the union (e.g. ecrm1200). Why aren=E2=80=99t they found? P= erhaps >> that=E2=80=99s because TeX Live only includes the font metrics (.tfm),= but not >> the .pk files. I wonder why the .pk files are used at all. >> >> * despite successfully generating the PDF file in the temporary build >> directory, make aborts: >> >> /gnu/store/mw4llmn2l617gf5zakfk1l154f19lxbm-profile/bin/texi2dvi: pdft= ex exited with bad status, quitting. >> make: *** [Makefile:4375: doc/guix.de.pdf] Error 1 > > =E2=80=98texi2dvi=E2=80=99 swallows error messages; I=E2=80=99m not sure = it can be made more > verbose, but I remember debugging it through strace (!) where I could > see the underlying messages, which sometimes contain hints if you=E2=80= =99re > able to read between the lines. I used strace as well before I found that the log files are kept in the temporary build directory under doc/guix.de.t2p. Later I found that =E2=80=9Cmake V=3D1 doc/guix.de.pdf=E2=80=9D shows the TeX output, which is= also helpful. Still, it=E2=80=99s very noisy and it=E2=80=99s not clear which of the many= messages correspond to the fatal error. Oh well. The .pk files are bitmap fonts that are generated when T1 fonts are not found. Adding texlive-cm-super to the union avoids generation of bitmap fonts for the CM fonts (which are the default when no other fonts are found), so that solves most of the problems and allows me to remove all of those (setenv "HOME" "/tmp") hacks in packages that use the texlive-union. That=E2=80=99s now implemented on the wip-texlive branch. The French manual can be built in PDF format, so I=E2=80=99m suspecting a problem with the German texi sources that turns fatal when building the PDF. --=20 Ricardo