GNU bug report logs -
#53779
[PATCH 0/5] gnu: iwd: Build from Git; update to 1.23.
Previous Next
Reported by: Simon South <simon <at> simonsouth.net>
Date: Fri, 4 Feb 2022 15:42:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
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 53779 in the body.
You can then email your comments to 53779 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Fri, 04 Feb 2022 15:42:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Simon South <simon <at> simonsouth.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 04 Feb 2022 15:42:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Here's a patch series that aims to improve the iwd package by
- Migrating its "native-inputs" field to the new, label-less style;
- Building the package from revision control rather than a bootstrapped
tarball, which involves copying into the source tree two private header
files it shares with ell;[0]
- Updating ell itself to version 0.48, removing from its package definition
its own input labels as well as the "fix-dbus-tests" phase that was
obsoleted with upstream commit 49bb10f7b5;[1] and
- Updating iwd to 1.23.
Note there is an unavoidable dependency issue here: iwd 1.20 doesn't build
with ell 0.48, so a future time-traveller that arrives between the last two
commits will find the repository partially broken. Unfortunately expanding
this into a longer series of commits doesn't help, as iwd 1.21 also doesn't
build with ell 0.48 while iwd 1.22 doesn't build with ell 0.47. I don't see a
way around this that doesn't involve merging these two commits into one.
On x86-64, with these patches applied I've been able to build both packages
and all of their 40-odd dependents, and everything appears to be fine.
On AArch64, both packages and their one immediate dependent, network-manager,
build fine, as do the sub-dependent packages I can identify that don't rely on
Rust (currently unavailable on AArch64).
[0] As explained in passing at
https://lists.01.org/hyperkitty/list/iwd <at> lists.01.org/thread/2YCWIA63EFCKQ7AYRSGIDMUO7GEMC4CW/
[1] https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=49bb10f7b5e4b97d74210cb72cc47a337ae64cad
--
Simon South
simon <at> simonsouth.net
Simon South (5):
gnu: iwd: Remove input labels.
gnu: iwd: Build from Git sources.
gnu: ell: Remove input labels.
gnu: ell: Update to 0.48.
gnu: iwd: Update to 1.23.
gnu/packages/linux.scm | 19 +++-------------
gnu/packages/networking.scm | 43 ++++++++++++++++++++++++++-----------
2 files changed, 33 insertions(+), 29 deletions(-)
base-commit: 8f585083277e64ea1e9a0848ef3c49f12327618c
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Fri, 04 Feb 2022 15:44:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/linux.scm (ell)[native-inputs]: Remove input labels.
---
gnu/packages/linux.scm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e496b5e2b2..aabf759592 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8380,10 +8380,7 @@ (define-public ell
(inputs
(list dbus))
(native-inputs
- `(("autoconf" ,autoconf)
- ("libtool" ,libtool)
- ("pkgconfig" ,pkg-config)
- ("automake" ,automake)))
+ (list autoconf automake libtool pkg-config))
(home-page "https://01.org/ell")
(synopsis "Embedded Linux Library")
(description "The Embedded Linux* Library (ELL) provides core, low-level
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Fri, 04 Feb 2022 15:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (iwd)[native-inputs]: Remove input labels.
---
gnu/packages/networking.scm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3aa3e9b8e9..064248600e 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3581,10 +3581,7 @@ (define-public iwd
(inputs
(list dbus ell readline))
(native-inputs
- `(("pkgconfig" ,pkg-config)
- ("python" ,python)
- ("rst2man" ,python-docutils)
- ("openssl" ,openssl)))
+ (list pkg-config python python-docutils openssl))
(arguments
`(#:configure-flags
(let ((dbus (assoc-ref %outputs "out")))
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Fri, 04 Feb 2022 15:44:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (iwd): Update to 1.23.
---
gnu/packages/networking.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index dc42ec4d73..45184f8181 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3567,7 +3567,7 @@ (define-public bird
(define-public iwd
(package
(name "iwd")
- (version "1.20")
+ (version "1.23")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -3576,7 +3576,7 @@ (define-public iwd
(file-name (git-file-name name version))
(sha256
(base32
- "0xlbnsgw9giakfj0xr526i7mcwyaryb18g66mv90njnrm8radjhr"))))
+ "0hb01cn5gyna3zgqzjzz5zqn94cd1q9i00n4dmc1ms4w4s25q4a1"))))
(build-system gnu-build-system)
(inputs
(list dbus ell (package-source ell) readline))
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Fri, 04 Feb 2022 15:44:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/linux.scm (ell): Update to 0.48.
[arguments]: Remove obsolete "fix-dbus-tests" phase.
---
gnu/packages/linux.scm | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index aabf759592..8ae19855d7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8356,7 +8356,7 @@ (define-public wireplumber
(define-public ell
(package
(name "ell")
- (version "0.46")
+ (version "0.48")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -8365,18 +8365,8 @@ (define-public ell
(file-name (git-file-name name version))
(sha256
(base32
- "15hwqicmll23cbrj13h3wd4lgrby416ap7l6w0434jsza4s4yv82"))))
+ "0lxjizby3zdyhzad5a0gbz4m2pp44jf1j4l1pn18d04rw9mr2gqy"))))
(build-system gnu-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-dbus-tests
- (lambda _
- (substitute* '("unit/test-dbus-message-fds.c"
- "unit/test-dbus-properties.c"
- "unit/test-dbus.c")
- (("/usr/bin/dbus-daemon") (which "dbus-daemon")))
- #t)))))
(inputs
(list dbus))
(native-inputs
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Fri, 04 Feb 2022 15:45:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (iwd)[source]: Use "git-fetch" and
"git-file-name".
[inputs]: Add ell source code.
[native-inputs]: Add autoconf, automake, libtool.
[arguments]<#:phases>: Add "copy-ell-header-files" phase to copy shared header
files from ell source into source tree.
---
gnu/packages/networking.scm | 38 ++++++++++++++++++++++++++++---------
1 file changed, 29 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 064248600e..dc42ec4d73 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -47,6 +47,7 @@
;;; Copyright © 2021 Milkey Mouse <milkeymouse <at> meme.institute>
;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
;;; Copyright © 2021 Maxime Devos <maximedevos <at> telenet.be>
+;;; Copyright © 2022 Simon South <simon <at> simonsouth.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3568,20 +3569,25 @@ (define-public iwd
(name "iwd")
(version "1.20")
(source (origin
- ;; FIXME: We're using the bootstrapped sources because
- ;; otherwise using an external ell library is impossible.
- ;; How to bootstrap with Guix?
- (method url-fetch)
- (uri (string-append "https://www.kernel.org/pub/linux/network"
- "/wireless/iwd-" version ".tar.xz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.kernel.org/pub/scm/network/wireless/iwd.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "03q5scahyg86h4bdxqxm32shyssgpmfp5b3183j01ig7mg6f4lbx"))))
+ "0xlbnsgw9giakfj0xr526i7mcwyaryb18g66mv90njnrm8radjhr"))))
(build-system gnu-build-system)
(inputs
- (list dbus ell readline))
+ (list dbus ell (package-source ell) readline))
(native-inputs
- (list pkg-config python python-docutils openssl))
+ (list autoconf
+ automake
+ libtool
+ pkg-config
+ python
+ python-docutils
+ openssl))
(arguments
`(#:configure-flags
(let ((dbus (assoc-ref %outputs "out")))
@@ -3596,6 +3602,20 @@ (define-public iwd
dbus "/share/dbus-1/system-services")))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'copy-ell-header-files
+ ;; Copy into the source tree two of ell's private header files that
+ ;; it shares with iwd, as is required to build with the
+ ;; "--enable-external-ell" configure option.
+ ;; See the definition of "ell_shared" in iwd's Makefile.am.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((ell-header-dir (search-input-directory inputs "/ell"))
+ (target-dir "ell"))
+ (mkdir target-dir)
+ (for-each
+ (lambda (file-name)
+ (copy-file (string-append ell-header-dir "/" file-name)
+ (string-append target-dir "/" file-name)))
+ '("asn1-private.h" "useful.h")))))
(add-after 'configure 'patch-Makefile
(lambda _
(substitute* "Makefile"
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Sun, 06 Feb 2022 10:08:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 53779 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Simon South schreef op vr 04-02-2022 om 10:43 [-0500]:
> + (list pkg-config python python-docutils openssl))
> (arguments
> `(#:configure-flags
> (let ((dbus (assoc-ref %outputs "out")))
While you're at it, could you remove the %outputs that is being phased
out in favour of the G-exp equivalent?
#:configure-flags
,#~(let ((dbus #$output))
...)
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Mon, 07 Feb 2022 14:27:03 GMT)
Full text and
rfc822 format available.
Message #26 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (iwd)[arguments]: Remove reference to %outputs
by using a gexp.
---
gnu/packages/networking.scm | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 4258a14968..ef0ae12e49 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3580,16 +3580,15 @@ (define-public iwd
(list pkg-config python python-docutils openssl))
(arguments
`(#:configure-flags
- (let ((dbus (assoc-ref %outputs "out")))
- (list "--disable-systemd-service"
- "--enable-external-ell"
- "--enable-hwsim"
- "--enable-tools"
- "--enable-wired"
- "--localstatedir=/var"
- (string-append "--with-dbus-datadir=" dbus "/share/")
- (string-append "--with-dbus-busdir="
- dbus "/share/dbus-1/system-services")))
+ ,#~(list "--disable-systemd-service"
+ "--enable-external-ell"
+ "--enable-hwsim"
+ "--enable-tools"
+ "--enable-wired"
+ "--localstatedir=/var"
+ (string-append "--with-dbus-datadir=" #$output "/share/")
+ (string-append "--with-dbus-busdir="
+ #$output "/share/dbus-1/system-services"))
#:phases
(modify-phases %standard-phases
(add-after 'configure 'patch-Makefile
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Mon, 07 Feb 2022 14:27:03 GMT)
Full text and
rfc822 format available.
Message #29 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/linux.scm (ell)[native-inputs]: Remove input labels.
---
gnu/packages/linux.scm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2e2d01c656..138eab5ed2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8386,10 +8386,7 @@ (define-public ell
(inputs
(list dbus))
(native-inputs
- `(("autoconf" ,autoconf)
- ("libtool" ,libtool)
- ("pkgconfig" ,pkg-config)
- ("automake" ,automake)))
+ (list autoconf automake libtool pkg-config))
(home-page "https://01.org/ell")
(synopsis "Embedded Linux Library")
(description "The Embedded Linux* Library (ELL) provides core, low-level
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Mon, 07 Feb 2022 14:28:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 53779 <at> debbugs.gnu.org (full text, mbox):
Here's an updated patch series that additionally
- Removes a reference to "%outputs" in the iwd package using a gexp, following
Maxime's request; and
- Updates iwd to version 1.24, which was released in the last few days, rather
than 1.23.
Everything else is unchanged from the original.
On x86-64, all of iwd's dependents reported by "guix refresh" build fine for
me with the updated patchset applied.
On AArch64, ell, iwd and their one immediate dependency, network-manager, all
build fine as well.
The cover letter from the original patch series follows.
Here's a patch series that aims to improve the iwd package by
- Migrating its "native-inputs" field to the new, label-less style;
- Building the package from revision control rather than a bootstrapped
tarball, which involves copying into the source tree two private header
files it shares with ell;[0]
- Updating ell itself to version 0.48, removing from its package definition
its own input labels as well as the "fix-dbus-tests" phase that was
obsoleted with upstream commit 49bb10f7b5;[1] and
- Updating iwd to 1.23.
Note there is an unavoidable dependency issue here: iwd 1.20 doesn't build
with ell 0.48, so a future time-traveller that arrives between the last two
commits will find the repository partially broken. Unfortunately expanding
this into a longer series of commits doesn't help, as iwd 1.21 also doesn't
build with ell 0.48 while iwd 1.22 doesn't build with ell 0.47. I don't see a
way around this that doesn't involve merging these two commits into one.
On x86-64, with these patches applied I've been able to build both packages
and all of their 40-odd dependents, and everything appears to be fine.
On AArch64, both packages and their one immediate dependent, network-manager,
build fine, as do the sub-dependent packages I can identify that don't rely on
Rust (currently unavailable on AArch64).
[0] As explained in passing at
https://lists.01.org/hyperkitty/list/iwd <at> lists.01.org/thread/2YCWIA63EFCKQ7AYRSGIDMUO7GEMC4CW/
[1] https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=49bb10f7b5e4b97d74210cb72cc47a337ae64cad
--
Simon South
simon <at> simonsouth.net
Simon South (6):
gnu: iwd: Remove input labels.
gnu: iwd: Remove reference to %outputs.
gnu: iwd: Build from Git sources.
gnu: ell: Remove input labels.
gnu: ell: Update to 0.48.
gnu: iwd: Update to 1.24.
gnu/packages/linux.scm | 19 ++----------
gnu/packages/networking.scm | 62 +++++++++++++++++++++++--------------
2 files changed, 42 insertions(+), 39 deletions(-)
base-commit: 67817299808a03e2750cfb630dc09fe8eb99c468
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Mon, 07 Feb 2022 14:28:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (iwd)[native-inputs]: Remove input labels.
---
gnu/packages/networking.scm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 3ae255e093..4258a14968 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3577,10 +3577,7 @@ (define-public iwd
(inputs
(list dbus ell readline))
(native-inputs
- `(("pkgconfig" ,pkg-config)
- ("python" ,python)
- ("rst2man" ,python-docutils)
- ("openssl" ,openssl)))
+ (list pkg-config python python-docutils openssl))
(arguments
`(#:configure-flags
(let ((dbus (assoc-ref %outputs "out")))
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Mon, 07 Feb 2022 14:28:03 GMT)
Full text and
rfc822 format available.
Message #38 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (iwd)[source]: Use "git-fetch" and
"git-file-name".
[inputs]: Add ell source code.
[native-inputs]: Add autoconf, automake, libtool.
[arguments]<#:phases>: Add "copy-ell-header-files" phase to copy shared header
files from ell source into source tree.
---
gnu/packages/networking.scm | 38 ++++++++++++++++++++++++++++---------
1 file changed, 29 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index ef0ae12e49..382b4cf96d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -47,6 +47,7 @@
;;; Copyright © 2021 Milkey Mouse <milkeymouse <at> meme.institute>
;;; Copyright © 2021 Guillaume Le Vaillant <glv <at> posteo.net>
;;; Copyright © 2021 Maxime Devos <maximedevos <at> telenet.be>
+;;; Copyright © 2022 Simon South <simon <at> simonsouth.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3564,20 +3565,25 @@ (define-public iwd
(name "iwd")
(version "1.20")
(source (origin
- ;; FIXME: We're using the bootstrapped sources because
- ;; otherwise using an external ell library is impossible.
- ;; How to bootstrap with Guix?
- (method url-fetch)
- (uri (string-append "https://www.kernel.org/pub/linux/network"
- "/wireless/iwd-" version ".tar.xz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.kernel.org/pub/scm/network/wireless/iwd.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "03q5scahyg86h4bdxqxm32shyssgpmfp5b3183j01ig7mg6f4lbx"))))
+ "0xlbnsgw9giakfj0xr526i7mcwyaryb18g66mv90njnrm8radjhr"))))
(build-system gnu-build-system)
(inputs
- (list dbus ell readline))
+ (list dbus ell (package-source ell) readline))
(native-inputs
- (list pkg-config python python-docutils openssl))
+ (list autoconf
+ automake
+ libtool
+ pkg-config
+ python
+ python-docutils
+ openssl))
(arguments
`(#:configure-flags
,#~(list "--disable-systemd-service"
@@ -3591,6 +3597,20 @@ (define-public iwd
#$output "/share/dbus-1/system-services"))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'copy-ell-header-files
+ ;; Copy into the source tree two of ell's private header files that
+ ;; it shares with iwd, as is required to build with the
+ ;; "--enable-external-ell" configure option.
+ ;; See the definition of "ell_shared" in iwd's Makefile.am.
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((ell-header-dir (search-input-directory inputs "/ell"))
+ (target-dir "ell"))
+ (mkdir target-dir)
+ (for-each
+ (lambda (file-name)
+ (copy-file (string-append ell-header-dir "/" file-name)
+ (string-append target-dir "/" file-name)))
+ '("asn1-private.h" "useful.h")))))
(add-after 'configure 'patch-Makefile
(lambda _
(substitute* "Makefile"
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Mon, 07 Feb 2022 14:28:03 GMT)
Full text and
rfc822 format available.
Message #41 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/networking.scm (iwd): Update to 1.24.
---
gnu/packages/networking.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 382b4cf96d..4d260249d7 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3563,7 +3563,7 @@ (define-public bird
(define-public iwd
(package
(name "iwd")
- (version "1.20")
+ (version "1.24")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -3572,7 +3572,7 @@ (define-public iwd
(file-name (git-file-name name version))
(sha256
(base32
- "0xlbnsgw9giakfj0xr526i7mcwyaryb18g66mv90njnrm8radjhr"))))
+ "1sdi7008j5jhlg2rqpczh1pzb8zay6mc9dpnjjsmdnsmrcr3v7wi"))))
(build-system gnu-build-system)
(inputs
(list dbus ell (package-source ell) readline))
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Mon, 07 Feb 2022 14:28:03 GMT)
Full text and
rfc822 format available.
Message #44 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/linux.scm (ell): Update to 0.48.
[arguments]: Remove obsolete "fix-dbus-tests" phase.
---
gnu/packages/linux.scm | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 138eab5ed2..1c76d37166 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8362,7 +8362,7 @@ (define-public wireplumber
(define-public ell
(package
(name "ell")
- (version "0.46")
+ (version "0.48")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -8371,18 +8371,8 @@ (define-public ell
(file-name (git-file-name name version))
(sha256
(base32
- "15hwqicmll23cbrj13h3wd4lgrby416ap7l6w0434jsza4s4yv82"))))
+ "0lxjizby3zdyhzad5a0gbz4m2pp44jf1j4l1pn18d04rw9mr2gqy"))))
(build-system gnu-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'fix-dbus-tests
- (lambda _
- (substitute* '("unit/test-dbus-message-fds.c"
- "unit/test-dbus-properties.c"
- "unit/test-dbus.c")
- (("/usr/bin/dbus-daemon") (which "dbus-daemon")))
- #t)))))
(inputs
(list dbus))
(native-inputs
--
2.34.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 08 Feb 2022 12:37:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Simon South <simon <at> simonsouth.net>
:
bug acknowledged by developer.
(Tue, 08 Feb 2022 12:37:02 GMT)
Full text and
rfc822 format available.
Message #49 received at 53779-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Simon South <simon <at> simonsouth.net> skribis:
> Note there is an unavoidable dependency issue here: iwd 1.20 doesn't build
> with ell 0.48, so a future time-traveller that arrives between the last two
> commits will find the repository partially broken. Unfortunately expanding
> this into a longer series of commits doesn't help, as iwd 1.21 also doesn't
> build with ell 0.48 while iwd 1.22 doesn't build with ell 0.47. I don't see a
> way around this that doesn't involve merging these two commits into one.
Merging into one is the right thing in this case, IMO. I did that on
your behalf.
> On x86-64, with these patches applied I've been able to build both packages
> and all of their 40-odd dependents, and everything appears to be fine.
>
> On AArch64, both packages and their one immediate dependent, network-manager,
> build fine, as do the sub-dependent packages I can identify that don't rely on
> Rust (currently unavailable on AArch64).
>
> [0] As explained in passing at
> https://lists.01.org/hyperkitty/list/iwd <at> lists.01.org/thread/2YCWIA63EFCKQ7AYRSGIDMUO7GEMC4CW/
> [1] https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=49bb10f7b5e4b97d74210cb72cc47a337ae64cad
OK.
> gnu: iwd: Remove input labels.
> gnu: iwd: Remove reference to %outputs.
> gnu: iwd: Build from Git sources.
> gnu: ell: Remove input labels.
> gnu: ell: Update to 0.48.
> gnu: iwd: Update to 1.24.
Applied. Thanks for the code and for the explanations!
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Tue, 08 Feb 2022 22:49:01 GMT)
Full text and
rfc822 format available.
Message #52 received at 53779 <at> debbugs.gnu.org (full text, mbox):
Hi again,
Simon South <simon <at> simonsouth.net> skribis:
> * gnu/packages/linux.scm (ell): Update to 0.48.
> [arguments]: Remove obsolete "fix-dbus-tests" phase.
I noticed this test failure on powerpc64le-linux:
--8<---------------cut here---------------start------------->8---
================================
ell 0.48: ./test-suite.log
================================
# TOTAL: 40
# PASS: 38
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: unit/test-dbus-message-fds
================================
launching dbus-daemon
dbus-daemon process 16430 created
dbus-daemon[16430]: Failed to start message bus: Failed to bind socket "/tmp/ell-test-bus": Address already in use
process 16430 terminated with status=256
Disconnected from DBus
FAIL unit/test-dbus-message-fds (exit status: 134)
FAIL: unit/test-dbus-properties
===============================
launching dbus-daemon
dbus-daemon process 16445 created
dbus-daemon[16445]: Failed to start message bus: Failed to bind socket "/tmp/ell-test-bus": Address already in use
process 16445 terminated with status=256
Disconnected from DBus
FAIL unit/test-dbus-properties (exit status: 134)
--8<---------------cut here---------------end--------------->8---
(From <https://ci.guix.gnu.org/build/469659/log/raw>.)
This makes me think that perhaps we need #:parallel-tests? #f, WDYT?
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Wed, 09 Feb 2022 14:52:01 GMT)
Full text and
rfc822 format available.
Message #55 received at 53779 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> This makes me think that perhaps we need #:parallel-tests? #f, WDYT?
That seems right; I can reproduce the failure by building just the three
D-Bus-related tests together in parallel.
I'll follow up with a patch.
--
Simon South
simon <at> simonsouth.net
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Wed, 09 Feb 2022 14:56:02 GMT)
Full text and
rfc822 format available.
Message #58 received at 53779 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/linux.scm (ell)[arguments]: Disable parallel tests.
---
gnu/packages/linux.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 08ef82efaf..e9db731614 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8358,6 +8358,8 @@ (define-public ell
(base32
"0lxjizby3zdyhzad5a0gbz4m2pp44jf1j4l1pn18d04rw9mr2gqy"))))
(build-system gnu-build-system)
+ (arguments
+ '(#:parallel-tests? #f))
(inputs
(list dbus))
(native-inputs
base-commit: ad9cd004c81a01e33a605221a102f4d20abe442d
--
2.34.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#53779
; Package
guix-patches
.
(Thu, 10 Feb 2022 20:53:02 GMT)
Full text and
rfc822 format available.
Message #61 received at 53779 <at> debbugs.gnu.org (full text, mbox):
Hi,
Simon South <simon <at> simonsouth.net> skribis:
> * gnu/packages/linux.scm (ell)[arguments]: Disable parallel tests.
> ---
> gnu/packages/linux.scm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 08ef82efaf..e9db731614 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -8358,6 +8358,8 @@ (define-public ell
> (base32
> "0lxjizby3zdyhzad5a0gbz4m2pp44jf1j4l1pn18d04rw9mr2gqy"))))
> (build-system gnu-build-system)
> + (arguments
> + '(#:parallel-tests? #f))
I added a comment and applied it.
Thanks,
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 Mar 2022 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 96 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.