Source: disque
Version: 1.0~rc1-2
Severity: serious
Justification: fails to build from source

The kFreeBSD builds of disque failed when trying to compile the
embedded copy of hiredis:

  net.c: In function 'redisKeepAlive':
  net.c:143:37: error: 'TCP_KEEPIDLE' undeclared (first use in this function)
       if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) {
                                       ^
  net.c:143:37: note: each undeclared identifier is reported only once for each 
function it appears in
  net.c:150:37: error: 'TCP_KEEPINTVL' undeclared (first use in this function)
       if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &val, sizeof(val)) < 0) {
                                       ^
  net.c:156:37: error: 'TCP_KEEPCNT' undeclared (first use in this function)
       if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, &val, sizeof(val)) < 0) {
                                       ^
  Makefile:118: recipe for target 'net.o' failed

Per Policy 4.13, it would be best to use separately packaged hiredis;
however, if that's not feasible, please fix the embedded copy for
kFreeBSD.

Thanks!

Reply via email to