dnsdist: disable XSK to fix the build
authorkrant <aleksey.vasilenko@gmail.com>
Mon, 26 Feb 2024 11:12:21 +0000 (13:12 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 27 Feb 2024 07:05:47 +0000 (08:05 +0100)
XSK support is set to auto by default and on some hosts it is detected as
on and leads to:

```
In file included from dnsdist-backend.cc:32:
xsk.hh:28:10: fatal error: bits/types/struct_timespec.h: No such file or
directory
   28 | #include <bits/types/struct_timespec.h>
```

Here we disable XSK so configure will behave more deterministically and
hopefully fix the builders.

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
net/dnsdist/Makefile

index a669f14dfe97b43d2f5a756d48e1d961fb6e9bb6..f611097051df8aa524ff1a31d9875e9eddab9a1a 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dnsdist
 PKG_VERSION:=1.9.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
@@ -149,6 +149,7 @@ CONFIGURE_ARGS+= \
        --with-pic \
        --with-lua=luajit \
        --with-libcap \
+       --without-xsk \
        $(if $(call IsEnabled,DNSDIST_PIE),,--disable-hardening) \
        $(if $(call IsEnabled,DNSDIST_SODIUM),--enable-dnscrypt --with-libsodium,--disable-dnscrypt --without-libsodium) \
        $(if $(call IsEnabled,DNSDIST_DNSTAP),--enable-dnstap=yes,--enable-dnstap=no) \