Menu

#28 Crypt3_check fails with GCC 12

v1.0_(example)
open
nobody
None
5
2023-04-21
2022-04-12
papoteur
No

Hello,
I tried to create a package in Mageia. The build is OK in Mageia 8, but not in Mageia cauldron (will be 9). crypt3_check fails on each case.
The difference between the distro is mainly that cauldron uses GCC 12.0. I presume that the issue is here.
Release: 1.11
Build options: configure --disable-static

Discussion

  • papoteur

    papoteur - 2022-04-12

    The end of the test:

    Discrepancy for salt zv, password length 4
    Discrepancy for salt zv, password length 7
    Discrepancy for salt zT, password length 6
    Failed: 817 discrepancies.
    FAIL crypt3-check (exit status: 1)
    
     
  • Peter Selinger

    Peter Selinger - 2022-04-12

    I believe the failed test is caused by recent versions of the crypt3 library not being backward compatible. Please use the --disable-libcrypt configuration option (with ./configure). Then ccrypt will work correctly (although the crypt3 test may still fail).

    Also note that the crypt3 library is only used in unix-crypt mode, i.e., when ccrypt is used with the -u option. Hopefully this is extremely rarely used, as it's been about 25 years since unix crypt even existed.

    I'll remove this test and the dependency on the crypt3 library in the next release.

     
  • papoteur

    papoteur - 2022-04-12

    Hello Peter,
    With --disable-libcrypt configuration option, the test is skipped, thus this is OK.
    Thanks.

     
  • Marius

    Marius - 2023-04-21

    Hi, the ccrypt package was removed from Fedora 38 as compilation fails. Could this be fixed, please?

     

Log in to post a comment.