Source: ganglia
Version: 3.7.2-3
Severity: important
tags: patch

Hello, ganglia will FTBFS with the new glibc 2.32, because of libtirpc-dev 
being split into its own package.

the attached patch, from Graham Inggs <gin...@debian.org> will fix the issue.

It contains also some newline changes in changelog, please apply them as well

G.
diff -Nru ganglia-3.7.2/debian/changelog ganglia-3.7.2/debian/changelog
--- ganglia-3.7.2/debian/changelog      2020-11-21 22:57:27.000000000 +0100
+++ ganglia-3.7.2/debian/changelog      2020-11-22 14:30:53.000000000 +0100
@@ -1,3 +1,10 @@
+ganglia (3.7.2-3.1) unstable; urgency=low
+
+   * Non-maintainer upload
+   * Fix build with glibc >= 2.32
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Sun, 22 Nov 2020 
14:30:53 +0100
+
 ganglia (3.7.2-3) unstable; urgency=medium
 
   * Add dep8 tests. Thanks to Yolanda Robla. (Closes: #708145).
@@ -149,14 +305,12 @@
 
  -- Stuart Teasdale <s...@debian.org>  Thu, 08 Mar 2012 20:11:24 +0000
 
-
 ganglia (3.2.0-1) unstable; urgency=low
 
   * New upstream release
 
  -- Stuart Teasdale <s...@debian.org>  Sat, 21 Jan 2012 10:35:23 +0000
 
-
 ganglia (3.1.7-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
@@ -175,6 +329,7 @@
     (Closes: #626407, #561199)
 
  -- gregor herrmann <gre...@debian.org>  Tue, 10 Jan 2012 16:55:13 +0100
+
 ganglia (3.1.7-2) unstable; urgency=low
 
   * Stop ganglia-monitor from changing permissions on /var/lib/ganglia
@@ -263,10 +418,8 @@
 
 ganglia (3.1.1-3)
 experimental; urgency=low
-
   * Extra dependencies to allow php5-gd to be loaded
   * Fix gmond.conf to run gmond as the ganglia user. Closes: #510381
-
  -- Stu Teasdale <s...@debian.org>  Tue,  6 Dec 2008 13:30:30 +0000
 
 ganglia (3.1.1-2) experimental; urgency=low
diff -Nru ganglia-3.7.2/debian/control ganglia-3.7.2/debian/control
--- ganglia-3.7.2/debian/control        2020-11-21 22:57:27.000000000 +0100
+++ ganglia-3.7.2/debian/control        2020-11-22 14:30:53.000000000 +0100
@@ -4,7 +4,7 @@
 Maintainer: Marcos Fouces <mar...@debian.org>
 Uploaders: Stuart Teasdale <s...@debian.org>
 Homepage: http://ganglia.info/
-Build-Depends: debhelper-compat (=13), librrd-dev, libapr1-dev, libexpat1-dev, 
libconfuse-dev, po-debconf, libxml2-dev, libdbi0-dev, libpcre3-dev, gperf, 
rsync, libkvm-dev [kfreebsd-any], pkg-config, libz-dev
+Build-Depends: debhelper-compat (=13), librrd-dev, libapr1-dev, libexpat1-dev, 
libconfuse-dev, po-debconf, libxml2-dev, libdbi0-dev, libpcre3-dev, gperf, 
rsync, libkvm-dev [kfreebsd-any], pkg-config, libz-dev, libtirpc-dev
 Standards-Version: 4.5.0
 Vcs-Git: https://salsa.debian.org/debian/ganglia.git
 Vcs-Browser: https://salsa.debian.org/debian/ganglia
diff -Nru ganglia-3.7.2/debian/rules ganglia-3.7.2/debian/rules
--- ganglia-3.7.2/debian/rules  2020-11-21 22:57:27.000000000 +0100
+++ ganglia-3.7.2/debian/rules  2020-11-22 04:15:20.000000000 +0100
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/tirpc/
+export DEB_LDFLAGS_MAINT_APPEND = -ltirpc
 export DH_VERBOSE = 1
 %:
        dh $@

Reply via email to