Package Details: gnunet 0.22.2-1

Git Clone URL: https://aur.archlinux.org/gnunet.git (read-only, click to copy)
Package Base: gnunet
Description: A framework for secure peer-to-peer networking
Upstream URL: http://gnunet.org
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: 11
Popularity: 0.34
First Submitted: 2021-05-08 09:11 (UTC)
Last Updated: 2024-10-30 15:38 (UTC)

Dependencies (44)

Sources (7)

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

« First ‹ Previous 1 2 3 4 5 Next › Last »

loqy commented on 2024-06-22 01:58 (UTC)

gnunet fails to build, even though libgcrypt is installed

configure: error: You need libgcrypt to build this program.
At least version 1.6.0 (API 1) is required.

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

@lash

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)

@frankspace

The problem should be solved now.

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

@frankspace

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).

Solutions:

  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   libgnunetblock.la libgnunetblockgroup.la '/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   libgnunet_plugin_block_test.la '/build/gnunet/pkg/gnunet/usr/lib/gnunet'
libtool: warning: relinking 'libgnunet_plugin_block_test.la'
libtool: warning: relinking 'libgnunetblock.la'
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 libgnunet_plugin_block_test.la -rpath /usr/lib/gnunet plugin_block_test.lo libgnunetblockgroup.la libgnunetblock.la ../../src/util/libgnunetutil.la -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 libgnunetblock.la -rpath /usr/lib block.lo ../../src/util/libgnunetutil.la -lm -inst-prefix-dir /build/gnunet/pkg/gnunet)
/usr/bin/ld: warning: libgnunetblock.so.0, needed by /build/gnunet/src/gnunet-0.16.0/src/block/.libs/libgnunetblockgroup.so, not found (try using -rpath or -rpath-link)
libtool: install: /usr/bin/install -c .libs/libgnunetblock.so.0.0.0T /build/gnunet/pkg/gnunet/usr/lib/libgnunetblock.so.0.0.0
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f libgnunetblock.so.0.0.0 libgnunetblock.so.0 || { rm -f libgnunetblock.so.0 && ln -s libgnunetblock.so.0.0.0 libgnunetblock.so.0; }; })
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f libgnunetblock.so.0.0.0 libgnunetblock.so || { rm -f libgnunetblock.so && ln -s libgnunetblock.so.0.0.0 libgnunetblock.so; }; })
/usr/bin/ld: /build/gnunet/src/gnunet-0.16.0/src/block/.libs/libgnunetblockgroup.so: undefined reference to `GNUNET_BLOCK_mingle_hash'
libtool: install: /usr/bin/install -c .libs/libgnunetblock.lai /build/gnunet/pkg/gnunet/usr/lib/libgnunetblock.la
collect2: error: ld returned 1 exit status
libtool: warning: relinking 'libgnunetblockgroup.la'
libtool:   error: error: relink 'libgnunet_plugin_block_test.la' 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 libgnunetblockgroup.la -rpath /usr/lib bg_bf.lo libgnunetblock.la ../../src/util/libgnunetutil.la -lm -inst-prefix-dir /build/gnunet/pkg/gnunet)
libtool: install: /usr/bin/install -c .libs/libgnunetblockgroup.so.0.0.0T /build/gnunet/pkg/gnunet/usr/lib/libgnunetblockgroup.so.0.0.0
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f libgnunetblockgroup.so.0.0.0 libgnunetblockgroup.so.0 || { rm -f libgnunetblockgroup.so.0 && ln -s libgnunetblockgroup.so.0.0.0 libgnunetblockgroup.so.0; }; })
libtool: install: (cd /build/gnunet/pkg/gnunet/usr/lib && { ln -s -f libgnunetblockgroup.so.0.0.0 libgnunetblockgroup.so || { rm -f libgnunetblockgroup.so && ln -s libgnunetblockgroup.so.0.0.0 libgnunetblockgroup.so; }; })
libtool: install: /usr/bin/install -c .libs/libgnunetblockgroup.lai /build/gnunet/pkg/gnunet/usr/lib/libgnunetblockgroup.la
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().
    Aborting...
==> 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/get_version.sh: No such file or directory
configure.ac:33: 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...
configure.ac:33: 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().
    Aborting...
==> 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.