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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by loqs (loqs) - Thursday, 18 October 2018, 13:21 GMT
https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html

* 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.
Comment by Eli Schwartz (eschwartz) - Thursday, 18 October 2018, 13:50 GMT

Loading...