From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id ePs5Kvbn7WR+UwEAauVa8A:P1
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 29 Aug 2023 14:43:34 +0200
Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id ePs5Kvbn7WR+UwEAauVa8A
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 29 Aug 2023 14:43:34 +0200
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 71FAA455A0
	for <larch@yhetil.org>; Tue, 29 Aug 2023 14:43:34 +0200 (CEST)
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20221208 header.b=LgKttAlE;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gmail.com
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1693313014;
	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:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=CVQ9vGMkpe2qHOTEMzpdQTmtyDcnFDwlJVTpFWu/pMI=;
	b=cZzl30IAPspiTqurC5bDq0InSyP75BxDJ6PC0SwQ2UtiUsdoBTtv/VZY7Lws8Zf8D/DDVv
	/uJ1X+w79SfWWiTAYvi2kTRXn+8xqDOwosSFb+PplVP9isopsllE5o2xdhTyhnFPT7fLOC
	P3zQTp29lUMsOyRG5oL/MWz+0ICCsGrvdbGdQaWHWFF4+PR7/lLFwmcfLww7O+BtoBZdE8
	2U/wV1JFB/QzDew/kzT3w0kuASFAsCgTcYhC+MqzKCz5bLVTgemDxbDYB9QYggbrTTn5qY
	2ziPE6UilLV5GaOTr3nllrm6uzLl7zi7NRVvsf7rIUrdg+KVTgBu8a0D+9xcDg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20221208 header.b=LgKttAlE;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=gmail.com
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693313014; a=rsa-sha256; cv=none;
	b=cJovJ6toEj/h8+scOmaUDWSv9faWQTfj9QdGyymvBGMs13qfAsieALBZYTBzOwglBDh4vm
	vKG+MfT/ATCpxcaugUD3EOtqZifJ6lDrPSbfVNz7yZtME+mWvVa7ujUYUceH5ABA7xenWv
	IezlZYfNNI7KV2ECOgltvKBOdfEyW4XVTJ7zGnK/C/dMWrKhE7FpF0/KeffiKF136LVMzn
	trblhLk2FKFQQfKO1JeA0ee49wllO1HOH8TgAoTbfmMRDGb5JZQvQKJcjC1hD3J3VY5T92
	ljwlCyR9eMPZHwX4KTDBgxbQb4NDWNUhfq4OWxenZMpYGVo7cPXglSQiCFFXDw==
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces@gnu.org>)
	id 1qay3f-0003Tu-J1; Tue, 29 Aug 2023 08:42:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@gmail.com>)
 id 1qay3b-0003Sf-5x
 for help-guix@gnu.org; Tue, 29 Aug 2023 08:42:55 -0400
Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <poptsov.artyom@gmail.com>)
 id 1qay3S-0002iC-Q3
 for help-guix@gnu.org; Tue, 29 Aug 2023 08:42:54 -0400
Received: by mail-lj1-x235.google.com with SMTP id
 38308e7fff4ca-2bcb50e194dso66100861fa.3
 for <help-guix@gnu.org>; Tue, 29 Aug 2023 05:42:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1693312964; x=1693917764;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=CVQ9vGMkpe2qHOTEMzpdQTmtyDcnFDwlJVTpFWu/pMI=;
 b=LgKttAlExtrzrpka2Pemc4yl3BwNWBTcadDoBg0pNA4rO1QqFlNKG46q7eb3/Mn/N+
 U1yIo9CpUiyVqIUhpMjkTFQV7R24R/ofVi1kG20sivlTilmQKF2Akgf8GvFrm5W3Y031
 c4sswvV++yyNTA2CrWpkjTC+vh56Kkp+Qm3w762rAUc6l/JFImvwfcUJcxLP/KoZjpfp
 Xlcorzyed+a12uioUok8HmF33o/8NVR5jmzdJSpNQgdZy/AVQpz+jZ/nt4m1KGxeTowv
 JI6zUODgKKNssteG4T2Qwr55hOcTwRqeJuJue04x42dP6P3y7XTYNFqcuKB5SaJqZ1OU
 tgHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1693312964; x=1693917764;
 h=mime-version:user-agent:message-id:in-reply-to:date:references
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=CVQ9vGMkpe2qHOTEMzpdQTmtyDcnFDwlJVTpFWu/pMI=;
 b=hYz5l8v1xAGpvdu0uAxHjQbrt5VsNSQkSxtlObaQmqWauhd5V/zB9b+ZwzVg7eUAfe
 wwsInIbITO5hExiO+JPbqUsrod9PQwaXDfYtzD3urTPB2/WTkEJ1UQksVYp3eScuU+/T
 dn79wJKe7dkFMTDVQM6mRegpTlC9ymV7AgbEtAi1pP6gKFhQjnyer7A+vti8LeZAp+7Z
 kQSPuTQKEPYnIdHDqSJK2p4GXwqrXiBASDcq4Lr/DysPwPQ8oNwMB/I2hi0MWxjKqD4p
 Eh40G71lSutGrurrG+eHiaHQTyYt0lRtU6Z1OilCowVNqZOz5I8I4kn/lZxf3CJmm60t
 lvZQ==
X-Gm-Message-State: AOJu0Yw//E4gsPEEbwZRB+YJQ4JqxRNxtYoIKGnOC1PXqusXmU4WRyJI
 AO9bNu9sxc7c3jk+O7Fprljcn7H/m68=
X-Google-Smtp-Source: AGHT+IFgJ/E/dFVSd+maNOxRKOmfL0w8hXtUFy1/hTfuN98aWcu81uSCDhUmBfrSx1q+b7VOiDLOrg==
X-Received: by 2002:a05:651c:21b:b0:2b6:eefc:3e4f with SMTP id
 y27-20020a05651c021b00b002b6eefc3e4fmr22746826ljn.21.1693312963882; 
 Tue, 29 Aug 2023 05:42:43 -0700 (PDT)
Received: from elephant ([5.166.207.245]) by smtp.gmail.com with ESMTPSA id
 j16-20020a2e6e10000000b002b9ef00b10csm2178304ljc.2.2023.08.29.05.42.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 29 Aug 2023 05:42:43 -0700 (PDT)
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: help-guix@gnu.org
Subject: Re: LaTeX: Need help with packaging a book in GNU Guix
References: <873503ygd1.fsf@gmail.com> <87v8cynrwa.fsf@nicolasgoaziou.fr>
Date: Tue, 29 Aug 2023 15:42:39 +0300
In-Reply-To: <87v8cynrwa.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of
 "Tue, 29 Aug 2023 11:01:57 +0200")
Message-ID: <87pm3658ao.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2a00:1450:4864:20::235;
 envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x235.google.com
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: help-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Scanner: mx2.migadu.com
X-Migadu-Spam-Score: -11.19
X-Spam-Score: -11.19
X-Migadu-Queue-Id: 71FAA455A0
X-TUID: f8ZmOpNzGe5p

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello Nicolas,

thank you very much for the help!  I've changed my "guix.scm" as you
suggested and now it works.

> You can also remove `texlive' and, probably, `texlive-latex-fonts' and
> `texlive-ttf-utils' from your inputs, since you're using XeTeX.

When I tried to remove "texlive" from inputs, I ran into the following
error:

=2D-8<---------------cut here---------------start------------->8---
! LaTeX Error: File `fontspec.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:=20
! Emergency stop.
<read *>=20
=20=20=20=20=20=20=20=20=20
l.7 \setmainfont
                {Liberation Serif}^^M
*** (cannot \read from terminal in nonstop modes)

=20
Here is how much of TeX's memory you used:
 1444 strings out of 476682
 24786 string characters out of 5779954
 1842018 words of memory out of 5000000
 21750 multiletter control sequences out of 15000+600000
 512295 words of font info for 33 fonts, out of 8000000 for 9000
 1348 hyphenation exceptions out of 8191
 40i,0n,52p,180b,100s stack positions out of 10000i,1000n,20000p,200000b,20=
0000s
No pages of output.
INDEX     sparc
GLOSSARY  sparc
make: *** [Makefile:83: make_index] Error 1
make: *** Waiting for unfinished jobs....
/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh: /gn=
u/store/05770yhxad3d3p4q7rgw8clh0y1gi5sc-texlive-glossaries-66594/bin/makeg=
lossaries: /usr/bin/env: bad interpreter: No such file or directory
make: *** [Makefile:77: make_glossary] Error 1
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "32") exit-stat=
us: 2 term-signal: #f stop-signal: #f>=20
phase `build' failed after 11.1 seconds
command "make" "-j" "32" failed with status 2
builder for `/gnu/store/dnyi529yx6wfb73hwgsylm60ikrrashf-sparc-book-git.drv=
' failed with exit code 1
build of /gnu/store/dnyi529yx6wfb73hwgsylm60ikrrashf-sparc-book-git.drv fai=
led
View build log at '/var/log/guix/drvs/dn/yi529yx6wfb73hwgsylm60ikrrashf-spa=
rc-book-git.drv.gz'.
guix build: error: build of `/gnu/store/dnyi529yx6wfb73hwgsylm60ikrrashf-sp=
arc-book-git.drv' failed
=2D-8<---------------cut here---------------end--------------->8---

As you can see, LaTeX cannot find "fontspec.sty" file.  I did some
research and found that the file belongs to "texlive" package.  So when
I returned "texlive" to inputs the build process went fine.

Thanks!

=2D avp

=2D-=20
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFNBAEBCgA3FiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmTt578ZHHBvcHRzb3Yu
YXJ0eW9tQGdtYWlsLmNvbQAKCRDpxaLZCJigL6sCCACc0bL0AzwPt+gRR2JpVTD+
7sZ9PcZhpqREsSmwzOh4YzRPwutsLlAQX5upbSzuX5eUODKIee+S2X+6O0X3ENrT
iF1y60b8gBRlkf1qgYZZpJhEew6LKU1wYTfKeW9zp1C859WCLr0TEHbNaJWj0xXL
dp5LjrMcYS8MlNQ4J56R13PdV5t8zByqKRcCYy508jvXm++FE/pXYZHyfFKZruaN
ZIHzGvvbp6t/b5tRGeGfaetAQFORPZXKR5HfRnZOSdP40vdhBy2mDBFmkUZxAJWw
V29mfn0Y5t+2LdwrxGjxBKAFOz7DJUUIylwplXwGjkbsO+xwdNvHblnNrM8zee0W
=vKlO
-----END PGP SIGNATURE-----
--=-=-=--