GNU bug report logs - #37314
Various TeX Live problems

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ricardo Wurmus <rekado@HIDDEN>; dated Thu, 5 Sep 2019 21:18:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Sep 2019 21:18:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 05 17:18:00 2019
Received: from localhost ([127.0.0.1]:36149 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i5z8i-0007vO-Jz
	for submit <at> debbugs.gnu.org; Thu, 05 Sep 2019 17:18:00 -0400
Received: from lists.gnu.org ([209.51.188.17]:35965)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1i5z8g-0007vG-L3
 for submit <at> debbugs.gnu.org; Thu, 05 Sep 2019 17:17:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36664)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <rekado@HIDDEN>) id 1i5z8e-0004Be-1J
 for bug-guix@HIDDEN; Thu, 05 Sep 2019 17:17:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rekado@HIDDEN>) id 1i5z8c-0004bW-Ob
 for bug-guix@HIDDEN; Thu, 05 Sep 2019 17:17:55 -0400
Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21341)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rekado@HIDDEN>) id 1i5z8c-0004XJ-CL
 for bug-guix@HIDDEN; Thu, 05 Sep 2019 17:17:54 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1567718269; cv=none; d=zoho.com; s=zohoarc; 
 b=jq+kIYhDjGuLQNbwThr3eaTM5sskwsyi2jtFeJ15gEsJbt0LbvhEaxzr31pzCfJVhac2t42wkTv1n4Y3dkzt0WHGOxUCB0zl8OmCGKvpMst5z4IhL5xuvonrrGAdqWN6W1ztEdg82A9xDxrX+8PZY24jvwzAfFHQKB1BeHf2Nz0=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com;
 s=zohoarc; t=1567718269;
 h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results;
 bh=cjzwy6gebyNF1T91js6XpflAnnIREAR317EIErtaXNY=; 
 b=hQh4phgngb+8u43x+Me7jVlIomvIxCyevmkuUruYTJ5KbUJGw9+qt8wslbA+QpF5/8blZRvNBYhC/jAT+i9sHxbvMZvz9vLDvm4vUancavY382PQ4FKxSzm1SdyHSJmCLCCwRcnYpyrWyclv/K43RakQsx1aweMAwtOuhEDC2TY=
ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1567718269; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=3438; bh=cjzwy6gebyNF1T91js6XpflAnnIREAR317EIErtaXNY=;
 b=ca69hRzVwwSMV84M+4Cf91Ex598FmOB8xYW/PMKzFn4hapj1qcXMt9e1uGTgqhCk
 4u/cjUbfg/k0yxNHj5TZ6WdEDM6u5iOCtMVLEIY/F5hKCUifHEcAvqX3jHmg1Ecg4ZV
 mVMwLErHMRphCDJ0caOYW05UIOdaVNvsqZk52b0w=
Received: from localhost (p54AD4ECF.dip0.t-ipconnect.de [84.173.78.207]) by
 mx.zohomail.com
 with SMTPS id 1567718267532577.9119079731; Thu, 5 Sep 2019 14:17:47 -0700 (PDT)
User-agent: mu4e 1.2.0; emacs 26.2
From: Ricardo Wurmus <rekado@HIDDEN>
To: bug-guix@HIDDEN
Subject: Various TeX Live problems
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: Thu, 05 Sep 2019 23:17:44 +0200
Message-ID: <87zhjie93b.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 136.143.188.53
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Guix,

on the =E2=80=9Cwip-texlive=E2=80=9D branch I just fixed a serious problem =
with how
texlive-union generates font maps.  On the =E2=80=9Cmaster=E2=80=9D branch =
it just
doesn=E2=80=99t.  On =E2=80=9Cwip-texlive=E2=80=9D we run =E2=80=9Cupdmap-s=
ys=E2=80=9D to first remove all
invalid font maps from the default configuration file (which contains
*all* maps, even when they are not installed), and then a second time to
generate maps for all fonts that are actually available (e.g. as inputs
of the texlive union).

This fixes one of the biggest and most confusing problems with TeX Live
in Guix where the various *tex executables would complain about not
being able to find or use certain fonts.  This should be fine now.

To demonstrate it I packaged Guile CV, which depends on a few LaTeX
packages and probes for them at configure time.  This will not work on
=E2=80=9Cmaster=E2=80=9D, but it does work on =E2=80=9Cwip-texlive=E2=80=9D.

Despite this step forward, we=E2=80=99re still right in the middle of
overhauling how we deal with TeX Live packages, because I keep running
out of steam :) Help in this area would be greatly appreciated.

Off the top of my head these are things that really ought to be changed
or fixed:

- the profile hook in (guix profiles) should use =E2=80=9Ctexlive-union=E2=
=80=9D from
  (gnu packages tex), because it=E2=80=99s rather complicated now, and we d=
on=E2=80=99t
  want to repeat ourselves.  Currently, installing texlive-* packages
  into your profile won=E2=80=99t lead to a fully functional LaTeX installa=
tion,
  primarily because of screwed up font maps.

- many texlive-* packages still need to be compared to their expected
  outputs according to $(guix build
  texlive-bin)/share/tlpkg/texlive.tlpdb, especially those with names
  matching =E2=80=9Ctexlive-{latex,generic}-*=E2=80=9D.  Packages that have=
 names of the
  newer =E2=80=9Ctexlive-${name}=E2=80=9D format (and those using
  =E2=80=9Csimple-texlive-package=E2=80=9D) should be complete.

- the =E2=80=9Csimple-texlive-package=E2=80=9D procedure in (gnu packages t=
ex) could be
  more helpful for cases where custom build phases are required.  Right
  now many packages inherit from a template produced by
  =E2=80=9Csimple-texlive-package=E2=80=9D and then verbosely add to the bu=
ild phases
  with substitute-keyword-arguments.

- =E2=80=9Csimple-texlive-package=E2=80=9D only installs =E2=80=9Cdoc=E2=80=
=9D files from the sources to
  a separate =E2=80=9Cdoc=E2=80=9D output when the package is marked as =E2=
=80=9Ctrivial=E2=80=9D.  When
  texlive-build-system is used it doesn=E2=80=99t do this.

- =E2=80=9Csimple-texlive-package=E2=80=9D requires an awkward custom chdir=
 phase when
  texlive-build-system is supposed to be used.

- =E2=80=9Csimple-texlive-package=E2=80=9D installs the =E2=80=9Csource=E2=
=80=9D directory to the =E2=80=9Cout=E2=80=9D
  output.  Maybe that=E2=80=99s not what we want.

- =E2=80=9Ctexlive-build-system=E2=80=9D causes files to be unpacked to jus=
t a single
  location, which can be wrong.  That=E2=80=99s why some packages have a
  =E2=80=9Cmove-files=E2=80=9D phase.  The reason is that the build system =
installs
  files to an output directory (called =E2=80=9Cbuild=E2=80=9D) and then co=
pies its
  contents to the location specified with the =E2=80=9Ctex-directory=E2=80=
=9D keyword
  argument.

--
Ricardo





Acknowledgement sent to Ricardo Wurmus <rekado@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#37314; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.