On Sun, 14 Feb 2016 18:39:49 +0100 Andreas Beckmann <a...@debian.org> wrote: > Followup-For: Bug #810907 > Control: found -1 2.4a0-1 > Control: severity -1 serious > Control: tag -1 patch > > the same issue happens on powerpc > > https://buildd.debian.org/status/fetch.php?pkg=repsnapper&arch=powerpc&ver=2.4a0-1&stamp=1455299926 > https://buildd.debian.org/status/fetch.php?pkg=repsnapper&arch=ppc64el&ver=2.4a0-1&stamp=1455299989 >
I have modified the original patch with a workaround that works for all archs in Ubuntu [1]. Additionally, the attached debdiff also includes a fix for FTBFS that happens when building with gcc 6 [2]. There is an open bug report against linux on Ubuntu due to the mismatching headers between powerpc/ppc64el and the other archs, which is the actual reason for this particular FTBFS. Ubuntu bugs: [1] https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100 [2] https://bugs.launchpad.net/ubuntu/+source/repsnapper/+bug/1619289 [3] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1619446 thanks
repsnapper_2.4a0-1_repsnapper_2.4a0-1ubuntu1.debdiff
Description: Binary data
Description: resnapper FTBFS due to mismathing headers in linux-libc-dev The headers in linux-libc-dev are different in powerpc/ppc64el compared to other archs, they seems to be missing include clauses to the header under the asm-generic/ directory. This patch works around that by explicitly including both headers under asm-generic. Note that the include of arm/termbits.h had to be removed because it causes yet another conflict, this time due to the redefinition of types termios and ktermios, which also only affects powepc/ppc64el. Author: Tiago Stürmer Daitx <tiago.da...@canonical.com> Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810907 Bug-Ubuntu: https://bugs.launchpad.net/debian/+source/repsnapper/+bug/1619100 Forwarded: not-needed Last-Update: 2016-09-01 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/printer/custom_baud.cpp +++ b/src/printer/custom_baud.cpp @@ -6,7 +6,8 @@ #include <cstdlib> #include <fcntl.h> #include <sys/ioctl.h> -#include <asm/termbits.h> +#include <asm-generic/ioctls.h> +#include <asm-generic/termbits.h> #endif bool set_custom_baudrate( int device_fd, int baudrate ) {