Skip to content

relic error #42

@hros

Description

@hros

building OTExtension downloads relic version 0.5.0, and during compilation (on Ubuntu 22.04) fails with the following error:

[ 76%] Building C object extern/ENCRYPTO_utils/extern/relic/src/CMakeFiles/relic_s.dir/md/blake2s-ref.c.o
In file included from /tmp/OTExtension/extern/ENCRYPTO_utils/extern/relic/src/md/blake2s-ref.c:18:
/tmp/OTExtension/extern/ENCRYPTO_utils/extern/relic/src/md/blake2.h:101:5: error: size of array element is not a multiple of its alignment
  101 |     blake2s_state S[8][1];
      |     ^~~~~~~~~~~~~
/tmp/OTExtension/extern/ENCRYPTO_utils/extern/relic/src/md/blake2.h:102:5: error: size of array element is not a multiple of its alignment
  102 |     blake2s_state R[1];
      |     ^~~~~~~~~~~~~
/tmp/OTExtension/extern/ENCRYPTO_utils/extern/relic/src/md/blake2.h:109:5: error: size of array element is not a multiple of its alignment
  109 |     blake2b_state S[4][1];
      |     ^~~~~~~~~~~~~
/tmp/OTExtension/extern/ENCRYPTO_utils/extern/relic/src/md/blake2.h:110:5: error: size of array element is not a multiple of its alignment
  110 |     blake2b_state R[1];
      |     ^~~~~~~~~~~~~
/tmp/OTExtension/extern/ENCRYPTO_utils/extern/relic/src/md/blake2s-ref.c: In function ‘blake2s’:
/tmp/OTExtension/extern/ENCRYPTO_utils/extern/relic/src/md/blake2s-ref.c:329:3: error: size of array element is not a multiple of its alignment
  329 |   blake2s_state S[1];
      |   ^~~~~~~~~~~~~
gmake[2]: *** [extern/ENCRYPTO_utils/extern/relic/src/CMakeFiles/relic_s.dir/build.make:846: extern/ENCRYPTO_utils/extern/relic/src/CMakeFiles/relic_s.dir/md/blake2s-ref.c.o] Error 1

please either update the relic version being downloaded, or add instructions how to do so manually

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions