Source: qtbase-opensource-src
Version: 5.11.3+dfsg-3
Severity: important
Tags: patch

Hello,

kio currently FTBFS on hurd-i386 due to a missing include in
qplatforms.h:

https://buildd.debian.org/status/fetch.php?pkg=kio&arch=hurd-i386&ver=5.54.1-1&stamp=1547906241&raw=0

See the attached patch which adds #include <features.h> (just like on
Linux). Without this include, __REDIRECT does not get defined, and then
open gets #defined to open64, leading to bogus MOC output.
Could you apply the attached patch in the next upload (along with the
patch for #920236?
(missing kio build prevents a lot of packages from being able to build)

Samuel

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 
'proposed-updates'), (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.20.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
<N> bon comment on fait de l'investigation pour savoir qui est le vilain ?
<s> on débranche le routeur et on regarde qui s'affole
 -+- #ens-mim administre -+-
Index: qtbase-opensource-src-5.11.3+dfsg/mkspecs/hurd-g++/qplatformdefs.h
===================================================================
--- qtbase-opensource-src-5.11.3+dfsg.orig/mkspecs/hurd-g++/qplatformdefs.h
+++ qtbase-opensource-src-5.11.3+dfsg/mkspecs/hurd-g++/qplatformdefs.h
@@ -58,7 +58,7 @@
 
 // We are hot - unistd.h should have turned on the specific APIs we requested
 
-
+#include <features.h>
 #include <pthread.h>
 #include <dirent.h>
 #include <fcntl.h>

Reply via email to