[Pkg-monitoring-maintainers] Bug#812462: ganglia: [FTBFS, patch] out-of-date and missing build-depends

Michael Tautschnig mt at debian.org
Sat Jan 23 16:53:54 UTC 2016


Package: ganglia
Version: 3.6.0-6
Usertags: goto-cc
Tags: patch
Severity: serious
Justification: FTBFS

As of its version 1.5.4-3, rrdtool no longer Provides: librrd2-dev from
librrd-dev. This breaks the build of ganglia. Changing the build-dependency to
librrd-dev fixes this first problem.

The build then fails with

./configure: line 12863: PKG_PROG_PKG_CONFIG: command not found

Checking for apr
./configure: line 12978: syntax error near unexpected token `APR,apr-1'
./configure: line 12978: `  PKG_CHECK_MODULES(APR,apr-1)'

and

Checking for zlib
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking for deflate in -lz... no
zlib library not configured properly

The attached patch addresses all these problems, and the build succeeds
eventually.

Best,
Michael

-------------- next part --------------
diff -urN a/debian/control b/debian/control
--- a/debian/control	2014-09-11 10:59:34.000000000 +0100
+++ b/debian/control	2016-01-23 13:51:49.000000000 +0000
@@ -4,7 +4,7 @@
 Maintainer: Debian Monitoring Maintainers <pkg-monitoring-maintainers at lists.alioth.debian.org>
 Uploaders: Stuart Teasdale <sdt at debian.org>, Daniel Pocock <daniel at pocock.pro>
 Homepage: http://ganglia.info/
-Build-Depends: debhelper (>> 9.0.0), librrd2-dev, autoconf, autotools-dev, automake, libapr1-dev, libexpat1-dev, python-dev, libconfuse-dev, po-debconf, libxml2-dev, libdbi0-dev, libpcre3-dev, gperf, libtool, rsync, libkvm-dev [kfreebsd-any]
+Build-Depends: debhelper (>> 9.0.0), librrd-dev, autoconf, autotools-dev, automake, libapr1-dev, libexpat1-dev, python-dev, libconfuse-dev, po-debconf, libxml2-dev, libdbi0-dev, libpcre3-dev, gperf, libtool, rsync, libkvm-dev [kfreebsd-any], pkg-config, libz-dev
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/pkg-monitoring/ganglia.git
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-monitoring/ganglia.git
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-monitoring-maintainers/attachments/20160123/4ee6df1d/attachment.sig>


More information about the Pkg-monitoring-maintainers mailing list