Source: stress-ng
Version: 0.17.08-1
Severity: normal
Tags: patch

stress-ng build-depends on libgcrypt20-dev but afaict does not use
libgcrypt.

(sid)ametzler@argenau:/dev/shm/GCRY/stress-ng-0.17.08$ grep -rli gcry
.travis.yml
Dockerfile
stress-crypt.c
README.md
debian/changelog
debian/control
debian/.debhelper/generated/stress-ng/dh_installchangelogs.dch.trimmed

and the only match for gcrypt in stress-crypt.c is:
#else
stressor_info_t stress_crypt_info = {
        .stressor = stress_unimplemented,
        .class = CLASS_CPU | CLASS_COMPUTE,
        .opt_set_funcs = opt_set_funcs,
        .verify = VERIFY_ALWAYS,
        .help = help,
        .unimplemented_reason = "built without gcrypt library"
};
#endif


which is the else to
#if defined(HAVE_LIB_CRYPT) &&  \
    (defined(HAVE_CRYPT_H) ||   \
     defined(__FreeBSD__))

i.e. a typo, should read crypt.
cu Andreas

Reply via email to