Source: kfilemetadata-kf5 Version: 5.49.0-1 Severity: important Tags: patch
Hello, kfilemetadata-kf5 currently FTBFS on hurd-i386 because it uses an undefined errno value, ENOATTR. Could you apply the attached patch to fix this just like on Linux? Thanks, Samuel -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0 (SMP w/8 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) -- Samuel `When you say "I wrote a program that crashed Windows", people just stare at you blankly and say "Hey, I got those with the system, *for free*".' (By Linus Torvalds)
Index: kfilemetadata-kf5-5.49.0/src/xattr_p.h =================================================================== --- kfilemetadata-kf5-5.49.0.orig/src/xattr_p.h +++ kfilemetadata-kf5-5.49.0/src/xattr_p.h @@ -32,7 +32,7 @@ #include <sys/types.h> #include <sys/xattr.h> -#if defined(Q_OS_ANDROID) || defined(Q_OS_LINUX) +#if defined(Q_OS_ANDROID) || defined(Q_OS_LINUX) || defined(Q_OS_HURD) // attr/xattr.h is not available in the Android NDK so we are defining ENOATTR ourself #ifndef ENOATTR # define ENOATTR ENODATA /* No such attribute */