GNU bug report logs - #77193
[PATCH 0/1] gnu: gnunet: Update to 0.24.0.

Previous Next

Package: guix-patches;

Reported by: Noé Lopez <noe <at> xn--no-cja.eu>

Date: Sat, 22 Mar 2025 23:09:03 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77193 AT debbugs.gnu.org.

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#77193; Package guix-patches. (Sat, 22 Mar 2025 23:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Noé Lopez <noe <at> xn--no-cja.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 22 Mar 2025 23:09:03 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: guix-patches <at> gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH 0/1] gnu: gnunet: Update to 0.24.0.
Date: Sun, 23 Mar 2025 00:07:45 +0100
From: Noé Lopez <noelopez <at> free.fr>

Hi,

This patch updates GNUnet to the latest version released earlier this month.
The build system is changing to meson, so I updated now before we are forced
to in next versions.

I could not reproduce the failing tests, even with ten rounds of build so I
re-enabled them, the other one was no longer an issue with the change of build
system.

Have a nice day,
Noé

CC Guillaume Le Vaillant because you signed off the previous version and there
is no team covering this package :)

Noé Lopez (1):
  gnu: gnunet: Update to 0.24.0.

 gnu/packages/gnunet.scm | 30 +++++++-----------------------
 1 file changed, 7 insertions(+), 23 deletions(-)


base-commit: 79886293a8f075b85c4de515d64b95ebb372c55c
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Sat, 22 Mar 2025 23:11:02 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: 77193 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH 1/1] gnu: gnunet: Update to 0.24.0.
Date: Sun, 23 Mar 2025 00:10:31 +0100
From: Noé Lopez <noelopez <at> free.fr>

Miniupnpc is needed at runtime, and I couldn’t reproduce the tests failing
with ten rounds.

* gnu/packages/gnunet.scm (gnunet): Update to 0.24.0.  Move miniupnpc to
propagated inputs.  Restore working tests.

Change-Id: I60bc22150ba678f0bc552df4e9cbeb1c6eb1d79a
---
 gnu/packages/gnunet.scm | 30 +++++++-----------------------
 1 file changed, 7 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 0d6c006da9..4334b6ddf9 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -82,7 +82,8 @@ (define-module (gnu packages gnunet)
   #:use-module (guix deprecation)
   #:use-module (guix download)
   #:use-module (guix git-download)
-  #:use-module (guix build-system gnu))
+  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson))
 
 (define-public libextractor
   (package
@@ -192,7 +193,7 @@ (define-public libmicrohttpd
 (define-public gnunet
   (package
     (name "gnunet")
-    (version "0.23.0")
+    (version "0.24.0")
     (source
      (origin
        (method url-fetch)
@@ -200,8 +201,8 @@ (define-public gnunet
                            ".tar.gz"))
        (sha256
         (base32
-         "0ypnsn81fp3iqi8rgsbcvfnz9iwmaxd1h71mphak8ska2kabdim4"))))
-    (build-system gnu-build-system)
+         "0mrw2qp62wfpg8w7cfkjmx9kii4lmckqgpzdpq3cprik92gjz186"))))
+    (build-system meson-build-system)
     (inputs
      (list bluez
            glpk
@@ -218,7 +219,6 @@ (define-public gnunet
            libogg
            libsodium
            libunistring
-           miniupnpc
            opus
            pulseaudio
            sqlite
@@ -233,29 +233,13 @@ (define-public gnunet
            python-sphinx-rtd-theme
            xxd
            which))
+    (propagated-inputs
+     (list miniupnpc))
     (arguments
      (list
       #:parallel-tests? #f              ;parallel tests aren't supported
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'disable-problematic-tests
-            (lambda _
-              ;; The file 'test_arm_probnat.sh' doesn't seem to exist,
-              ;; or have a creation method specified anywhere in the source.
-              (substitute* "src/service/arm/Makefile.in"
-                (("check_SCRIPTS = \\\\")
-                 "DISABLED_check_SCRIPTS = \\"))
-              ;; The 'test_communicator_bidirect-tcp' fails
-              ;; non-deterministically (see:
-              ;; https://bugs.gnunet.org/view.php?id=8689).
-              (substitute* "src/service/transport/Makefile.in"
-                (("test_communicator_bidirect-tcp\\$\\(EXEEXT) ")
-                 ""))
-              ;; The 'test_fs_search_with_and' fails non-deterministically
-              ;; (see: https://bugs.gnunet.org/view.php?id=8692).
-              (substitute* "src/service/fs/Makefile.in"
-                (("test_fs_search_with_and\\$\\(EXEEXT) ")
-                 ""))))
           (add-before 'check 'set-env-var-for-tests
             (lambda _
               (setenv "LANG" "en_US.UTF-8")))
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Tue, 29 Apr 2025 09:22:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Noé Lopez <noe <at> xn--no-cja.eu>
Cc: 77193 <at> debbugs.gnu.org, Noé Lopez <noelopez <at> free.fr>
Subject: Re: [PATCH 1/1] gnu: gnunet: Update to 0.24.0.
Date: Tue, 29 Apr 2025 11:21:36 +0200
Hello Noé,

Am Sun, Mar 23, 2025 at 12:10:31AM +0100 schrieb Noé Lopez:
> Miniupnpc is needed at runtime

thanks for the patch! I could also build with tests.
Could you elaborate on miniupnpc, preferably explain why it is needed
directly in the Guix source code?

According to the gnunet website, it is only an optional dependency.
And there are so many binaries in the package that I suppose one could
make use of gnunet without installing miniupnpc. Could this then not be
left as an option to the user installing gnunet?

Or alternatively, is there a way to patch the source code to make things
work without propagation?

Andreas





Information forwarded to guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Tue, 29 Apr 2025 09:49:02 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 77193 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/1] gnu: gnunet: Update to 0.24.0.
Date: Tue, 29 Apr 2025 11:47:42 +0200
[Message part 1 (text/plain, inline)]
Andreas Enge <andreas <at> enge.fr> writes:

> Hello Noé,
>
> Am Sun, Mar 23, 2025 at 12:10:31AM +0100 schrieb Noé Lopez:
>> Miniupnpc is needed at runtime
>
> thanks for the patch! I could also build with tests.
> Could you elaborate on miniupnpc, preferably explain why it is needed
> directly in the Guix source code?
>
> According to the gnunet website, it is only an optional dependency.
> And there are so many binaries in the package that I suppose one could
> make use of gnunet without installing miniupnpc. Could this then not be
> left as an option to the user installing gnunet?
>

That’s true, for me its needed to connect since my network is NAT. But I
guess since it is a runtime dependency it can still work without.

Should we at least document this dependency in the package description?

> Or alternatively, is there a way to patch the source code to make things
> work without propagation?
>

It is, but I suppose we don’t want to do it if we keep it as a runtime
dependency. I’ll send a new patch for 0.24.1 without miniupnpc.

> Andreas
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Tue, 29 Apr 2025 09:54:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Noé Lopez <noe <at> xn--no-cja.eu>
Cc: 77193 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/1] gnu: gnunet: Update to 0.24.0.
Date: Tue, 29 Apr 2025 11:53:32 +0200
Am Tue, Apr 29, 2025 at 11:47:42AM +0200 schrieb Noé Lopez:
> Should we at least document this dependency in the package description?

I think this is a good idea and would be helpful.

> It is, but I suppose we don’t want to do it if we keep it as a runtime
> dependency. I’ll send a new patch for 0.24.1 without miniupnpc.

Great, thanks!

Andreas





Information forwarded to guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Mon, 02 Jun 2025 09:27:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: 77193 <at> debbugs.gnu.org
Cc: andreas <at> enge.fr, Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH v2] gnu: gnunet: Update to 0.24.0.
Date: Mon,  2 Jun 2025 11:26:35 +0200
From: Noé Lopez <noelopez <at> free.fr>

* gnu/packages/gnunet.scm (gnunet): Update to 0.24.0.
Restore working tests.
[build-system]: Switch to meson-build-system.

Change-Id: I60bc22150ba678f0bc552df4e9cbeb1c6eb1d79a
Signed-off-by: Andreas Enge <andreas <at> enge.fr>
---
Hello Noé,

here is an updated patch, also with an expanded commit message.

The dependent package guile-gnunet (still) fails.
The other dependent package gnunet-gtk newly fails with this error
message:
starting phase `configure'
usage: meson [-h]
             {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,format,fmt,help}
             ...
meson: error: unrecognized arguments: --with-libunique --with-qrencode --with-gnunet=/gnu/store/q4zy0lm60hwihfbblq936rsripdxis2v-gnunet-0.24.0
error: in phase 'configure': uncaught exception:
%exception #<&invoke-error program: "meson" arguments: ("setup" "--prefix=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0" "--buildtype=debugoptimized" "-Dc_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "-Dcpp_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "--with-libunique" "--with-qrencode" "--with-gnunet=/gnu/store/q4zy0lm60hwihfbblq936rsripdxis2v-gnunet-0.24.0" "/tmp/guix-build-gnunet-gtk-0.23.0.drv-0/gnunet-gtk-0.23.0") exit-status: 2 term-signal: #f stop-signal: #f>
phase `configure' failed after 0.4 seconds
command "meson" "setup" "--prefix=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0" "--buildtype=debugoptimized" "-Dc_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "-Dcpp_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "--with-libunique" "--with-qrencode" "--with-gnunet=/gnu/store/q4zy0lm60hwihfbblq936rsripdxis2v-gnunet-0.24.0" "/tmp/guix-build-gnunet-gtk-0.23.0.drv-0/gnunet-gtk-0.23.0" failed with status 2
build process 10 exited with status 256

Could you maybe have a look?

Andreas


 gnu/packages/gnunet.scm | 27 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 0d6c006da9..463521cede 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -82,7 +82,8 @@ (define-module (gnu packages gnunet)
   #:use-module (guix deprecation)
   #:use-module (guix download)
   #:use-module (guix git-download)
-  #:use-module (guix build-system gnu))
+  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson))
 
 (define-public libextractor
   (package
@@ -192,7 +193,7 @@ (define-public libmicrohttpd
 (define-public gnunet
   (package
     (name "gnunet")
-    (version "0.23.0")
+    (version "0.24.0")
     (source
      (origin
        (method url-fetch)
@@ -200,8 +201,8 @@ (define-public gnunet
                            ".tar.gz"))
        (sha256
         (base32
-         "0ypnsn81fp3iqi8rgsbcvfnz9iwmaxd1h71mphak8ska2kabdim4"))))
-    (build-system gnu-build-system)
+         "0mrw2qp62wfpg8w7cfkjmx9kii4lmckqgpzdpq3cprik92gjz186"))))
+    (build-system meson-build-system)
     (inputs
      (list bluez
            glpk
@@ -238,24 +239,6 @@ (define-public gnunet
       #:parallel-tests? #f              ;parallel tests aren't supported
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'disable-problematic-tests
-            (lambda _
-              ;; The file 'test_arm_probnat.sh' doesn't seem to exist,
-              ;; or have a creation method specified anywhere in the source.
-              (substitute* "src/service/arm/Makefile.in"
-                (("check_SCRIPTS = \\\\")
-                 "DISABLED_check_SCRIPTS = \\"))
-              ;; The 'test_communicator_bidirect-tcp' fails
-              ;; non-deterministically (see:
-              ;; https://bugs.gnunet.org/view.php?id=8689).
-              (substitute* "src/service/transport/Makefile.in"
-                (("test_communicator_bidirect-tcp\\$\\(EXEEXT) ")
-                 ""))
-              ;; The 'test_fs_search_with_and' fails non-deterministically
-              ;; (see: https://bugs.gnunet.org/view.php?id=8692).
-              (substitute* "src/service/fs/Makefile.in"
-                (("test_fs_search_with_and\\$\\(EXEEXT) ")
-                 ""))))
           (add-before 'check 'set-env-var-for-tests
             (lambda _
               (setenv "LANG" "en_US.UTF-8")))

base-commit: 9539773875695431134a0f31c50eba5fcd1563b5
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Fri, 06 Jun 2025 20:46:02 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noelopez <at> free.fr>
To: Andreas Enge <andreas <at> enge.fr>, 77193 <at> debbugs.gnu.org
Cc: andreas <at> enge.fr
Subject: Re: [PATCH v2] gnu: gnunet: Update to 0.24.0.
Date: Fri, 06 Jun 2025 22:45:46 +0200
[Message part 1 (text/plain, inline)]
Andreas Enge <andreas <at> enge.fr> writes:

> From: Noé Lopez <noelopez <at> free.fr>
>
> * gnu/packages/gnunet.scm (gnunet): Update to 0.24.0.
> Restore working tests.
> [build-system]: Switch to meson-build-system.
>
> Change-Id: I60bc22150ba678f0bc552df4e9cbeb1c6eb1d79a
> Signed-off-by: Andreas Enge <andreas <at> enge.fr>
> ---
> Hello Noé,
>
> here is an updated patch, also with an expanded commit message.
>
> The dependent package guile-gnunet (still) fails.
> The other dependent package gnunet-gtk newly fails with this error
> message:
> starting phase `configure'
> usage: meson [-h]
>              {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,format,fmt,help}
>              ...
> meson: error: unrecognized arguments: --with-libunique --with-qrencode --with-gnunet=/gnu/store/q4zy0lm60hwihfbblq936rsripdxis2v-gnunet-0.24.0
> error: in phase 'configure': uncaught exception:
> %exception #<&invoke-error program: "meson" arguments: ("setup" "--prefix=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0" "--buildtype=debugoptimized" "-Dc_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "-Dcpp_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "--with-libunique" "--with-qrencode" "--with-gnunet=/gnu/store/q4zy0lm60hwihfbblq936rsripdxis2v-gnunet-0.24.0" "/tmp/guix-build-gnunet-gtk-0.23.0.drv-0/gnunet-gtk-0.23.0") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `configure' failed after 0.4 seconds
> command "meson" "setup" "--prefix=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0" "--buildtype=debugoptimized" "-Dc_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "-Dcpp_link_args=-Wl,-rpath=/gnu/store/mwd980rahqkhrh95gky156glp0dpggbi-gnunet-gtk-0.23.0/lib" "--with-libunique" "--with-qrencode" "--with-gnunet=/gnu/store/q4zy0lm60hwihfbblq936rsripdxis2v-gnunet-0.24.0" "/tmp/guix-build-gnunet-gtk-0.23.0.drv-0/gnunet-gtk-0.23.0" failed with status 2
> build process 10 exited with status 256
>
> Could you maybe have a look?
>

Hi Andreas,

Thank you for taking a look. Oddly, I remember having made a patch for
0.24.1 to send here but I must have completely forgotten to send it.

Well, there’s GNUNet 0.24.2 now so let me do a new one.

About the dependent packages, guile-gnunet has been unmaintained for a
while IIRC and gnunet-gtk is left in the dust since some time too and
didn’t really work last time I tried it. I will have a look though.

Good day,
Noé
[signature.asc (application/pgp-signature, inline)]

Information forwarded to andreas <at> enge.fr, guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Sat, 07 Jun 2025 18:33:02 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noelopez <at> free.fr>
To: 77193 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH v3 0/2] gnu: gnunet: Update to 0.24.2.
Date: Sat,  7 Jun 2025 20:31:58 +0200
Hi Andreas,

Here is 0.24.2, as promised. I’ve set gnunet-gtk back to gnu-build-system
since the move to meson doesn’t seem completely ready yet on their side.

I had to disable two gnunet tests, I’m not sure if they fail because there is
no network in the build or for another reason, one timeouts on 127.0.0.1 and
the other might be a bug in the test?

I also took the time to update guile-gnunet to fix the failing build
<https://codeberg.org/Baleine/gnunet>. This was completely useless though, as
gnunet-scheme is maintained, has many more features and should be used
instead. So let’s remove the guile-gnunet package.

Have a great day,
Noé

Noé Lopez (2):
  gnu: gnunet: Update to 0.24.2.
  gnu: gnunet-gtk: Update to 0.24.0.

 gnu/packages/gnunet.scm | 40 +++++++++++++++-------------------------
 1 file changed, 15 insertions(+), 25 deletions(-)


base-commit: 25589cc95f52a2225b641bcdb036bfacf20ce866
-- 
2.49.0





Information forwarded to andreas <at> enge.fr, guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Sat, 07 Jun 2025 18:33:02 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noelopez <at> free.fr>
To: 77193 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH v3 2/3] gnu: gnunet-gtk: Update to 0.24.0.
Date: Sat,  7 Jun 2025 20:32:00 +0200
* gnu/packages/gnunet.scm (gnunet-gtk): Update to 0.24.0.

Change-Id: Id5a6246c8df95b287733ecc02e4cdae61663c1f3
---
 gnu/packages/gnunet.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 9793c8b085..54ef50c42c 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -366,14 +366,15 @@ (define-public gnunet-scheme
 (define-public gnunet-gtk
   (package (inherit gnunet)
     (name "gnunet-gtk")
-    (version "0.23.0")
+    (version "0.24.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/gnunet/gnunet-gtk-"
                                   version ".tar.gz"))
               (sha256
                (base32
-                "131z47px0kqnmn2b3sb84qmf90kynhl6mrx4rxrqh9chhy5pcr3h"))))
+                "1asp0c5f278zdf6586zng36zmn5pj08qqx0pnap4nh58ycr37i5f"))))
+    (build-system gnu-build-system)
     (arguments
      (list #:configure-flags
            #~(list "--with-libunique"
-- 
2.49.0





Information forwarded to andreas <at> enge.fr, guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Sat, 07 Jun 2025 18:33:03 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noelopez <at> free.fr>
To: 77193 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH v3 1/3] gnu: gnunet: Update to 0.24.2.
Date: Sat,  7 Jun 2025 20:31:59 +0200
* gnu/packages/gnunet.scm (gnunet): Update to 0.24.2.
Restore working tests.
[build-system]: Switch to meson-build-system.

Change-Id: I60bc22150ba678f0bc552df4e9cbeb1c6eb1d79a
---
 gnu/packages/gnunet.scm | 35 ++++++++++++-----------------------
 1 file changed, 12 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 0d6c006da9..9793c8b085 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -82,7 +82,8 @@ (define-module (gnu packages gnunet)
   #:use-module (guix deprecation)
   #:use-module (guix download)
   #:use-module (guix git-download)
-  #:use-module (guix build-system gnu))
+  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson))
 
 (define-public libextractor
   (package
@@ -192,7 +193,7 @@ (define-public libmicrohttpd
 (define-public gnunet
   (package
     (name "gnunet")
-    (version "0.23.0")
+    (version "0.24.2")
     (source
      (origin
        (method url-fetch)
@@ -200,8 +201,8 @@ (define-public gnunet
                            ".tar.gz"))
        (sha256
         (base32
-         "0ypnsn81fp3iqi8rgsbcvfnz9iwmaxd1h71mphak8ska2kabdim4"))))
-    (build-system gnu-build-system)
+         "0ixgyq331vyv1vv63jcxgqwwyb7pxb69arsdvp1z09wlgn84lkif"))))
+    (build-system meson-build-system)
     (inputs
      (list bluez
            glpk
@@ -218,7 +219,6 @@ (define-public gnunet
            libogg
            libsodium
            libunistring
-           miniupnpc
            opus
            pulseaudio
            sqlite
@@ -238,24 +238,11 @@ (define-public gnunet
       #:parallel-tests? #f              ;parallel tests aren't supported
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'disable-problematic-tests
+          (add-after 'unpack 'disable-network-tests
             (lambda _
-              ;; The file 'test_arm_probnat.sh' doesn't seem to exist,
-              ;; or have a creation method specified anywhere in the source.
-              (substitute* "src/service/arm/Makefile.in"
-                (("check_SCRIPTS = \\\\")
-                 "DISABLED_check_SCRIPTS = \\"))
-              ;; The 'test_communicator_bidirect-tcp' fails
-              ;; non-deterministically (see:
-              ;; https://bugs.gnunet.org/view.php?id=8689).
-              (substitute* "src/service/transport/Makefile.in"
-                (("test_communicator_bidirect-tcp\\$\\(EXEEXT) ")
-                 ""))
-              ;; The 'test_fs_search_with_and' fails non-deterministically
-              ;; (see: https://bugs.gnunet.org/view.php?id=8692).
-              (substitute* "src/service/fs/Makefile.in"
-                (("test_fs_search_with_and\\$\\(EXEEXT) ")
-                 ""))))
+              (substitute* "src/cli/gns/meson.build"
+                (("'test_gns_box_sbox',") "")
+                (("'test_dns2gns',") ""))))
           (add-before 'check 'set-env-var-for-tests
             (lambda _
               (setenv "LANG" "en_US.UTF-8")))
@@ -275,7 +262,9 @@ (define-public gnunet
 global, distributed network that provides security and privacy.  GNUnet in
 that sense aims to replace the current internet protocol stack.  Along with
 an application for secure publication of files, it has grown to include all
-kinds of basic applications for the foundation of a GNU internet.")
+kinds of basic applications for the foundation of a GNU internet.
+
+For reliable NAT traversal, also install the @var{miniupnpc} package.")
     (license license:agpl3+)
     (home-page "https://www.gnunet.org/en/")))
 

base-commit: 25589cc95f52a2225b641bcdb036bfacf20ce866
-- 
2.49.0





Information forwarded to andreas <at> enge.fr, guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Sat, 07 Jun 2025 18:33:03 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noelopez <at> free.fr>
To: 77193 <at> debbugs.gnu.org
Cc: Noé Lopez <noelopez <at> free.fr>
Subject: [PATCH v3 3/3] gnu: guile-gnunet: Remove package.
Date: Sat,  7 Jun 2025 20:32:01 +0200
The package has failed to build for more than two months and has not received
an update since 2015, so we can remove it.

The gnunet-scheme package provides similar functionality.

Change-Id: Ia5b5111915529c511fb87c9d4eaad26c43171c95
---
 gnu/packages/gnunet.scm | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 54ef50c42c..d2ec53ac48 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -268,32 +268,6 @@ (define-public gnunet
     (license license:agpl3+)
     (home-page "https://www.gnunet.org/en/")))
 
-(define-public guile-gnunet                       ;GSoC 2015!
-  (let ((commit "d12167ab3c8d7d6caffd9c606e389ef043760602")
-        (revision "1"))
-    (package
-      (name "guile-gnunet")
-      (version (git-version "0.0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://git.savannah.gnu.org/git/guix/gnunet.git/")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "0nqc18jh9j30y4l6yh6j35byfg6qalq7yr3frv9rk10qa041c2sv"))))
-      (build-system gnu-build-system)
-      (native-inputs (list pkg-config autoconf automake))
-      (inputs (list guile-2.0 gnunet))
-      (synopsis "Guile bindings for GNUnet services")
-      (description
-       "This package provides Guile bindings to the client libraries of various
-GNUnet services, including the @dfn{identity} and @dfn{file sharing}
-services.")
-      (home-page "https://gnu.org/software/guix")
-      (license license:gpl3+))))
-
 (define-public gnunet-scheme
   (package
     (name "gnunet-scheme")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77193; Package guix-patches. (Mon, 09 Jun 2025 16:48:07 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Noé Lopez <noelopez <at> free.fr>
Cc: 77193 <at> debbugs.gnu.org
Subject: Re: [bug#77193] [PATCH v3 0/2] gnu: gnunet: Update to 0.24.2.
Date: Mon, 9 Jun 2025 18:46:51 +0200
Hello Noé,

Am Sat, Jun 07, 2025 at 08:31:58PM +0200 schrieb Noé Lopez:
> I also took the time to update guile-gnunet to fix the failing build
> <https://codeberg.org/Baleine/gnunet>. This was completely useless though, as
> gnunet-scheme is maintained, has many more features and should be used
> instead. So let’s remove the guile-gnunet package.

thanks for the patches! I have pushed the first two.

Concerning the package removal, we should follow the deprecation policy
and wait for one month.

Please feel free to remind me on or after July 7 :)

Andreas





This bug report was last modified 5 days ago.

Previous Next


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