unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Thiago Jung Bauermann <bauermann@kolabnow.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [core-updates] texlive 2021 bootstrap problem
Date: Thu, 24 Jun 2021 17:53:04 -0300	[thread overview]
Message-ID: <1684007.ACNhq4djJS@popigai> (raw)
In-Reply-To: <87v963yv80.fsf@gmail.com>

Hello Maxim,

Em quinta-feira, 24 de junho de 2021, às 15:26:55 -03, Maxim Cournoyer 
escreveu:
> Hi Thiago,
> 
> Thiago Jung Bauermann <bauermann@kolabnow.com> writes:
> > Hello,
> > 
> > Em terça-feira, 15 de junho de 2021, às 16:00:51 -03, Thiago Jung
> > Bauermann> 
> > escreveu:
> >> Does anyone have an idea how to break this dependency loop? Do we need
> >> to have a package definition for a pre-2019-10 version of LaTeX just
> >> to build texlive-latex-l3kernel, and then use that as a dependency
> >> for the actual texlive-latex-base package?
> > 
> > I’m pursuing this option. I took the definition of texlive-latex-base
> > from the master branch (which doesn’t depend on LaTeX3) and added it
> > to my branch as texlive-latex-no-l3 (with a few minor changes to get
> > it to build with texlive 2021), and used it as a dependency to build
> > texlive-latex- l3kernel.
> > 
> > This worked! Now texlive-latex-l3kernel builds correctly, and the build
> > of texlive-latex-base is attempted (instead of just causing Guix to
> > max out its heap while trying to process a dependency loop, as it was
> > doing before). But the build fails when generating some latex formats
> > – a problem I’m still investigating.
> > 
> > But this is progress nevertheless. :-)
> 
> Thumbs up for working and figuring things out for a texlive 2021
> upgrade!

Thank you! I was just going to report on recent developments.
It turns out that using an older LaTeX to build texlive-latex-l3kernel 
isn’t necessary.

I decided to ask on the TeX Live mailing list about the bootstrap problem¹ 
(not sure why this didn’t occur to me earlier). It turns out it’s not a 
real circular dependency, it just appears so because of Guix packaging.

It’s possible to build texlive-latex-l3kernel with IniTeX (i.e., by calling 
`pdftex -ini` or `tex -ini`) and docstrip, without any format loaded.

So I made some changes to texlive-build-system to that, and it worked. By 
which I mean: the texlive-latex-l3kernel package builds, and the texlive-
latex-base build is attempted and fails in the same way as it was failing
when I sent the last email, when generating latex formats. I think I’m 
missing some file(s) with definitions for LaTeX macros, but I don’t know yet.

I pushed a new branch “bug-48064-texlive-2021-l3kernel-initex” to my GitLab 
repo at https://gitlab.com/bauermann/guix.git with two patches implementing 
the new approach.

-- 
Thanks,
Thiago

¹ https://tug.org/pipermail/tex-live/2021-June/047156.html




  reply	other threads:[~2021-06-24 20:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 19:00 [core-updates] texlive 2021 bootstrap problem Thiago Jung Bauermann
2021-06-22  0:43 ` Thiago Jung Bauermann
2021-06-24 18:26   ` Maxim Cournoyer
2021-06-24 20:53     ` Thiago Jung Bauermann [this message]
2021-06-25  3:34       ` Maxim Cournoyer
2021-06-25  5:00         ` Thiago Jung Bauermann
2021-06-29 20:43           ` Thiago Jung Bauermann
2021-06-30 16:21             ` Maxim Cournoyer
2021-07-05  0:24               ` Thiago Jung Bauermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1684007.ACNhq4djJS@popigai \
    --to=bauermann@kolabnow.com \
    --cc=guix-devel@gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).