[Build-common-hackers] Bug#314927: marked as done (cdbs: missing dependency on build-essential)

Debian Bug Tracking System owner at bugs.debian.org
Wed Jan 18 17:03:11 UTC 2006

Your message dated Wed, 18 Jan 2006 17:48:59 +0100
with message-id <200601181748.59623.peter_e at gmx.net>
and subject line Bug#314927: cdbs: missing dependency on build-essential
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 19 Jun 2005 13:04:18 +0000
>From q-funk at iki.fi Sun Jun 19 06:03:57 2005
Return-path: <q-funk at iki.fi>
Received: from fep19.inet.fi [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DjzSu-0008Lq-00; Sun, 19 Jun 2005 06:03:56 -0700
Received: from route.intranet ([]) by fep19.inet.fi with ESMTP
          id <20050619130354.JENE1914.fep19.inet.fi at route.intranet>;
          Sun, 19 Jun 2005 16:03:54 +0300
Received: from omena.intranet ([] ident=q-funk)
	by route.intranet with smtp (Exim 4.50)
	id 1DjzSq-0007WZ-8v; Sun, 19 Jun 2005 16:03:52 +0300
Received: by omena.intranet (sSMTP sendmail emulation); Sun, 19 Jun 2005 16:03:47 +0300
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Martin-Eric Racine <q-funk at iki.fi>
To: Debian Bug Tracking System <submit at bugs.debian.org>
X-Archive: encrypt
Subject: cdbs: missing dependency on build-essential
X-Mailer: reportbug 3.12
Date: Sun, 19 Jun 2005 16:03:47 +0300
Message-Id: <E1DjzSq-0007WZ-8v at route.intranet>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

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

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)


- -- 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 at euro, LC_CTYPE=fi_FI at euro (charmap=ISO-8859-15)

- -- no debconf information

Version: GnuPG v1.4.1 (GNU/Linux)


Received: (at 314927-done) by bugs.debian.org; 18 Jan 2006 16:49:32 +0000
>From peter_e at gmx.net Wed Jan 18 08:49:32 2006
Return-path: <peter_e at gmx.net>
Received: from mail.gmx.net ([])
	by spohr.debian.org with smtp (Exim 4.50)
	id 1EzGV1-0000iD-T2
	for 314927-done at bugs.debian.org; Wed, 18 Jan 2006 08:49:32 -0800
Received: (qmail invoked by alias); 18 Jan 2006 16:49:00 -0000
Received: from dslb-084-063-026-190.pools.arcor-ip.net (EHLO colt.pezone.net) []
  by mail.gmx.net (mp027) with SMTP; 18 Jan 2006 17:49:00 +0100
X-Authenticated: #495269
From: Peter Eisentraut <peter_e at gmx.net>
To: 314927-done at bugs.debian.org
Subject: Re: Bug#314927: cdbs: missing dependency on build-essential
Date: Wed, 18 Jan 2006 17:48:59 +0100
User-Agent: KMail/1.8.3
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200601181748.59623.peter_e at gmx.net>
X-Y-GMX-Trusted: 0
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_01,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

You're reading the code wrong.  cdbs does not add a dependency on 
build-essential anywhere.  (That is supposing that the code is working 
correctly, but you did not contest that.)

More information about the Build-common-hackers mailing list