Skip to content

Ubuntu 22.04 (build env) depecation. plus on Ubuntu 26.04: error: implicit declaration of function ‘BLAKE2_ROUND’ #1871

Description

@JamesParrott

Hi everyone,

Thanks for making, and maintaining, such an amazing, import tool.

I want to point out that I fully appreciate, that users should not expect free technical support, to compile Veracrypt on any random platform, with any random custom environment changes, they wish. Veracrypt compiles on Ubuntu 22.04, and .deb packages etc. are provided.

However, compiling on multiple platforms can shine a light on potential areas for improvement, and in this particular case Ubuntu 22.04 is scheduled for EOL this April year by canonical, and Github have scheduled deprecation to start 10 days from now, on September 17th.

So specifically, I naively tried to bump the build runner to Ubuntu 26.04, and got the following error:

Compiling argon2.c
Compiling core.c
Compiling opt_sse2.c
../Crypto/Argon2/src/opt_sse2.c: In function ‘fill_block’:
../Crypto/Argon2/src/opt_sse2.c:61:9: error: implicit declaration of function ‘BLAKE2_ROUND’; did you mean ‘BLAKE2_ROUND_1’? [-Wimplicit-function-declaration]
   61 |         BLAKE2_ROUND(state[8 * i + 0], state[8 * i + 1], state[8 * i + 2],
      |         ^~~~~~~~~~~~
      |         BLAKE2_ROUND_1
make[1]: *** [/home/runner/work/VeraCrypt/VeraCrypt/src/Build/Include/Makefile.inc:21: ../Crypto/Argon2/src/opt_sse2.o] Error 1
make: *** [Makefile:705: all] Error 2

I haven't dug into this deeply, as some of you will know far more about the build process than I do. The define is there, so it's probably just due to a breaking change in a dependency, or a change in a newer version of gcc, e.g. how the pre-processor #defines priority order. Either that or some other tweak to the config or CMake is required, (that I should've made and didn't). So I'm just raising this right now for awareness.

It'd be good for everyone in the long term, to have it sorted out, so we're not relying on building Veracrypt on an unsupported distro version.

James.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions