unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Bone Baboon via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Mark H Weaver <mhw@netris.org>
Cc: 48213@debbugs.gnu.org
Subject: bug#48213: offlineimap build fails
Date: Tue, 11 May 2021 10:53:04 -0400	[thread overview]
Message-ID: <87a6p1fhkf.fsf@disroot.org> (raw)
In-Reply-To: <87y2cumdwt.fsf@netris.org>

Mark H Weaver writes:

> Hi,
>
> Bone Baboon via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
>> On a x86_64 computer when I run `guix build --no-substitutes
>> offlineimap` the build fails because the "test_ipv6_available" test
>> fails.
>
> 'offlineimap' is the _only_ package in Guix that
> depends on the 'python2-rfc6555' package, it's quite painless to work
> around this particular issue using Guix's "--without-tests" package
> transformation option.
>
> From the command line, you can simply do this:
>
>   guix build offlineimap --without-tests=python2-rfc6555
>
> Within an OS configuration, or within a profile "manifest" file (if you
> use "guix package --manifest", which is highly recommended), you can use
> the following Scheme expression in place of 'offlineimap':
>
> --8<---------------cut here---------------start------------->8---
>   (let ((transform (options->transformation
>                     '((without-tests . "python2-rfc6555")))))
>     (transform offlineimap))
> --8<---------------cut here---------------end--------------->8---
>
> Note that you'll also need to put "(use-modules (guix transformations))"
> at the top of the file, to import the 'options->transformation'
> procedure.
>
> Please let us know if this works for you.

Thank you

I can build offlineimap with this command `guix build offlineimap
--no-substitutes --without-tests=python2-rfc6555`.

How would I refer to offlineimap (built without tests) in the
configuration of a substitute server's client?  The client is not
building it's own packages and is instead relying on a substitute
server to build offlineimap without tests.




  reply	other threads:[~2021-05-11 14:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04  1:11 bug#48213: offlineimap build fails Bone Baboon via Bug reports for GNU Guix
2021-05-04  9:08 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-05-05  1:35   ` Bone Baboon via Bug reports for GNU Guix
2021-05-06  3:32   ` Bone Baboon via Bug reports for GNU Guix
2021-05-04 20:39 ` Mark H Weaver
2021-05-11 14:53   ` Bone Baboon via Bug reports for GNU Guix [this message]
2021-05-27 20:55   ` zimoun
2021-05-30 19:27     ` Mark H Weaver
2021-07-02 16:42       ` zimoun
2021-07-13  8:24     ` zimoun
2021-08-17 21:20       ` zimoun

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=87a6p1fhkf.fsf@disroot.org \
    --to=bug-guix@gnu.org \
    --cc=48213@debbugs.gnu.org \
    --cc=bone.baboon@disroot.org \
    --cc=mhw@netris.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).