bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48213: offlineimap build fails


From: Mark H Weaver
Subject: bug#48213: offlineimap build fails
Date: Tue, 04 May 2021 16:39:19 -0400

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.
>
> In the system configuration ipv6 is disabled:
[...]
> Taking the failing test's name "test_ipv6_available" literally I would
> like to ask if having this test required to build this offlineimap
> dependency is necessary?  Could this test be allowed to fail or be
> skipped without failing the build?  This would accommodate Guix users
> who have disabled ipv6.

I will defer to the Guix maintainers on this question, but I just wanted
to point out that since '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.

     Thanks,
       Mark

-- 
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about <https://stallmansupport.org>.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]