unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob aba49ef50b4e0c09003185eaf716665f5e2f4afc 1021 bytes (raw)
name: gnu/packages/patches/libevent-2.1-skip-failing-32bit-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
XXX: These fail on 32-bit due to an overflow bug in the test program.

Upstream bug URL:

https://github.com/libevent/libevent/issues/452

diff --git a/test/regress_util.c b/test/regress_util.c
index ef6a1487..4de501fc 100644
--- a/test/regress_util.c
+++ b/test/regress_util.c
@@ -1413,9 +1413,9 @@ static struct date_rfc1123_case {
 	{  1323648000, "Mon, 12 Dec 2011 00:00:00 GMT"},
 #ifndef _WIN32
 	/** In win32 case we have max   "23:59:59 January 18, 2038, UTC" for time32 */
-	{  4294967296, "Sun, 07 Feb 2106 06:28:16 GMT"} /* 2^32 */,
+	//{  4294967296, "Sun, 07 Feb 2106 06:28:16 GMT"} /* 2^32 */,
 	/** In win32 case we have max "23:59:59, December 31, 3000, UTC" for time64 */
-	{253402300799, "Fri, 31 Dec 9999 23:59:59 GMT"} /* long long future no one can imagine */,
+	//{253402300799, "Fri, 31 Dec 9999 23:59:59 GMT"} /* long long future no one can imagine */,
 	{  1456704000, "Mon, 29 Feb 2016 00:00:00 GMT"} /* leap year */,
 #endif
 	{  1435708800, "Wed, 01 Jul 2015 00:00:00 GMT"} /* leap second */,

debug log:

solving aba49ef50 ...
found aba49ef50 in https://yhetil.org/guix-devel/20170201192828.1252-1-mbakke@fastmail.com/

applying [1/1] https://yhetil.org/guix-devel/20170201192828.1252-1-mbakke@fastmail.com/
diff --git a/gnu/packages/patches/libevent-2.1-skip-failing-32bit-test.patch b/gnu/packages/patches/libevent-2.1-skip-failing-32bit-test.patch
new file mode 100644
index 000000000..aba49ef50

1:18: space before tab in indent.
 	{  1323648000, "Mon, 12 Dec 2011 00:00:00 GMT"},
1:20: space before tab in indent.
 	/** In win32 case we have max   "23:59:59 January 18, 2038, UTC" for time32 */
1:23: space before tab in indent.
 	/** In win32 case we have max "23:59:59, December 31, 3000, UTC" for time64 */
1:26: space before tab in indent.
 	{  1456704000, "Mon, 29 Feb 2016 00:00:00 GMT"} /* leap year */,
1:28: space before tab in indent.
 	{  1435708800, "Wed, 01 Jul 2015 00:00:00 GMT"} /* leap second */,
Checking patch gnu/packages/patches/libevent-2.1-skip-failing-32bit-test.patch...
Applied patch gnu/packages/patches/libevent-2.1-skip-failing-32bit-test.patch cleanly.
warning: 5 lines add whitespace errors.

index at:
100644 aba49ef50b4e0c09003185eaf716665f5e2f4afc	gnu/packages/patches/libevent-2.1-skip-failing-32bit-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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