FS#60470 - [ppp] fails to build
Attached to Project:
Arch Linux
Opened by Erich Eckner (deepthought) - Thursday, 18 October 2018, 10:14 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 November 2018, 10:29 GMT
Opened by Erich Eckner (deepthought) - Thursday, 18 October 2018, 10:14 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 November 2018, 10:29 GMT
|
Details
Description:
extra-x86_64-build fails with: /usr/bin/ld: pppcrypt.o: in function `DesSetkey': pppcrypt.c:(.text+0x116): undefined reference to `setkey' /usr/bin/ld: pppcrypt.o: in function `DesEncrypt': pppcrypt.c:(.text+0x1c2): undefined reference to `encrypt' /usr/bin/ld: pppcrypt.o: in function `DesDecrypt': pppcrypt.c:(.text+0x2c5): undefined reference to `encrypt' collect2: error: ld returned 1 exit status Additional info: * package version(s) ppp 2.4.7-4 (git revision 9070a8fcf6e8541ff688283f345611d559afbc70) * config and/or log files etc. full log is attached Steps to reproduce: > git checkout 9070a8fcf6e8541ff688283f345611d559afbc70 > cd ppp/repos/core-x86_64 > extra-x86_64-build |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 04 November 2018, 10:29 GMT
Reason for closing: Fixed
Additional comments about closing: ppp-2.4.7-5
Sunday, 04 November 2018, 10:29 GMT
Reason for closing: Fixed
Additional comments about closing: ppp-2.4.7-5
* The obsolete functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt,
ecb_crypt, and des_setparity are no longer available to newly linked
binaries, and the headers <rpc/des_crypt.h> and <rpc/rpc_des.h> are no
longer installed. These functions encrypted and decrypted data with the
DES block cipher, which is no longer considered secure. Software that
still uses these functions should switch to a modern cryptography library,
such as libgcrypt.
https://github.com/paulusmack/ppp/commit/3c7b86229f7bd2600d74db14b1fe5b3896be3875