View Issue Details

IDProjectCategoryView StatusLast Update
0007153GNUnetbuild processpublic2022-10-05 11:51
Reporterandrew.dudash Assigned Toschanzen Due Date
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebian 
Product VersionGit master 
Target Version0.16.1Fixed in Version0.16.1 
Summary0007153: ./configure doesn't AC_MSG_ERROR on missing libsodium
Description`./configure` errors out if `libsodium` is outdated, but it keeps running if it can't find libsodium
Steps To ReproduceUninstall `libsodium`.

Run `./configure`.

Run `make`.

`make` will fail
Additional InformationUpdating configure.ac to include the snippet below would solve the problem:

# check for libsodium
AC_CHECK_LIB([sodium], [sodium_init],
             [],
             [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18])])
TagsNo tags attached.

Activities

Christian Grothoff

2022-02-20 23:10

manager   ~0018706

I am confused. We have:


# check for libsodium version >= 1.0.18
AC_CHECK_HEADER([sodium.h],
  [AC_CHECK_LIB([sodium], [crypto_core_ed25519_scalar_mul],
                [libsodium=1],
                [libsodium=0])])

AS_IF([test "x$libsodium" = "x0"],
      [AC_MSG_ERROR([GNUnet requires libsodium >= 1.0.18])])

which seems perfectly adequate. What does your config.log say?

schanzen

2022-02-26 22:23

administrator   ~0018746

This works for me as well. Reporter unresponsive.

schanzen

2022-02-26 22:27

administrator   ~0018747

Actually this does not work. Reopening

schanzen

2022-02-26 22:27

administrator   ~0018748

Fix committed to master branch.

schanzen

2022-10-05 11:51

administrator   ~0019202

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2022-01-20 19:05andrew.dudashNew Issue
2022-02-20 23:10Christian GrothoffNote Added: 0018706
2022-02-26 22:23schanzenAssigned To => schanzen
2022-02-26 22:23schanzenStatusnew => resolved
2022-02-26 22:23schanzenResolutionopen => no change required
2022-02-26 22:23schanzenNote Added: 0018746
2022-02-26 22:27schanzenStatusresolved => new
2022-02-26 22:27schanzenResolutionno change required => reopened
2022-02-26 22:27schanzenNote Added: 0018747
2022-02-26 22:27schanzen
2022-02-26 22:27schanzenNote Added: 0018748
2022-02-26 22:27schanzenStatusnew => resolved
2022-02-26 22:27schanzenResolutionreopened => fixed
2022-02-26 22:28schanzenTarget Version => 0.16.1
2022-03-04 21:35schanzenStatusresolved => closed
2022-03-04 21:35schanzenFixed in Version => 0.16.1
2022-10-05 11:51schanzen
2022-10-05 11:51schanzenNote Added: 0019202