unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Rodriguez <yewscion@gmail.com>
To: 56152@debbugs.gnu.org
Subject: bug#56152: [BUG] guix shell seems to require --bootstrap when not bootstrapping
Date: Wed, 22 Jun 2022 17:20:40 -0400	[thread overview]
Message-ID: <pkmp4eczf0nztv.fsf@crane.ant.amazon.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]


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.

https://git.sr.ht/~yewscion/genpro/tree/trunk/item/guix.scm is the
`guix.scm` file that produces the issue.

https://git.sr.ht/~yewscion/yewscion-guix-channel is my personal Guix
channel.

https://git.sr.ht/~yewscion/yewscion-guix-channel/tree/trunk/item/cdr255/tex.scm
are the not-yet-in-guix-but-free-software package definitions loaded in
(use-modules (cdr255 tex)).

https://logs.guix.gnu.org/guix/2022-06-22.log#013107 is my conversation
with nckx about this on #guix.

Thank You for Your time!

--

Christopher Rodriguez

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

                 reply	other threads:[~2022-06-22 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=pkmp4eczf0nztv.fsf@crane.ant.amazon.com \
    --to=yewscion@gmail.com \
    --cc=56152@debbugs.gnu.org \
    /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).