rdup
rdup copied to clipboard
Deprecated nettle API calls
I am trying to install rdup from AUR in Arch Linux. The build fails with the following errors:
crypt.c: In function ‘crypt_init’:
crypt.c:31:3: error: ‘nettle_aes_set_encrypt_key’ is deprecated [-Werror=deprecated-declarations]
aes_set_encrypt_key(ctx, length, (uint8_t *) key);
^~~~~~~~~~~~~~~~~~~
In file included from crypt.c:13:
/usr/include/nettle/aes.h:158:1: note: declared here
aes_set_encrypt_key(struct aes_ctx *ctx,
^~~~~~~~~~~~~~~~~~~
crypt.c:33:3: error: ‘nettle_aes_set_decrypt_key’ is deprecated [-Werror=deprecated-declarations]
aes_set_decrypt_key(ctx, length, (uint8_t *) key);
^~~~~~~~~~~~~~~~~~~
In file included from crypt.c:13:
/usr/include/nettle/aes.h:163:1: note: declared here
aes_set_decrypt_key(struct aes_ctx *ctx,
^~~~~~~~~~~~~~~~~~~
crypt.c: In function ‘crypt_path_ele’:
crypt.c:92:2: error: ‘nettle_aes_encrypt’ is deprecated [-Werror=deprecated-declarations]
aes_encrypt(ctx, aes_size, dest, source);
^~~~~~~~~~~
In file included from crypt.c:13:
/usr/include/nettle/aes.h:173:1: note: declared here
aes_encrypt(const struct aes_ctx *ctx,
^~~~~~~~~~~
crypt.c: In function ‘decrypt_path_ele’:
crypt.c:140:2: error: ‘nettle_aes_decrypt’ is deprecated [-Werror=deprecated-declarations]
aes_decrypt(ctx, aes_size, dest, source);
^~~~~~~~~~~
In file included from crypt.c:13:
/usr/include/nettle/aes.h:177:1: note: declared here
aes_decrypt(const struct aes_ctx *ctx,
^~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [GNUmakefile:38: crypt.o] Error 1
Nettle version is 3.5.1
It's becoming an issue to keep rdup in Debian, too...
I won't have time to work on this, but open to merge any PRS
On Fri, 4 Oct 2019, 18:20 legrostdg, [email protected] wrote:
It's becoming an issue to keep rdup in Debian, too...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/miekg/rdup/issues/35?email_source=notifications&email_token=AACWIW7UT4CQ6TX4LLYOD6DQM53OLA5CNFSM4IJFG4IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAMKPBA#issuecomment-538486660, or mute the thread https://github.com/notifications/unsubscribe-auth/AACWIW4FTY5644U3V7U2QY3QM53OLANCNFSM4IJFG4IA .