You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After 4f7fcd9 ("libsodium: include ed25519_core in minimal build") was backported into the 21.02 branch, python3-pynacl now fails to compile:
cc1: note: someone does not honour COPTS correctly, passed 4 times
build/temp.linux-mips-3.9/_sodium.c:588:10: error: 'crypto_core_ed25519_bytes' redeclared as different kind of symbol
size_t (*crypto_core_ed25519_bytes)() = NULL;
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/matt/openwrt/staging_dir/target-mips_24kc_musl/usr/include/sodium.h:17,
from build/temp.linux-mips-3.9/_sodium.c:569:
/home/matt/openwrt/staging_dir/target-mips_24kc_musl/usr/include/sodium/crypto_core_ed25519.h:13:8: note: previous declaration of 'crypto_core_ed25519_bytes' was here
size_t crypto_core_ed25519_bytes(void);
^~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.linux-mips-3.9/_sodium.c:589:10: error: 'crypto_core_ed25519_scalarbytes' redeclared as different kind of symbol
size_t (*crypto_core_ed25519_scalarbytes)(void) = NULL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/matt/openwrt/staging_dir/target-mips_24kc_musl/usr/include/sodium.h:17,
from build/temp.linux-mips-3.9/_sodium.c:569:
/home/matt/openwrt/staging_dir/target-mips_24kc_musl/usr/include/sodium/crypto_core_ed25519.h:25:8: note: previous declaration of 'crypto_core_ed25519_scalarbytes' was here
size_t crypto_core_ed25519_scalarbytes(void);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.linux-mips-3.9/_sodium.c:590:10: error: 'crypto_core_ed25519_nonreducedscalarbytes' redeclared as different kind of symbol
size_t (*crypto_core_ed25519_nonreducedscalarbytes)(void) = NULL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/matt/openwrt/staging_dir/target-mips_24kc_musl/usr/include/sodium.h:17,
from build/temp.linux-mips-3.9/_sodium.c:569:
/home/matt/openwrt/staging_dir/target-mips_24kc_musl/usr/include/sodium/crypto_core_ed25519.h:29:8: note: previous declaration of 'crypto_core_ed25519_nonreducedscalarbytes' was here
size_t crypto_core_ed25519_nonreducedscalarbytes(void);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After cherry-picking ccd3b6c ("pynacl: fix build with updated sodium-minimal patch") it now compiles again.
The master branch has pynacl 1.5.0 which supersedes the 1.4.0 in 21.02
The text was updated successfully, but these errors were encountered:
mcbridematt
changed the title
[21.02] python3-pynacl missing ed25519 patch
[21.02] python-pynacl: missing ed25519 patch
Mar 29, 2022
After 4f7fcd9 ("libsodium: include ed25519_core in minimal build") was backported into the 21.02 branch, python3-pynacl now fails to compile:
After cherry-picking ccd3b6c ("pynacl: fix build with updated sodium-minimal patch") it now compiles again.
The master branch has pynacl 1.5.0 which supersedes the 1.4.0 in 21.02
The text was updated successfully, but these errors were encountered: