GNU bug report logs - #65624
[PATCH] gnu: liburcu: Update to 0.14.0.

Previous Next

Package: guix-patches;

Reported by: odion <at> efficios.com

Date: Wed, 30 Aug 2023 15:23:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.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 65624 in the body.
You can then email your comments to 65624 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#65624; Package guix-patches. (Wed, 30 Aug 2023 15:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to odion <at> efficios.com:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 30 Aug 2023 15:23:02 GMT) Full text and rfc822 format available.

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

From: odion <at> efficios.com
To: guix-patches <at> gnu.org
Cc: Olivier Dion <odion <at> efficios.com>
Subject: [PATCH] gnu: liburcu: Update to 0.14.0.
Date: Wed, 30 Aug 2023 11:22:21 -0400
From: Olivier Dion <odion <at> efficios.com>

* gnu/packages/datastructures.scm (liburcu): Update to 0.14.0.
---
 gnu/packages/datastructures.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index bd4f099d94..0689ef4259 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -213,14 +213,14 @@ (define-public libcuckoo
 (define-public liburcu
   (package
     (name "liburcu")
-    (version "0.13.1")
+    (version "0.14.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://www.lttng.org/files/urcu/"
                                   "userspace-rcu-" version ".tar.bz2"))
               (sha256
                (base32
-                "10rh6v9j13622cjlzx31cfpghjy0kqkvn6pb42whwwcg5cyz64rj"))))
+                "0kwx4fi3gn4p4sdxqkz2zh4z0fv06q449bnz43zjqfad3lkbyhya"))))
     (build-system gnu-build-system)
     (native-inputs
      (list perl))                 ; for tests

base-commit: ebaff644a6ae87ca289c827d902b46e7877e66ec
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65624; Package guix-patches. (Wed, 06 Sep 2023 04:57:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: odion <at> efficios.com
Cc: 65624 <at> debbugs.gnu.org
Subject: Re: bug#65624: [PATCH] gnu: liburcu: Update to 0.14.0.
Date: Wed, 06 Sep 2023 00:56:36 -0400
Hi,

odion <at> efficios.com writes:

> From: Olivier Dion <odion <at> efficios.com>
>
> * gnu/packages/datastructures.scm (liburcu): Update to 0.14.0.

According to QA new errors were introduced with this upgrade:
https://qa.guix.gnu.org/issue/65624.  It looks like it broke at least
multipath-tools.

-- 
Thanks,
Maxim




Added tag(s) moreinfo. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 06 Sep 2023 04:57:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#65624; Package guix-patches. (Wed, 06 Sep 2023 14:34:01 GMT) Full text and rfc822 format available.

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

From: Olivier Dion <odion <at> efficios.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 65624 <at> debbugs.gnu.org
Subject: Re: bug#65624: [PATCH] gnu: liburcu: Update to 0.14.0.
Date: Wed, 06 Sep 2023 10:32:52 -0400
On Wed, 06 Sep 2023, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:
> Hi,
>
> odion <at> efficios.com writes:
>
>> From: Olivier Dion <odion <at> efficios.com>
>>
>> * gnu/packages/datastructures.scm (liburcu): Update to 0.14.0.
>
> According to QA new errors were introduced with this upgrade:
> https://qa.guix.gnu.org/issue/65624.  It looks like it broke at least
> multipath-tools.

There are missing include statements in compilation units of multipath-
tools for <assert.h>.  It probably worked before because Userspace RCU
was including it in its public header file and not anymore.  Therefore,
it is a bug of mutlipath-tools which was fixed in version 0.9.6.

So I see two solutions to this.  Either I back-port the patch to version
0.9.3 or we update multipath-tools to 0.9.6.

Thought? 
-- 
Olivier Dion
EfficiOS Inc.
https://www.efficios.com




Information forwarded to guix-patches <at> gnu.org:
bug#65624; Package guix-patches. (Wed, 06 Sep 2023 17:14:01 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Olivier Dion <odion <at> efficios.com>
Cc: 65624 <at> debbugs.gnu.org
Subject: Re: bug#65624: [PATCH] gnu: liburcu: Update to 0.14.0.
Date: Wed, 06 Sep 2023 13:13:11 -0400
Hi,

Olivier Dion <odion <at> efficios.com> writes:

[...]

> There are missing include statements in compilation units of multipath-
> tools for <assert.h>.  It probably worked before because Userspace RCU
> was including it in its public header file and not anymore.  Therefore,
> it is a bug of mutlipath-tools which was fixed in version 0.9.6.
>
> So I see two solutions to this.  Either I back-port the patch to version
> 0.9.3 or we update multipath-tools to 0.9.6.

I'd favor updating multipath-tools; it only 2 dependents, and it's a
patch-level update, so my expectation is that it shouldn't break
anything.

-- 
Thanks,
Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#65624; Package guix-patches. (Thu, 07 Sep 2023 15:22:01 GMT) Full text and rfc822 format available.

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

From: odion <at> efficios.com
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Olivier Dion <odion <at> efficios.com>
Cc: 65624 <at> debbugs.gnu.org
Subject: [PATCH v2 2/2] gnu: liburcu: Update to 0.14.0.
Date: Thu,  7 Sep 2023 11:20:53 -0400
From: Olivier Dion <odion <at> efficios.com>

* gnu/packages/datastructures.scm (liburcu): Update to 0.14.0.
---
 gnu/packages/datastructures.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index bd4f099d94..0689ef4259 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -213,14 +213,14 @@ (define-public libcuckoo
 (define-public liburcu
   (package
     (name "liburcu")
-    (version "0.13.1")
+    (version "0.14.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://www.lttng.org/files/urcu/"
                                   "userspace-rcu-" version ".tar.bz2"))
               (sha256
                (base32
-                "10rh6v9j13622cjlzx31cfpghjy0kqkvn6pb42whwwcg5cyz64rj"))))
+                "0kwx4fi3gn4p4sdxqkz2zh4z0fv06q449bnz43zjqfad3lkbyhya"))))
     (build-system gnu-build-system)
     (native-inputs
      (list perl))                 ; for tests
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65624; Package guix-patches. (Thu, 07 Sep 2023 15:22:02 GMT) Full text and rfc822 format available.

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

From: odion <at> efficios.com
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Olivier Dion <odion <at> efficios.com>
Cc: Olivier Dion <olivier.dion <at> polymtl.ca>, 65624 <at> debbugs.gnu.org
Subject: [PATCH v2 1/2] gnu: multipath-tools: Update to 0.9.6.
Date: Thu,  7 Sep 2023 11:20:52 -0400
From: Olivier Dion <olivier.dion <at> polymtl.ca>

* gnu/packages/linux.scm (multipath-tools): Update to 0.9.6.
[#:make-flags]: Set systemd_prefix to output and remove SYSTEMDPATH.
[#:phases]: Add phase 'no-fortfify-3 before 'build.
[inputs]: Add util-linux "lib" output for libmount.
---
 gnu/packages/linux.scm | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 36354b4d82..3d310941a4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5547,7 +5547,7 @@ (define-public mdadm-static
 (define-public multipath-tools
   (package
     (name "multipath-tools")
-    (version "0.9.3")
+    (version "0.9.6")
     (home-page "https://github.com/opensvc/multipath-tools")
     (source (origin
               (method git-fetch)
@@ -5555,7 +5555,7 @@ (define-public multipath-tools
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0zcnr1135znizbnfqhqv3by9i2qwn5vg6kgmj6ma3yy1x1krx0d4"))
+                "1933iqh9r54pdl95yck0n4bw7jiiblymc964vlc1787qd4q012sz"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -5573,7 +5573,7 @@ (define-public multipath-tools
                            (string-append "prefix=" #$output)
                            ;; Install Udev rules below this directory, relative
                            ;; to the prefix.
-                           "SYSTEMDPATH=lib")
+                           (string-append "systemd_prefix=" #$output))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-source
@@ -5605,6 +5605,16 @@ (define-public multipath-tools
                 (("CFLAGS \\+= " match)
                  (string-append match "-Wno-error=unused-function ")))))
           (delete 'configure)           ;no configure script
+          (add-before 'build 'no-fortify-3
+            (lambda _
+              ;; NOTE: The check made seems to wrongly assume the
+              ;; FORTIFY_SOURCE=3 is valid.  However, when compiling, warnings
+              ;; are emitted from glibc, resulting in failed build.  Fix this
+              ;; by forcing the usage of FORTIFY_SOURCE=2.
+              (substitute* "create-config.mk"
+                (("FORTIFY_SOURCE=3")
+                 "FORTIFY_SOURCE=2"))
+              ))
           (add-before 'build 'set-LDFLAGS
             (lambda _
               ;; Note: this cannot be passed as a make flag because that will
@@ -5622,7 +5632,9 @@ (define-public multipath-tools
            liburcu
            lvm2
            readline
-           eudev))
+           eudev
+           ;; For libmount.
+           `(,util-linux "lib")))
     (synopsis "Access block devices through multiple paths")
     (description
      "This package provides the following binaries to drive the
-- 
2.41.0





Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 10 Sep 2023 14:50:01 GMT) Full text and rfc822 format available.

Notification sent to odion <at> efficios.com:
bug acknowledged by developer. (Sun, 10 Sep 2023 14:50:02 GMT) Full text and rfc822 format available.

Message #27 received at 65624-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: odion <at> efficios.com
Cc: Olivier Dion <olivier.dion <at> polymtl.ca>, 65624-done <at> debbugs.gnu.org
Subject: Re: [PATCH v2 1/2] gnu: multipath-tools: Update to 0.9.6.
Date: Sun, 10 Sep 2023 10:48:48 -0400
Hi,

odion <at> efficios.com writes:

> From: Olivier Dion <olivier.dion <at> polymtl.ca>
>
> * gnu/packages/linux.scm (multipath-tools): Update to 0.9.6.
> [#:make-flags]: Set systemd_prefix to output and remove SYSTEMDPATH.
> [#:phases]: Add phase 'no-fortfify-3 before 'build.
> [inputs]: Add util-linux "lib" output for libmount.

I've installed the series, thanks!

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 09 Oct 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 214 days ago.

Previous Next


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