GNU logs - #37314, boring messages

Message sent to bug-guix@HIDDEN:

X-Loop: help-debbugs@HIDDEN
Subject: bug#37314: Various TeX Live problems
Resent-From: Ricardo Wurmus <rekado@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 05 Sep 2019 21:18:02 +0000
Resent-Message-ID: <handler.37314.B.156771828130470 <at>>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 37314
X-GNU-PR-Package: guix
To: 37314 <at>
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> id=B.156771828130470
          (code B ref -1); Thu, 05 Sep 2019 21:18:02 +0000
Received: (at submit) by; 5 Sep 2019 21:18:01 +0000
Received: from localhost ([]:36149
	by with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1i5z8i-0007vO-Jz
	for submit <at>; Thu, 05 Sep 2019 17:18:00 -0400
Received: from ([]:35965)
 by with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1i5z8g-0007vG-L3
 for submit <at>; Thu, 05 Sep 2019 17:17:59 -0400
Received: from ([2001:470:142:3::10]:36664)
 by 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
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 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 ([]:21341)
 by 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;; s=zohoarc; 
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;;
 s=zohoarc; t=1567718269;
ARC-Authentication-Results: i=1;; dkim=pass;
 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;; i=rekado@HIDDEN;
 l=3438; bh=cjzwy6gebyNF1T91js6XpflAnnIREAR317EIErtaXNY=;
Received: from localhost ( []) by
 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>
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 GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
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=
  want to repeat ourselves.  Currently, installing texlive-* packages
  into your profile won=E2=80=99t lead to a fully functional LaTeX installa=
  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 =
  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


Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Ricardo Wurmus <rekado@HIDDEN>
Subject: bug#37314: Acknowledgement (Various TeX Live problems)
Message-ID: <handler.37314.B.156771828130470.ack <at>>
References: <87zhjie93b.fsf@HIDDEN>
X-Gnu-PR-Message: ack 37314
X-Gnu-PR-Package: guix
Reply-To: 37314 <at>
Date: Thu, 05 Sep 2019 21:18:02 +0000

Thank you for filing a new bug report with

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):

If you wish to submit further information on this problem, please
send it to 37314 <at>

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

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.