Package: prayer Version: 1.3.5-dfsg1-6 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, prayer currently FTBFS against glibc 2.30 in unstable. This is due to stropts.h being removed. 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 prayer-1.3.5-dfsg1/debian/patches/glibc-2.30.patch prayer-1.3.5-dfsg1/debian/patches/glibc-2.30.patch --- prayer-1.3.5-dfsg1/debian/patches/glibc-2.30.patch 1969-12-31 19:00:00.000000000 -0500 +++ prayer-1.3.5-dfsg1/debian/patches/glibc-2.30.patch 2020-03-15 21:04:19.000000000 -0400 @@ -0,0 +1,13 @@ +--- a/lib/os_linux.h ++++ b/lib/os_linux.h +@@ -9,7 +9,10 @@ + #include <signal.h> + #include <netdb.h> + #include <sys/file.h> ++ ++#ifdef HAVE_STROPTS_H + #include <stropts.h> ++#endif + + #include <sys/prctl.h> + diff -Nru prayer-1.3.5-dfsg1/debian/patches/series prayer-1.3.5-dfsg1/debian/patches/series --- prayer-1.3.5-dfsg1/debian/patches/series 2018-12-16 16:27:47.000000000 -0500 +++ prayer-1.3.5-dfsg1/debian/patches/series 2020-03-15 21:02:32.000000000 -0400 @@ -10,3 +10,4 @@ openssl1.1.patch no-referrer.patch glibc-2.28.patch +glibc-2.30.patch