Package: openwince-jtag Version: 0.5.1-7 Severity: serious Tags: patch ftbfs Justification: fails to build from source (but built successfully in the past) User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu focal ubuntu-patch
Hi, openwince-jtag FTBFS against glibc 2.30 in unstable due to the removal of stropts.h. In Ubuntu, the attached patch was applied to achieve the following: * d/p/glibc-2.30.patch: Fix FTBFS against glibc 2.30 by checking for existence of stropts.h. Thanks for considering the patch. Logan -- System Information: Debian Release: bullseye/sid APT prefers focal APT policy: (500, 'focal') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0-14-generic (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru openwince-jtag-0.5.1/debian/patches/glibc-2.30.patch openwince-jtag-0.5.1/debian/patches/glibc-2.30.patch --- openwince-jtag-0.5.1/debian/patches/glibc-2.30.patch 1969-12-31 19:00:00.000000000 -0500 +++ openwince-jtag-0.5.1/debian/patches/glibc-2.30.patch 2020-03-15 20:39:50.000000000 -0400 @@ -0,0 +1,14 @@ +--- a/src/tap/parport/ppdev.c ++++ b/src/tap/parport/ppdev.c +@@ -28,7 +28,11 @@ + #ifdef HAVE_LINUX_PPDEV_H + + #include <fcntl.h> ++ ++#ifdef HAVE_STROPTS_H + #include <stropts.h> ++#endif ++ + #include <unistd.h> + #include <linux/ppdev.h> + #include <linux/ioctl.h> diff -Nru openwince-jtag-0.5.1/debian/patches/series openwince-jtag-0.5.1/debian/patches/series --- openwince-jtag-0.5.1/debian/patches/series 2016-12-10 06:26:15.000000000 -0500 +++ openwince-jtag-0.5.1/debian/patches/series 2020-03-15 20:39:25.000000000 -0400 @@ -1,2 +1,3 @@ 0.5.1-6.patch format-security.patch +glibc-2.30.patch