Bug#916079: hyperic-sigar FTBFS with glibc 2.28

Logan Rosen logan at ubuntu.com
Sat Jan 12 03:59:05 GMT 2019


Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/ftbfs-glibc-2.28.diff: Fix FTBFS against glibc 2.28.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic-updates
  APT policy: (500, 'cosmic-updates'), (500, 'cosmic-security'), (500, 'cosmic'), (400, 'cosmic-proposed'), (100, 'cosmic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-13-generic (SMP w/8 CPU cores)
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 /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru hyperic-sigar-1.6.4+dfsg/debian/patches/ftbfs-glibc-2.28.diff hyperic-sigar-1.6.4+dfsg/debian/patches/ftbfs-glibc-2.28.diff
--- hyperic-sigar-1.6.4+dfsg/debian/patches/ftbfs-glibc-2.28.diff	1969-12-31 19:00:00.000000000 -0500
+++ hyperic-sigar-1.6.4+dfsg/debian/patches/ftbfs-glibc-2.28.diff	2019-01-11 22:38:38.000000000 -0500
@@ -0,0 +1,22 @@
+Description: Fix FTBFS against glibc 2.28
+Author: Logan Rosen <logan at ubuntu.com>
+Forwarded: https://github.com/hyperic/sigar/pull/127
+Last-Update: 2019-01-11
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/os/linux/linux_sigar.c
++++ b/src/os/linux/linux_sigar.c
+@@ -22,8 +22,13 @@
+ #include <sys/param.h>
+ #include <sys/stat.h>
+ #include <sys/times.h>
++#include <sys/types.h>
+ #include <sys/utsname.h>
+ 
++#ifdef __GNU_LIBRARY__
++#include <sys/sysmacros.h>
++#endif
++
+ #include "sigar.h"
+ #include "sigar_private.h"
+ #include "sigar_util.h"
diff -Nru hyperic-sigar-1.6.4+dfsg/debian/patches/series hyperic-sigar-1.6.4+dfsg/debian/patches/series
--- hyperic-sigar-1.6.4+dfsg/debian/patches/series	2014-11-03 00:25:28.000000000 -0500
+++ hyperic-sigar-1.6.4+dfsg/debian/patches/series	2019-01-11 22:36:13.000000000 -0500
@@ -3,3 +3,4 @@
 0003-bindings-java-Use-sane-name-for-JNI-library.patch
 0004-make-the-package-compile-on-MIPS.patch
 no-m64-mips-arm.diff
+ftbfs-glibc-2.28.diff


More information about the pkg-java-maintainers mailing list