GNU bug report logs - #48213
offlineimap build fails

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Bone Baboon <bone.baboon@HIDDEN>; dated Tue, 4 May 2021 01:14:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 48213 <at> debbugs.gnu.org:


Received: (at 48213) by debbugs.gnu.org; 4 May 2021 09:08:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 04 05:08:41 2021
Received: from localhost ([127.0.0.1]:51926 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldr2n-0004kQ-KN
	for submit <at> debbugs.gnu.org; Tue, 04 May 2021 05:08:41 -0400
Received: from tobias.gr ([80.241.217.52]:42522)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1ldr2l-0004kH-H9
 for 48213 <at> debbugs.gnu.org; Tue, 04 May 2021 05:08:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018;
 bh=cke1NRoXNZl8WyY7c2LJj3RJDZ82T2TlripA7mW7Fq8=; h=date:in-reply-to:
 subject:cc:to:from:references; b=PjteTVloBpOwiY/HtNGjBBOBjbH1hTFVLBQas
 pCsJHZJZpMRGI/rxDdrNrvftPd/BMjGg8VkcfIB1Z/Ieyf8TKjRHP1UPKXjxi0WZ70Xhdu
 KeneAntBJ+0EIMwGrkJzK/pwTlSKI3H+q9uPoBEQFOScuxpGW+MLjEyG/B+b9uycnZtl/O
 nmYNYdQa2owFPqZpKV3HmDahSV9LWrbo7aQlV0AhyTE6aHGirRYYsYt/yl3JZB340LLEfy
 93BhlxRgQImWo2Ms527nwjmIzrzG+2Ad4mzFcJYRG/l9HMBpTHUx6oKA/9IHpqJpuHkNt5
 30TTlk+wJgJxLQHy+jRxJsIUg==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 931ffb20
 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); 
 Tue, 4 May 2021 09:08:47 +0000 (UTC)
References: <87czu7joab.fsf@HIDDEN>
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Bone Baboon <bone.baboon@HIDDEN>
Subject: Re: bug#48213: offlineimap build fails
In-reply-to: <87czu7joab.fsf@HIDDEN>
BIMI-Selector: v=BIMI1; s=default;
Date: Tue, 04 May 2021 11:08:54 +0200
Message-ID: <874kfioogp.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48213
Cc: bug-guix@HIDDEN, 48213 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Babs,

Bone Baboon via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A
> Taking the failing test's name "test_ipv6_available" literally I=20
> would
> like to ask if having this test required to build this=20
> offlineimap
> dependency

I think not, but you should report this upstream first.  They look=20
asleep but I didn't hold a mirror under their nose.  If they don't=20
respond we might hack around it in Guix.

I suggest that you enable IPv6 support in the meantime.

> This would accommodate Guix users who have disabled ipv6.

Guix doesn't virtualise the kernel and expects it to provide all=20
that is needful.  Linux offers knobs for *everything*; that=20
doesn't mean everything is supported.  Disabling kernel support=20
for basic things (namespaces, UNIX domain sockets, IPv6) *will*=20
break certain software.

We shouldn't feel obligated to accommodate strange configurations=20
out of the box, but we try to do so when the maintenance cost is=20
very low.  In this case, you'd need to ensure the test still runs=20
on the vast majority of systems with IPv6.

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYJEPJg0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15Fz8A/iB3NIZxnohvdE8ZEI3oHqX76BmzHgSY0d9/WmV/
p6RvAP4/EZ7pa8SalLFRxp+kaiYfw2nc53kVPuCjgvKi7LBLBA==
=GWrx
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#48213; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 May 2021 09:08:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 04 05:08:52 2021
Received: from localhost ([127.0.0.1]:51934 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldr2y-0004kk-2o
	for submit <at> debbugs.gnu.org; Tue, 04 May 2021 05:08:52 -0400
Received: from lists.gnu.org ([209.51.188.17]:37832)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1ldr2w-0004kc-Kx
 for submit <at> debbugs.gnu.org; Tue, 04 May 2021 05:08:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43278)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1ldr2w-0007iZ-Df
 for bug-guix@HIDDEN; Tue, 04 May 2021 05:08:50 -0400
Received: from tobias.gr ([2a02:c205:2020:6054::1]:44992)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1ldr2m-0005qj-Qa
 for bug-guix@HIDDEN; Tue, 04 May 2021 05:08:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018;
 bh=cke1NRoXNZl8WyY7c2LJj3RJDZ82T2TlripA7mW7Fq8=; h=date:in-reply-to:
 subject:cc:to:from:references; b=PjteTVloBpOwiY/HtNGjBBOBjbH1hTFVLBQas
 pCsJHZJZpMRGI/rxDdrNrvftPd/BMjGg8VkcfIB1Z/Ieyf8TKjRHP1UPKXjxi0WZ70Xhdu
 KeneAntBJ+0EIMwGrkJzK/pwTlSKI3H+q9uPoBEQFOScuxpGW+MLjEyG/B+b9uycnZtl/O
 nmYNYdQa2owFPqZpKV3HmDahSV9LWrbo7aQlV0AhyTE6aHGirRYYsYt/yl3JZB340LLEfy
 93BhlxRgQImWo2Ms527nwjmIzrzG+2Ad4mzFcJYRG/l9HMBpTHUx6oKA/9IHpqJpuHkNt5
 30TTlk+wJgJxLQHy+jRxJsIUg==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 931ffb20
 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); 
 Tue, 4 May 2021 09:08:47 +0000 (UTC)
References: <87czu7joab.fsf@HIDDEN>
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Bone Baboon <bone.baboon@HIDDEN>
Subject: Re: bug#48213: offlineimap build fails
In-reply-to: <87czu7joab.fsf@HIDDEN>
BIMI-Selector: v=BIMI1; s=default;
Date: Tue, 04 May 2021 11:08:54 +0200
Message-ID: <874kfioogp.fsf@nckx>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@HIDDEN;
 helo=tobias.gr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN, 48213 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Babs,

Bone Baboon via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A
> Taking the failing test's name "test_ipv6_available" literally I=20
> would
> like to ask if having this test required to build this=20
> offlineimap
> dependency

I think not, but you should report this upstream first.  They look=20
asleep but I didn't hold a mirror under their nose.  If they don't=20
respond we might hack around it in Guix.

I suggest that you enable IPv6 support in the meantime.

> This would accommodate Guix users who have disabled ipv6.

Guix doesn't virtualise the kernel and expects it to provide all=20
that is needful.  Linux offers knobs for *everything*; that=20
doesn't mean everything is supported.  Disabling kernel support=20
for basic things (namespaces, UNIX domain sockets, IPv6) *will*=20
break certain software.

We shouldn't feel obligated to accommodate strange configurations=20
out of the box, but we try to do so when the maintenance cost is=20
very low.  In this case, you'd need to ensure the test still runs=20
on the vast majority of systems with IPv6.

Kind regards,

T G-R

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYJEPJg0cbWVAdG9iaWFz
LmdyAAoJEA2w/4hPVW15Fz8A/iB3NIZxnohvdE8ZEI3oHqX76BmzHgSY0d9/WmV/
p6RvAP4/EZ7pa8SalLFRxp+kaiYfw2nc53kVPuCjgvKi7LBLBA==
=GWrx
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#48213; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 May 2021 01:13:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 03 21:13:05 2021
Received: from localhost ([127.0.0.1]:49798 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ldjcX-0003RB-LR
	for submit <at> debbugs.gnu.org; Mon, 03 May 2021 21:13:05 -0400
Received: from lists.gnu.org ([209.51.188.17]:43530)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bone.baboon@HIDDEN>) id 1ldjcV-0003R5-95
 for submit <at> debbugs.gnu.org; Mon, 03 May 2021 21:13:03 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58702)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bone.baboon@HIDDEN>)
 id 1ldjcV-0001Iy-4H
 for bug-guix@HIDDEN; Mon, 03 May 2021 21:13:03 -0400
Received: from knopi.disroot.org ([178.21.23.139]:44526)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bone.baboon@HIDDEN>)
 id 1ldjcS-00055N-Dy
 for bug-guix@HIDDEN; Mon, 03 May 2021 21:13:02 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 278C353A92
 for <bug-guix@HIDDEN>; Tue,  4 May 2021 03:12:58 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Z60dk6tLI5Ut for <bug-guix@HIDDEN>;
 Tue,  4 May 2021 03:12:56 +0200 (CEST)
From: Bone Baboon <bone.baboon@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1620090776; bh=jWXECuZ2ovQ6SBJwzw1EI+vx1ljJ9+tEEJGL1JGeMMo=;
 h=From:To:Subject:Date;
 b=MyVlu8rfK9Eitd6xJ0iP2oeEg2xaXu4EiCR8MOng5R6UaMg5ysrETPHEanZS6+Te3
 Kh7s7RQXPBbQlHk/Z4zi8MTGxl0R8yovIbIUOqesqthhb7t/pSvRF3qoMwx6BINihX
 J9H/6MK40tRYrUqYXP235pWSq3KJKS+bGZXuFlQF2aAr+xUHjxpnilqeA3l7/aFdxv
 fVsKVsSMYjUuYLvGZIvIzWQrHqYJ7Ta8zm/HpTJFc6RwCBxf5j6IZkRQqI8cNux+TP
 8T8Cs0m3Z8KKvXY+mCHBArNgaQspCERX2gUu7eWva0whq0UDNcpv5TGEjL18AdXrNz
 dCKQYBEORccyQ==
To: bug-guix@HIDDEN
Subject: offlineimap build fails
Date: Mon, 03 May 2021 21:11:40 -0400
Message-ID: <87czu7joab.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=178.21.23.139;
 envelope-from=bone.baboon@HIDDEN; helo=knopi.disroot.org
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

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
```




Acknowledgement sent to Bone Baboon <bone.baboon@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#48213; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 4 May 2021 09:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.