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: 48213@debbugs.gnu.org
Subject: bug#48213: offlineimap build fails
Date: Mon, 03 May 2021 21:11:40 -0400	[thread overview]
Message-ID: <87czu7joab.fsf@disroot.org> (raw)

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:

```
(kernel-arguments
 (append
  (list "nomodeset" "ipv6.disable=1")
  %default-kernel-arguments))
```

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.

`guix describe` outputs:

```
Generation 18   May 03 2021 13:15:55    (current)
  guix 065d2cd
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: 065d2cd6ced96ddb38c15a46f798488f61660a33
```

Build error:

```
starting phase `check'
============================= test session starts ==============================
platform linux2 -- Python 2.7.17, pytest-4.6.11, py-1.8.1, pluggy-0.13.1
rootdir: /tmp/guix-build-python2-rfc6555-0.0.0-1.1a181b4.drv-0/source
plugins: hypothesis-4.57.1
collected 5 items

tests/test_ipv6.py F....                                                 [100%]

=================================== FAILURES ===================================
_____________________________ test_ipv6_available ______________________________

    def test_ipv6_available():
>       assert rfc6555._detect_ipv6()
E       assert False
E        +  where False = <function _detect_ipv6 at 0xf6c2887c>()
E        +    where <function _detect_ipv6 at 0xf6c2887c> = rfc6555._detect_ipv6

tests/test_ipv6.py:11: AssertionError
====================== 1 failed, 4 passed in 0.19 seconds ======================
command "pytest" "tests/test_ipv6.py" failed with status 1
builder for `/gnu/store/4clr8jgvlbhp9qvyx2izdl5dmb8b0xsd-python2-rfc6555-0.0.0-1.1a181b4.drv' failed with exit code 1
build of /gnu/store/4clr8jgvlbhp9qvyx2izdl5dmb8b0xsd-python2-rfc6555-0.0.0-1.1a181b4.drv failed
View build log at '/var/log/guix/drvs/4c/lr8jgvlbhp9qvyx2izdl5dmb8b0xsd-python2-rfc6555-0.0.0-1.1a181b4.drv.bz2'.
cannot build derivation `/gnu/store/pxqzkh8b6266qdrrxhfc74j6bjnb1567-offlineimap-7.3.3.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/pxqzkh8b6266qdrrxhfc74j6bjnb1567-offlineimap-7.3.3.drv' failed
```




             reply	other threads:[~2021-05-04  1:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04  1:11 Bone Baboon via Bug reports for GNU Guix [this message]
2021-05-04  9:08 ` bug#48213: offlineimap build fails 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
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=87czu7joab.fsf@disroot.org \
    --to=bug-guix@gnu.org \
    --cc=48213@debbugs.gnu.org \
    --cc=bone.baboon@disroot.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).