all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Josh Marshall <Josh.Marshall@jax.org>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [EXTERNAL]Re: Modifying squashfs usage for `guix pack` for supporting singularity
Date: Thu, 12 Mar 2020 17:39:20 +0100	[thread overview]
Message-ID: <87ftedr0hz.fsf@inria.fr> (raw)
In-Reply-To: <BL0PR06MB4673D018CF20B92763C18E0CE9FD0@BL0PR06MB4673.namprd06.prod.outlook.com> (Josh Marshall's message of "Thu, 12 Mar 2020 14:05:01 +0000")

Hi Josh,

Josh Marshall <Josh.Marshall@jax.org> skribis:

> Thanks for getting back to me on this.
>
> For the options I mentioned in the email, and the one not yet tracked
> in email since it is only in IRC is "--no-recovery".  These are what
> stood out to me when reading the `mksquashfs` documentation (
> https://github.com/plougher/squashfs-tools/blob/master/USAGE ) and
> looking at `guix/scripts/pack.scm'.

Perhaps I’m missing something, but it’s still not clear to me why these
options would be needed, especially since images produced with ‘guix
pack -f squashfs’ today appear to work well.

What am I missing?

> The knowledge you're saying about the `guix pack` options is not
> communicated by `guix pack --list-formats`, which yields
>
> ```
> $ guix pack --list-formats
> The supported formats for 'guix pack' are:
>
>   tarball       Self-contained tarball, ready to run on another machine
>   squashfs      Squashfs image suitable for Singularity
>   docker        Tarball ready for 'docker load'
> ```

Right, it just says “docker”, not “OCI”.  The manual is a bit more
verbose:

  https://guix.gnu.org/manual/en/html_node/Invoking-guix-pack.html

What would you suggest adding?

> All this seems to be tangential to the fact that `guix pack --format=squashfs ...` fails on CentOS7 for an undescribed reason:
> ```
> $ guix pack --format=squashfs bash-minimal

[...]

> \builder for `/gnu/store/saar594fgxibr6vkrpjq2n2l5mpyycpp-squashfs-pack.gz.squashfs.drv' failed with exit code 1
> build of /gnu/store/saar594fgxibr6vkrpjq2n2l5mpyycpp-squashfs-pack.gz.squashfs.drv failed
> View build log at '/var/log/guix/drvs/sa/ar594fgxibr6vkrpjq2n2l5mpyycpp-squashfs-pack.gz.squashfs.drv.bz2'.

Could you email bug-guix@gnu.org with the command above, the output of
‘guix describe’, and the contents of
/var/log/guix/drvs/sa/ar594fgxibr6vkrpjq2n2l5mpyycpp-squashfs-pack.gz.squashfs.drv.bz2 ?

CentOS 7 runs a very old kernel, so it could be that we’re using some
unsupported feature.

Thanks for your feedback!

Ludo’.

  reply	other threads:[~2020-03-12 16:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04 21:00 Modifying squashfs usage for `guix pack` for supporting singularity Josh Marshall
2020-03-04 22:28 ` Josh Marshall
2020-03-12 13:51 ` Ludovic Courtès
2020-03-12 14:05   ` [EXTERNAL]Re: " Josh Marshall
2020-03-12 16:39     ` Ludovic Courtès [this message]
2020-03-12 17:58       ` Josh Marshall
2020-03-13 16:38         ` Ludovic Courtès
2020-03-13 16:48           ` Josh Marshall

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

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

  git send-email \
    --in-reply-to=87ftedr0hz.fsf@inria.fr \
    --to=ludovic.courtes@inria.fr \
    --cc=Josh.Marshall@jax.org \
    --cc=guix-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.