unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38509] [PATCH] gnu: libuv: Update to 1.34.0
@ 2019-12-06  8:57 Andrew Miloradovsky
  2019-12-07  1:27 ` Brett Gilio
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Miloradovsky @ 2019-12-06  8:57 UTC (permalink / raw)
  To: 38509; +Cc: Andrew Miloradovsky

* gnu/packages/libevent.scm (libuv): Update to 1.34.0 (from 1.30.1)
---
 gnu/packages/libevent.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index 465ed95eb2..aabc780bfe 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -99,22 +99,21 @@ limited support for fork events.")
 (define-public libuv
   (package
     (name "libuv")
-    (version "1.30.1")
+    (version "1.34.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://dist.libuv.org/dist/v" version
                                   "/libuv-v" version ".tar.gz"))
               (sha256
                (base32
-                "12s7ifwgbfxblhv46inqa8c2lsnl8cgmvd37y4a4248xhkx1d0s6"))))
+                "0j416x38cp6gh5isn3fwv331aw6bpfmrk8xgm07rq5py47kyqg52"))))
     (build-system gnu-build-system)
-    (arguments
-     '(;; XXX: Some tests want /dev/tty, attempt to make connections, etc.
-       #:tests? #f))
+    (arguments '(#:tests? #f))
+    ;; tests 122-124 (getnameinfo_basic_ip*) fail
+    ;; https://github.com/libuv/libuv/issues/2531
     (native-inputs `(("autoconf" ,autoconf-wrapper)
                      ("automake" ,automake)
                      ("libtool" ,libtool)
-
                      ;; libuv.pc is installed only when pkg-config is found.
                      ("pkg-config" ,pkg-config)))
     (home-page "https://github.com/libuv/libuv")
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#38509] [PATCH] gnu: libuv: Update to 1.34.0
  2019-12-06  8:57 [bug#38509] [PATCH] gnu: libuv: Update to 1.34.0 Andrew Miloradovsky
@ 2019-12-07  1:27 ` Brett Gilio
  2019-12-07  1:34   ` Brett Gilio
  0 siblings, 1 reply; 5+ messages in thread
From: Brett Gilio @ 2019-12-07  1:27 UTC (permalink / raw)
  To: Andrew Miloradovsky; +Cc: 38509

Andrew Miloradovsky <andrew@interpretmath.pw> writes:

> -    (arguments
> -     '(;; XXX: Some tests want /dev/tty, attempt to make connections, etc.
> -       #:tests? #f))
> +    (arguments '(#:tests? #f))
> +    ;; tests 122-124 (getnameinfo_basic_ip*) fail
> +    ;; https://github.com/libuv/libuv/issues/2531

Hi Andrew,

Thank you for your submission. I have some questions before we go
forward with this patch. First, I'd like to note that this change would
trigger a huge rebuild of thousands of dependent packages.

--8<---------------cut here---------------start------------->8---
brettg@oryx ~/Repos/guix$ ./pre-inst-env guix refresh -l libuv
Building the following 2067 packages would ensure 5397 dependent packages are rebuilt:
--8<---------------cut here---------------end--------------->8---

That said, is there some particular functionality or security that is
provided with this patch? If so, it would be great if you could
elaborate on that in the Git sub-header of the commit message.

Since this patch would trigger such a massive rebuild it will need to go
to the `core-updates` branch to rest before it sees master. So having
that detail in the commit message will make it easier for us to see what
we are working with.

Lastly, just curious if there is a way to work around the issues with
tests 122-124 as shown in your above snippet. I know that the tests were
blanket disabled before, so I am just curious if there is a _better_ way
to do this, maybe i'm wrong. If the issue is that the tests require
network functionality that can usually be spoofed with some
effort. Also, stylistically, comments not on the same line as the code
they are commenting usually go before the code in question.

I hope that makes sense! Let me know if you have any questions, I am
happy to help.

-- 
Brett M. Gilio
https://git.sr.ht/~brettgilio/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#38509] [PATCH] gnu: libuv: Update to 1.34.0
  2019-12-07  1:27 ` Brett Gilio
@ 2019-12-07  1:34   ` Brett Gilio
  2019-12-07 13:31     ` Andrew Miloradovsky
  0 siblings, 1 reply; 5+ messages in thread
From: Brett Gilio @ 2019-12-07  1:34 UTC (permalink / raw)
  To: Andrew Miloradovsky; +Cc: 38509

Brett Gilio <brettg@posteo.net> writes:

> Andrew Miloradovsky <andrew@interpretmath.pw> writes:
>
>> -    (arguments
>> -     '(;; XXX: Some tests want /dev/tty, attempt to make connections, etc.
>> -       #:tests? #f))
>> +    (arguments '(#:tests? #f))
>> +    ;; tests 122-124 (getnameinfo_basic_ip*) fail
>> +    ;; https://github.com/libuv/libuv/issues/2531
>
> Hi Andrew,
>
> Thank you for your submission. I have some questions before we go
> forward with this patch. First, I'd like to note that this change would
> trigger a huge rebuild of thousands of dependent packages.
>
> brettg@oryx ~/Repos/guix$ ./pre-inst-env guix refresh -l libuv
> Building the following 2067 packages would ensure 5397 dependent packages are rebuilt:
>
> That said, is there some particular functionality or security that is
> provided with this patch? If so, it would be great if you could
> elaborate on that in the Git sub-header of the commit message.
>
> Since this patch would trigger such a massive rebuild it will need to go
> to the `core-updates` branch to rest before it sees master. So having
> that detail in the commit message will make it easier for us to see what
> we are working with.
>
> Lastly, just curious if there is a way to work around the issues with
> tests 122-124 as shown in your above snippet. I know that the tests were
> blanket disabled before, so I am just curious if there is a _better_ way
> to do this, maybe i'm wrong. If the issue is that the tests require
> network functionality that can usually be spoofed with some
> effort. Also, stylistically, comments not on the same line as the code
> they are commenting usually go before the code in question.
>
> I hope that makes sense! Let me know if you have any questions, I am
> happy to help.

Actually, on further exploration of the `core-updates` branch, libuv is
already at 1.34 there.

-- 
Brett M. Gilio
https://git.sr.ht/~brettgilio/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#38509] [PATCH] gnu: libuv: Update to 1.34.0
  2019-12-07  1:34   ` Brett Gilio
@ 2019-12-07 13:31     ` Andrew Miloradovsky
  2020-01-27 23:20       ` bug#38509: " Marius Bakke
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Miloradovsky @ 2019-12-07 13:31 UTC (permalink / raw)
  To: Brett Gilio; +Cc: 38509

Hi Brett,

WRT the differences, it seems to be mostly fixes and refactoring:

- https://github.com/libuv/libuv/tree/v1.34.0

WRT the failed tests, it is due to treating EAGAIN as the failure:

- https://github.com/libuv/libuv/issues/2531

Not sure how to properly fix it, fixing the tests themselves is
non-trivial, and retrying several more times likely won't work either.

On 12/7/19 1:34 AM, Brett Gilio wrote:
> Brett Gilio <brettg@posteo.net> writes:
>
>> Andrew Miloradovsky <andrew@interpretmath.pw> writes:
>>
>>> -    (arguments
>>> -     '(;; XXX: Some tests want /dev/tty, attempt to make connections, etc.
>>> -       #:tests? #f))
>>> +    (arguments '(#:tests? #f))
>>> +    ;; tests 122-124 (getnameinfo_basic_ip*) fail
>>> +    ;; https://github.com/libuv/libuv/issues/2531
>> Hi Andrew,
>>
>> Thank you for your submission. I have some questions before we go
>> forward with this patch. First, I'd like to note that this change would
>> trigger a huge rebuild of thousands of dependent packages.
>>
>> brettg@oryx ~/Repos/guix$ ./pre-inst-env guix refresh -l libuv
>> Building the following 2067 packages would ensure 5397 dependent packages are rebuilt:
>>
>> That said, is there some particular functionality or security that is
>> provided with this patch? If so, it would be great if you could
>> elaborate on that in the Git sub-header of the commit message.
>>
>> Since this patch would trigger such a massive rebuild it will need to go
>> to the `core-updates` branch to rest before it sees master. So having
>> that detail in the commit message will make it easier for us to see what
>> we are working with.
>>
>> Lastly, just curious if there is a way to work around the issues with
>> tests 122-124 as shown in your above snippet. I know that the tests were
>> blanket disabled before, so I am just curious if there is a _better_ way
>> to do this, maybe i'm wrong. If the issue is that the tests require
>> network functionality that can usually be spoofed with some
>> effort. Also, stylistically, comments not on the same line as the code
>> they are commenting usually go before the code in question.
>>
>> I hope that makes sense! Let me know if you have any questions, I am
>> happy to help.
> Actually, on further exploration of the `core-updates` branch, libuv is
> already at 1.34 there.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#38509: [PATCH] gnu: libuv: Update to 1.34.0
  2019-12-07 13:31     ` Andrew Miloradovsky
@ 2020-01-27 23:20       ` Marius Bakke
  0 siblings, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2020-01-27 23:20 UTC (permalink / raw)
  To: Andrew Miloradovsky, Brett Gilio; +Cc: 38509-done

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

Andrew Miloradovsky <andrew@interpretmath.pw> writes:

> Hi Brett,
>
> WRT the differences, it seems to be mostly fixes and refactoring:
>
> - https://github.com/libuv/libuv/tree/v1.34.0
>
> WRT the failed tests, it is due to treating EAGAIN as the failure:
>
> - https://github.com/libuv/libuv/issues/2531
>
> Not sure how to properly fix it, fixing the tests themselves is
> non-trivial, and retrying several more times likely won't work either.

/etc/nsswitch.conf does not exist in the build container, which is
probably why the getnameinfo tests fail.  Could you submit a patch for
Guix that disables those, and enables the rest?

Meanwhile I'm closing this issue, as we have the latest LibUV on the
'core-updates' branch.

By the way, if you need a newer libuv on 'master', you can create a
separate variable as in e.g. ffec356a29a58d97ec34e1152aa3136e78471dc6.

Thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-27 23:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06  8:57 [bug#38509] [PATCH] gnu: libuv: Update to 1.34.0 Andrew Miloradovsky
2019-12-07  1:27 ` Brett Gilio
2019-12-07  1:34   ` Brett Gilio
2019-12-07 13:31     ` Andrew Miloradovsky
2020-01-27 23:20       ` bug#38509: " Marius Bakke

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).