Source: librdkafka Version: 0.11.4-1 Severity: important Tags: patch Hello,
librdkafka is currently FTBFS on hurd-i386, thus preventing rsyslog from building, and thus from the standard task to be installable at all. The attached patch fixes the couple of odd assumptions that make the build fail, could you apply them soon so we can have an installable hurd-i386 system again? Thanks, Samuel -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- Samuel > C'est vrai. FreeBSD pourrait être bien s'il avait une licence > correcte. Oh, mon troll-ô-meter vient d'exploser... -+- OR in Guide du linuxien pervers - "Bien regler son troll-ô-meter"
Index: librdkafka-0.11.4/src/rd.h =================================================================== --- librdkafka-0.11.4.orig/src/rd.h +++ librdkafka-0.11.4/src/rd.h @@ -158,8 +158,8 @@ static RD_INLINE RD_UNUSED char *rd_strn #ifdef __APPLE__ /* Some versions of MacOSX dont have IOV_MAX */ #define IOV_MAX 1024 -#elif defined(_MSC_VER) -/* There is no IOV_MAX on MSVC but it is used internally in librdkafka */ +#elif defined(_MSC_VER) || defined(__GNU__) +/* There is no IOV_MAX on MSVC or GNU but it is used internally in librdkafka */ #define IOV_MAX 1024 #else #error "IOV_MAX not defined" Index: librdkafka-0.11.4/src/snappy_compat.h =================================================================== --- librdkafka-0.11.4.orig/src/snappy_compat.h +++ librdkafka-0.11.4/src/snappy_compat.h @@ -5,7 +5,7 @@ #ifdef __FreeBSD__ # include <sys/endian.h> -#elif defined(__APPLE_CC_) || defined(__MACH__) /* MacOS/X support */ +#elif defined(__APPLE_CC_) || (defined(__MACH__) && defined(__APPLE__)) /* MacOS/X support */ # include <machine/endian.h> #if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN