[Build-common-hackers] Bug#208673: marked as done (cdbs behaves differently when the class is included before the rules)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 04 Sep 2003 16:48:09 -0500


Your message dated Thu, 04 Sep 2003 17:42:05 -0400
with message-id <1062711724.25282.1.camel@columbia>
and subject line [Build-common-hackers] Bug#208673: cdbs behaves differently when the class is included before the rules
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; 4 Sep 2003 12:21:16 +0000
>From jordi@oskuro.net Thu Sep 04 07:21:04 2003
Return-path: <jordi@oskuro.net>
Received: from 115.red-213-96-69.pooles.rima-tde.net (natura.oskuro.net) [213.96.69.115] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19ut6i-0001Of-00; Thu, 04 Sep 2003 07:21:00 -0500
Received: from nubol.int.oskuro.net (nubol.int.oskuro.net [192.168.1.3])
	by natura.oskuro.net (Postfix) with ESMTP
	id 4F7A8279B1; Thu,  4 Sep 2003 14:20:59 +0200 (CEST)
Received: by nubol.int.oskuro.net (Postfix, from userid 1000)
	id 1C84F70A747; Thu,  4 Sep 2003 14:20:59 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jordi Mallach <jordi@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cdbs behaves differently when the class is included before the rules
X-Mailer: reportbug 2.26.1
Date: Thu, 04 Sep 2003 14:20:59 +0200
Message-Id: <20030904122059.1C84F70A747@nubol.int.oskuro.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-4.8 required=4.0
	tests=BAYES_10,HAS_PACKAGE,RCVD_IN_RFCI
	version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp)

Package: cdbs
Version: 0.4.6
Severity: important

I finally found out why gnome-mud wasn't adding misc:Depends.

I am doing:

include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/debhelper.mk

And this doesn't make this condition in gnome.mk apply:

ifdef _cdbs_rules_debhelper
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
        dh_scrollkeeper -p$(cdbs_curpkg) $(DEB_DH_SCROLLKEEPER_ARGS)
endif

I have looked over the CDBS readme and didn't see any requirement on classes
having to be included after the rules, so I guess this is a bug.

Thanks,
Jordi

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nubol 2.6.0-test3-mm3 #1 Fri Aug 22 14:32:03 CEST 2003 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

-- no debconf information


---------------------------------------
Received: (at 208673-done) by bugs.debian.org; 4 Sep 2003 21:45:06 +0000
>From walters@verbum.org Thu Sep 04 16:45:04 2003
Return-path: <walters@verbum.org>
Received: from monk.debian.net (monk.verbum.org) [216.226.142.128] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19v1ua-0006O8-00; Thu, 04 Sep 2003 16:45:04 -0500
Received: from columbia (dhcp024-208-189-249.columbus.rr.com [24.208.189.249])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN "columbia.verbum.org", Issuer "monk.verbum.org" (verified OK))
	by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP
	id C7BEE32A6D2; Thu,  4 Sep 2003 17:45:55 -0400 (EDT)
Received: by columbia (Postfix, from userid 1000)
	id 6622126ED6E; Thu,  4 Sep 2003 17:42:06 -0400 (EDT)
Subject: Re: [Build-common-hackers] Bug#208673: cdbs behaves differently
	when the class is included before the rules
From: Colin Walters <walters@verbum.org>
To: Jordi Mallach <jordi@debian.org>, 208673-done@bugs.debian.org
In-Reply-To: <20030904122059.1C84F70A747@nubol.int.oskuro.net>
References: <20030904122059.1C84F70A747@nubol.int.oskuro.net>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Message-Id: <1062711724.25282.1.camel@columbia>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.4 
Date: Thu, 04 Sep 2003 17:42:05 -0400
Delivered-To: 208673-done@bugs.debian.org
X-Spam-Status: No, hits=-14.5 required=4.0
	tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN
	autolearn=ham version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp)

On Thu, 2003-09-04 at 08:20, Jordi Mallach wrote:

> I have looked over the CDBS readme and didn't see any requirement on classes
> having to be included after the rules, so I guess this is a bug.

It says around line 84:

"Incidentally, you should usually include debhelper.mk first, before
other rules.  This will turn on optional Debhelper-using parts of
other rules, if any, which is usually what you want."