[Build-common-hackers] Bug#314927: cdbs: missing dependency on build-essential

Martin-Eric Racine Martin-Eric Racine <q-funk@iki.fi>, 314927@bugs.debian.org
Sun, 19 Jun 2005 16:03:47 +0300


Package: cdbs
Version: 0.4.30
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Two basic CDBS modules generate dependencies upon build-essential without CDBS itself being explicitely dependant 
upon build-essential:

1/rules/buildcore.mk:           -e "s/^Build-Depends\(\|-Indep\): build-essential, /Build-Depends\1: /g" \
1/rules/buildvars.mk:CDBS_BUILD_DEPENDS ?= build-essential

The following patches fix the debian/control file to make CDBS explictely depend upon build-essential, and the 
CDBS rules themselves to provide consistant output that follows CDBS' own dependency recursion.

- --- debian/control.in.old   2005-02-05 05:56:58.000000000 +0200
+++ debian/control.in       2005-06-19 15:52:23.000000000 +0300
@@ -11,6 +11,7 @@
 Cpu: all
 System: all
 Conflicts: build-common
+Depends: build-essential
 Recommends: autotools-dev, debhelper (>= 4.1.0)
 Description: common build system for Debian packages
  This package contains the Common Debian Build System, an abstract
**********

- --- 1/rules/buildvars.mk.in.old        2005-05-23 21:45:30.000000000 +0300
+++ 1/rules/buildvars.mk.in   2005-06-19 15:44:39.000000000 +0300
@@ -80,7 +80,7 @@
 CDBS_BUILD_DEPENDS     ?= build-essential

 ifeq ($(_cdbs_bootstrap), )
- -CDBS_BUILD_DEPENDS     := cdbs (>= 0.4.23-1.1), $(CDBS_BUILD_DEPENDS)
+CDBS_BUILD_DEPENDS     := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.23-1.1)
 endif

 endif
**********


- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-imac
Locale: LANG=fi_FI@euro, LC_CTYPE=fi_FI@euro (charmap=ISO-8859-15)

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCtW0zeXr56x4Muc0RAqagAJ0d9rgUd4ioYcJzkywWUJRgNHyVbwCfQmJ4
LoirJbciM6sVS2YLFCZqxos=
=/HfV
-----END PGP SIGNATURE-----