emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#48213: closed (offlineimap build fails)


From: GNU bug Tracking System
Subject: bug#48213: closed (offlineimap build fails)
Date: Tue, 17 Aug 2021 21:47:06 +0000

Your message dated Tue, 17 Aug 2021 23:20:21 +0200
with message-id <868s0zn4yy.fsf@gmail.com>
and subject line Re: bug#48213: offlineimap build fails
has caused the debbugs.gnu.org bug report #48213,
regarding offlineimap build fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48213: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48213
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: offlineimap build fails Date: Mon, 03 May 2021 21:11:40 -0400
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
```



--- End Message ---
--- Begin Message --- Subject: Re: bug#48213: offlineimap build fails Date: Tue, 17 Aug 2021 23:20:21 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hi,

On Tue, 13 Jul 2021 at 10:24, zimoun <zimon.toutoune@gmail.com> wrote:
> On Thu, 27 May 2021 at 22:55, zimoun <zimon.toutoune@gmail.com> wrote:
>> On Tue, 04 May 2021 at 16:39, Mark H Weaver <mhw@netris.org> wrote:
>>
>>>>>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':
>>>
>>>   (let ((transform (options->transformation
>>>                     '((without-tests . "python2-rfc6555")))))
>>>     (transform offlineimap))
>>
>> The package offlineimap will go sooner or later since Python 2 is EOL.
>> The migration from Py2 to Py3 is not clear [1] and the README [2] says:
>>
>>   > As one of the maintainer of OfflineIMAP, I'd like to put my efforts into
>>   > [imapfw](http://github.com/OfflineIMAP/imapfw). **imapfw** is software in
>>   > development that I intend to replace OfflineIMAP with in the long term.
>>   >
>>   > That's why I'm not going to continue OfflineIMAP development. I'll 
>> continue
>>   > to maintain OfflineIMAP (fixing small bugs, reviewing patches and 
>> merging,
>>   > and rolling out new releases), but that's all.
>>   >
>>   > While I keep tracking issues for OfflineIMAP, you should not expect 
>> future
>>   > support.
>>   >
>>   > You won't be left at the side. OfflineIMAP's community is large enough so
>>   > that
>>   > you'll find people for most of your issues.
>>   >
>>   > Get news from the [blog][blog].
>>   >
>>   >                                  Nicolas Sebrecht. ,-)
>>
>> IMHO, the transformation is the easiest to still have the package and
>> let the time to switch (to Offlinemap or something else).  For instance,
>>
>> <https://github.com/OfflineIMAP/offlineimap3>
>>
>> Note the package should always be available via inferiors.
>>
>> All the best,
>> simon
>>
>> 1: <https://github.com/OfflineIMAP/offlineimap/issues/670>
>> 2: 
>> <https://raw.githubusercontent.com/OfflineIMAP/offlineimap/master/README.md
>
> Considering the package 'offlineimap' is not supported upstream because
> it is Python 2 based and Python 2 is now End Of Life since January 1rst
> 2020, I propose to close this bug.  The package 'offlineimap' will go
> soon or later.  A standard replacement is the package 'isync'.

Considering this discussion, I do not see what could be done on the Guix
side.  Therefore, I am closing.

Feel free to reopen if I miss something.

All the best,
simon


--- End Message ---

reply via email to

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