GNU bug report logs - #28330
[PATCH 0/2] Boost 1.65.0.

Previous Next

Package: guix-patches;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Sat, 2 Sep 2017 13:07:01 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28330 in the body.
You can then email your comments to 28330 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#28330; Package guix-patches. (Sat, 02 Sep 2017 13:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Bakke <mbakke <at> fastmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 02 Sep 2017 13:07:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: guix-patches <at> gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH 0/2] Boost 1.65.0.
Date: Sat,  2 Sep 2017 15:05:50 +0200
Boost issued a couple of post-release patches for 1.65.0.  See
<http://www.boost.org/users/history/version_1_65_0.html>.  Should we
include them?  I've done that here (but skipped the Windows ones..).

`lint` complained that the patches did not have good file names, even
when explicitly set, so I extended it to check origin-file-names.

Feedback wanted!

Note: MySQL (at least) fails to build against 1.65.0, so we may need
to keep 1.64.0 around.

Marius Bakke (2):
  lint: Check file names of origin patches.
  gnu: boost: Update to 1.65.0.

 gnu/packages/boost.scm | 26 ++++++++++++++++++++++++--
 guix/scripts/lint.scm  |  8 +++++++-
 2 files changed, 31 insertions(+), 3 deletions(-)

-- 
2.14.1





Information forwarded to guix-patches <at> gnu.org:
bug#28330; Package guix-patches. (Sat, 02 Sep 2017 13:10:02 GMT) Full text and rfc822 format available.

Message #8 received at 28330 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: 28330 <at> debbugs.gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH 1/2] lint: Check file names of origin patches.
Date: Sat,  2 Sep 2017 15:09:46 +0200
* guix/scripts/lint.scm (check-patch-file-names): Add case for when PATCH is
an <origin>.
---
 guix/scripts/lint.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index aceafc674..855b6262f 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -561,7 +561,13 @@ patch could not be found."
                       (and=> (string-contains (basename patch)
                                               (package-name package))
                              zero?))
-                     (_  #f))     ;must be an <origin> or something like that.
+                     ((? origin? patch)
+                      (if (string? (origin-file-name patch))
+                          (and=> (string-contains (origin-file-name patch)
+                                                  (package-name package))
+                                 zero?)
+                          #f))
+                     (_  #f))
                    (or (and=> (package-source package) origin-patches)
                        '()))
       (emit-warning
-- 
2.14.1





Information forwarded to guix-patches <at> gnu.org:
bug#28330; Package guix-patches. (Sat, 02 Sep 2017 13:10:03 GMT) Full text and rfc822 format available.

Message #11 received at 28330 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: 28330 <at> debbugs.gnu.org
Cc: Marius Bakke <mbakke <at> fastmail.com>
Subject: [PATCH staging 2/2] gnu: boost: Update to 1.65.0.
Date: Sat,  2 Sep 2017 15:09:47 +0200
* gnu/packages/boost.scm (%boost-1.65.0-context.patch,
%boost-1.65.0-fiber.patch): New variables.
(boost): Update to 1.65.0.
[source](patches): New field.
---
 gnu/packages/boost.scm | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index 4c7308e9d..c0ae8dd19 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -33,19 +33,41 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages shells))
 
+;; Boost provides some fixes for problems found by library maintainers
+;; after the release.  See "known issues" at
+;; <http://www.boost.org/users/history/version_1_65_0.html>
+(define %boost-1.65.0-context.patch
+  (origin
+    (method url-fetch)
+    (uri (string-append "http://www.boost.org/patches/1_65_0/0001-context-"
+                        "function-executed-by-resume_with-has-to-retu.patch"))
+    (file-name "boost-1.65.0-context.patch")
+    (sha256
+     (base32 "12vha10dsyx8m29m1d3np0xh0a2vrqapjd6ha746nqv78zi1nlgd"))))
+
+(define %boost-1.65.0-fiber.patch
+  (origin
+    (method url-fetch)
+    (uri (string-append "http://www.boost.org/patches/1_65_0/0002-fiber-resume_"
+                        "with-requires-tor-return-a-continuation.patch"))
+    (file-name "boost-1.65.0-fiber.patch")
+    (sha256
+     (base32 "05hb1qwzj5y2cyhvdkw4vdg412gkzillrkmsdz470hb3p0jgpjhv"))))
+
 (define-public boost
   (package
     (name "boost")
-    (version "1.64.0")
+    (version "1.65.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
                     "mirror://sourceforge/boost/boost/" version "/boost_"
                     (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version)
                     ".tar.bz2"))
+              (patches (list %boost-1.65.0-context.patch %boost-1.65.0-fiber.patch))
               (sha256
                (base32
-                "0cikd35xfkpg9nnl76yqqnqxnf3hyfjjww8xjd4akflprsm5rk3v"))))
+                "0b4hz6rciqw7nf49yar271pbfwv94vrk2sjn5af0gyz288kp29pa"))))
     (build-system gnu-build-system)
     (inputs `(("icu4c" ,icu4c)
               ("zlib" ,zlib)))
-- 
2.14.1





Information forwarded to guix-patches <at> gnu.org:
bug#28330; Package guix-patches. (Tue, 05 Sep 2017 13:12:01 GMT) Full text and rfc822 format available.

Message #14 received at 28330 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 28330 <at> debbugs.gnu.org
Subject: Re: [bug#28330] [PATCH 1/2] lint: Check file names of origin patches.
Date: Tue, 05 Sep 2017 15:11:30 +0200
Marius Bakke <mbakke <at> fastmail.com> skribis:

> * guix/scripts/lint.scm (check-patch-file-names): Add case for when PATCH is
> an <origin>.

LGTM, but could you add a test in tests/lint.scm, next to the various
“patches:” tests?

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#28330; Package guix-patches. (Tue, 05 Sep 2017 13:14:02 GMT) Full text and rfc822 format available.

Message #17 received at 28330 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 28330 <at> debbugs.gnu.org
Subject: Re: [bug#28330] [PATCH staging 2/2] gnu: boost: Update to 1.65.0.
Date: Tue, 05 Sep 2017 15:12:48 +0200
Marius Bakke <mbakke <at> fastmail.com> skribis:

> * gnu/packages/boost.scm (%boost-1.65.0-context.patch,
> %boost-1.65.0-fiber.patch): New variables.
> (boost): Update to 1.65.0.
> [source](patches): New field.

[...]

> +    (version "1.65.0")

Should we call it “1.65.0.2” to reflect the fact that we’re applying two
fixes?

Otherwise LGTM, thanks!

Ludo’.




bug closed, send any further explanations to 28330 <at> debbugs.gnu.org and Marius Bakke <mbakke <at> fastmail.com> Request was from Marius Bakke <mbakke <at> fastmail.com> to control <at> debbugs.gnu.org. (Sat, 23 Jun 2018 14:54:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 22 Jul 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 274 days ago.

Previous Next


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