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

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-maintain...@lists.alioth.debian.org>
 Uploaders: Stuart Teasdale <s...@debian.org>, Daniel Pocock <dan...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to