Package Details: gnunet 0.20.0-2

Git Clone URL: (read-only, click to copy)
Package Base: gnunet
Description: A framework for secure peer-to-peer networking
Upstream URL:
Keywords: Anonymity F2F File-Sharing GNS GNUnet Internet P2P VPN
Licenses: AGPL
Conflicts: gnunet-bin, gnunet-git
Submitter: arojas
Maintainer: grufo (redfish)
Last Packager: grufo
Votes: 8
Popularity: 0.24
First Submitted: 2021-05-08 09:11 (UTC)
Last Updated: 2023-09-25 10:34 (UTC)

Pinned Comments

grufo commented on 2021-12-30 18:18 (UTC)

After installing the package do not forget to add your user to the gnunet group, with

sudo usermod -aG gnunet "$(whoami)"

If later you want to remove your user from the group, launch:

sudo gpasswd --delete "$(whoami)" gnunet

For information on how to use GNUnet plaese refer to the GNUnet article in the ArchWiki.

Latest Comments

1 2 3 4 Next › Last »

grufo commented on 2022-10-18 16:58 (UTC)


See PKGBUILD § makedepends:

Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

lash commented on 2022-10-18 16:51 (UTC)

recommend adding automake to explicit deps

frankspace commented on 2022-03-14 00:25 (UTC)

Sorry for the delay -- yes, it works now, thank you!

grufo commented on 2022-03-03 01:53 (UTC)


The problem should be solved now.

grufo commented on 2022-02-28 03:02 (UTC)


Apparently that error is due to different versions of libtool between who packaged the GNUnet tarball upstream and who uses Arch.

Previously it was easily solvable by launching autoreconf -i, however with this release that will not work, due to a missing file necessary for launching autoreconf -i (the file was restored after the package was released, so version 0.16.1 will not have the same problem).


  1. Install gnunet-git and stick to it (if you do it now it is almost identical to this version)
  2. Or: Try to compile and install this package while you have gnunet-git installed (you will be asked to remove gnunet-git at the end of the process and you will have to say Yes)

frankspace commented on 2022-02-27 23:40 (UTC)

I am getting a compilation error that looks a lot like what @franz encountered. I am building it in a clean chroot without use of any AUR helpers. Compilation fails with the following:

Making install in block
make[2]: Entering directory '/build/gnunet/src/gnunet-0.16.0/src/block'
make[3]: Entering directory '/build/gnunet/src/gnunet-0.16.0/src/block'
 /usr/bin/mkdir -p '/build/gnunet/pkg/gnunet/usr/lib'
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c '/build/gnunet/pkg/gnunet/usr/lib'
 /usr/bin/mkdir -p '/build/gnunet/pkg/gnunet/usr/lib/gnunet'
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c '/build/gnunet/pkg/gnunet/usr/lib/gnunet'
libtool: warning: relinking ''
libtool: warning: relinking ''
libtool: install: (cd /build/gnunet/src/gnunet-0.16.0/src/block; /bin/sh "/build/gnunet/src/gnunet-0.16.0/libtool"  --silent --tag CC --mode=relink gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-address-of-packed-member -export-dynamic -avoid-version -module -no-undefined -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--unresolved-symbols=report-all -o -rpath /usr/lib/gnunet plugin_block_test.lo ../../src/util/ -lm -inst-prefix-dir /build/gnunet/pkg/gnunet)
libtool: install: (cd /build/gnunet/src/gnunet-0.16.0/src/block; /bin/sh "/build/gnunet/src/gnunet-0.16.0/libtool"  --silent --tag CC --mode=relink gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-address-of-packed-member -export-dynamic -no-undefined -version-info 0:0:0 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--unresolved-symbols=report-all -o -rpath /usr/lib block.lo ../../src/util/ -lm -inst-prefix-dir /build/gnunet/pkg/gnunet)
/usr/bin/ld: warning:, needed by /build/gnunet/src/gnunet-0.16.0/src/block/.libs/, not found (try using -rpath or -rpath-link)
libtool: install: /usr/bin/install -c .libs/ /build/gnunet/pkg/gnunet/usr/lib/
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f || { rm -f && ln -s; }; })
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f || { rm -f && ln -s; }; })
/usr/bin/ld: /build/gnunet/src/gnunet-0.16.0/src/block/.libs/ undefined reference to `GNUNET_BLOCK_mingle_hash'
libtool: install: /usr/bin/install -c .libs/libgnunetblock.lai /build/gnunet/pkg/gnunet/usr/lib/
collect2: error: ld returned 1 exit status
libtool: warning: relinking ''
libtool:   error: error: relink '' with the above command before installing it
make[3]: *** [Makefile:625: install-pluginLTLIBRARIES] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: install: (cd /build/gnunet/src/gnunet-0.16.0/src/block; /bin/sh "/build/gnunet/src/gnunet-0.16.0/libtool"  --silent --tag CC --mode=relink gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-address-of-packed-member -export-dynamic -no-undefined -version-info 0:0:0 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--unresolved-symbols=report-all -o -rpath /usr/lib bg_bf.lo ../../src/util/ -lm -inst-prefix-dir /build/gnunet/pkg/gnunet)
libtool: install: /usr/bin/install -c .libs/ /build/gnunet/pkg/gnunet/usr/lib/
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f || { rm -f && ln -s; }; })
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f || { rm -f && ln -s; }; })
libtool: install: /usr/bin/install -c .libs/libgnunetblockgroup.lai /build/gnunet/pkg/gnunet/usr/lib/
libtool: warning: remember to run 'libtool --finish /usr/lib'
make[3]: Leaving directory '/build/gnunet/src/gnunet-0.16.0/src/block'
make[2]: *** [Makefile:812: install-am] Error 2
make[2]: Leaving directory '/build/gnunet/src/gnunet-0.16.0/src/block'
make[1]: *** [Makefile:545: install-recursive] Error 1
make[1]: Leaving directory '/build/gnunet/src/gnunet-0.16.0/src'
make: *** [Makefile:625: install-recursive] Error 1
==> ERROR: A failure occurred in package().
==> ERROR: Build failed, check /home/frank/artixbuild/frank/build

I tried putting the autoreconf -i line back in, but that just caused compilation to barf immediately with the following:

==> Starting prepare()...
Copying file m4/fcntl-o.m4
Copying file m4/threadlib.m4
Copying file po/Makevars.template
sh: line 1: contrib/ No such file or directory error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
==> ERROR: A failure occurred in prepare().
==> ERROR: Build failed, check /home/frank/artixbuild/frank/build

I'm running Artix rather than Arch, but I can't imagine that should make any meaningful difference. So I'm stumped.