The library builds successfully on a Debian Bookworm, using the packages libmemcached-dev and libhiredis-dev, but the test fail here:
test/check_cache.c:60:F:core:test_cache_memcache:0: Assertion 'rc == 1' failed: rc == 0, 1 == 1
test/check_cache.c:60:F:core:test_cache_redis:0: Assertion 'rc == 1' failed: rc == 0, 1 == 1
The failing test is the following:
static void _test_basic_cache(oauth2_cache_t *c)
{
bool rc = false;
char *value = NULL;
rc = oauth2_cache_set(_log, c, "piet", "klaas", 2);
ck_assert_int_eq(rc, true);