[BUG] guix shell seems to require --bootstrap when not bootstrapping

  • Open
  • quality assurance status badge
Details
One participant
  • Christopher Rodriguez
Owner
unassigned
Submitted by
Christopher Rodriguez
Severity
normal
C
C
Christopher Rodriguez wrote on 22 Jun 2022 23:20
(address . bug-guix@gnu.org)
pkmp4eczf0nztv.fsf@crane.ant.amazon.com
Hello all,

I was recently working on creating a `guix.scm` file for a guile project
I've made for myself. When I ran `guix shell -f guix.scm bash` on the
script (or the same without bash), it built the package fine… Which I
expected because I have long-since added this package to my personal
channel.

However, guix for some reason couldn't finish creating the
environment. It kept failing during the 'building TeX Live font maps...'
step, throwing a bunch of warnings about non-existant files and
eventually throwing the following error:

```
updmap [ERROR]: The following map file(s) couldn't be found:
updmap [ERROR]: dvips35.map (in builtin)
updmap [ERROR]: pdftex35.map (in builtin)
updmap [ERROR]: ps2pk35.map (in builtin)
```

I kept trying to add packages to the environment, eventually seeing if I
could reproduce the error in a second profile. I haven't been successful
yet.

But I have found that adding the `--bootstrap` flag to the command
allows it to succeed. For clarity, `guix shell -f guix.scm --bootstrap`
succeeds, but `guix shell -f guix.scm` does not.

Is this intended behavior? If not, could someone tell me what I might be
doing wrong? If so, is this documented anywhere, so I can avoid running
into this problem in the future by understanding it better?

Relevant Links:

http://paste.debian.net/1244902/is the full error from the failing
step.

`guix.scm` file that produces the issue.

channel.

are the not-yet-in-guix-but-free-software package definitions loaded in
(use-modules (cdr255 tex)).

with nckx about this on #guix.

Thank You for Your time!

--

Christopher Rodriguez
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJMQbvYVxvZ0eF/84XZ6FgaGVz3sFAmKzi9wACgkQXZ6FgaGV
z3tqERAAgebjnCevRgzxAnfR9ulfW/cODvniIr2iuRuTfRXQfUMMYhjqPJzGFCFe
Q7NMpfn6xxun4r79S/5Dhz/5IBQnE7wfJMYkjs08awLyChus+EgqFPRW+OtNKbtN
uU7vysSnp+AQFZuwHADqOCIW4B1qfuhE3VsAkDlh/tylZaWBkNH1XKfgpi2AjkSb
Aqz/Bq+8T8HXCpd2HQj/JiBN7uGzPaZbl9smyzCRq5we/LmRK3O9dlypooJKLA0g
r+ph77OZzU+RTws9EuDUo76re/1eMYrtYv8C5QckUNsD0ibPJNSxCXKEgw5LhWLN
iLw54TxK9weYeoGVf5+nOyqtAm9hpAqDwG/ogqxzKjXVkL7hYcoZKQ8F6mH+sIec
uaKAUGWYqFxOx+MYvD5c/vdcJh3kWA+RIXgdkufZhWvBPlFadCRALx7UysCL7p2W
rcJ2iEJK21VGRc1azK06k61gH4s6+2qBVsHBlvuHIFsudHrI5aLYaJlSuIlnkCrb
pHIARHohouZl6jFvkc6cjW2aZMVys8zkJqWAeYkoOmUrRDz1f5tidsGyo49aKeVi
W4quo1BHA4tp1Mgm8xCQYSxJ6+AF8Mlm8w6ZtITQn6Hc+KHeFIYiZQKTrJpKMJVz
4cgc77qDnOyHidUyLLxoFDeUJCT1X1xyKKIV0PEesI+d30zjr6Y=
=4w+d
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 56152@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 56152
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch