[Build-common-hackers] Bug#206941: marked as done (cdbs: do we have to run configure twice?)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 02 Sep 2003 20:18:14 -0500


Your message dated Tue, 02 Sep 2003 21:02:11 -0400
with message-id <E19uM2F-00069O-00@auric.debian.org>
and subject line Bug#206941: fixed in cdbs 0.4.6
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; 24 Aug 2003 01:00:05 +0000
>From jdg@polya.uklinux.net Sat Aug 23 20:00:03 2003
Return-path: <jdg@polya.uklinux.net>
Received: from s4.uklinux.net (mail2.uklinux.net) [80.84.72.14] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19qjEh-0001vZ-00; Sat, 23 Aug 2003 20:00:03 -0500
Received: from localhost (s4.uklinux.net [127.0.0.1])
	by mail2.uklinux.net (Postfix) with ESMTP id 2D707409FD6
	for <submit@bugs.debian.org>; Sun, 24 Aug 2003 01:00:03 +0000 (UTC)
Received: from mail2.uklinux.net ([127.0.0.1])
 by localhost (s4.uklinux.net [127.0.0.1:10024]) (amavisd-new) with ESMTP
 id 21023-02 for <submit@bugs.debian.org>;
 Sun, 24 Aug 2003 01:59:31 +0100 (BST)
Received: from polya (jackyoung.free-online.co.uk [81.174.156.245])
	by mail2.uklinux.net (Postfix) with ESMTP id F2109409FC8
	for <submit@bugs.debian.org>; Sun, 24 Aug 2003 00:59:30 +0000 (UTC)
Received: from jdg by polya with local (Exim 3.36 #1 (Debian))
	id 19qjEA-0000dL-00; Sun, 24 Aug 2003 01:59:30 +0100
Date: Sun, 24 Aug 2003 01:59:29 +0100
From: Julian Gilbey <jdg@debian.org>
To: Debian bug reports <submit@bugs.debian.org>
Subject: cdbs: do we have to run configure twice?
Message-ID: <20030824005929.GA1002@polya>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: Julian Gilbey <jdg@polya.uklinux.net>
X-Virus-Scanned: by amavisd-new
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-8.6 required=4.0
	tests=BAYES_20,HAS_PACKAGE,SIGNATURE_SHORT_SPARSE,USER_AGENT_MUTT
	version=2.53-bugs.debian.org_2003_8_17
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_17 (1.174.2.15-2003-03-30-exp)

Package: cdbs
Version: 0.4.5.2

It seems that with the autotools.mk class, the package's configure
script is run twice, once for the build-arch and once for the
build-indep, because of the rules:

common-configure-arch common-configure-indep:: common-configure-impl
common-configure-impl:: $(DEB_BUILDDIR)/config.status
$(DEB_BUILDDIR)/config.status:
	chmod a+x $(DEB_CONFIGURE_SCRIPT)
	[...]

My make knowledge is not particularly great, but I guess that there's
some not very difficult way to avoid the double run, perhaps by making
$(DEB_CONFIGURE_SCRIPT) a dependency of the final target in this
snippet, thus:

common-configure-arch common-configure-indep:: common-configure-impl
common-configure-impl:: $(DEB_BUILDDIR)/config.status
$(DEB_BUILDDIR)/config.status: $(DEB_CONFIGURE_SCRIPT)
	chmod a+x $(DEB_CONFIGURE_SCRIPT)
	[...]

This may well not be correct, though.

Thoughts on a postcard, please ;-)

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

        Julian Gilbey, website: http://www.polya.uklinux.net/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
     Visit http://www.thehungersite.com/ to help feed the hungry

---------------------------------------
Received: (at 206941-close) by bugs.debian.org; 3 Sep 2003 01:09:25 +0000
>From katie@auric.debian.org Tue Sep 02 20:09:25 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19uM9F-0002tO-00; Tue, 02 Sep 2003 20:09:25 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19uM2F-00069O-00; Tue, 02 Sep 2003 21:02:11 -0400
From: Colin Walters <walters@debian.org>
To: 206941-close@bugs.debian.org
X-Katie: $Revision: 1.35 $
Subject: Bug#206941: fixed in cdbs 0.4.6
Message-Id: <E19uM2F-00069O-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Tue, 02 Sep 2003 21:02:11 -0400
Delivered-To: 206941-close@bugs.debian.org

Source: cdbs
Source-Version: 0.4.6

We believe that the bug you reported is fixed in the latest version of
cdbs, which is due to be installed in the Debian FTP archive:

cdbs_0.4.6.dsc
  to pool/main/c/cdbs/cdbs_0.4.6.dsc
cdbs_0.4.6.tar.gz
  to pool/main/c/cdbs/cdbs_0.4.6.tar.gz
cdbs_0.4.6_all.deb
  to pool/main/c/cdbs/cdbs_0.4.6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 206941@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Walters <walters@debian.org> (supplier of updated cdbs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


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

Format: 1.7
Date: Sun, 31 Aug 2003 00:48:56 -0400
Source: cdbs
Binary: cdbs
Architecture: source all
Version: 0.4.6
Distribution: unstable
Urgency: low
Maintainer: CDBS Hackers <build-common-hackers@lists.alioth.debian.org>
Changed-By: Colin Walters <walters@debian.org>
Description: 
 cdbs       - common build system for Debian packages
Closes: 202091 204843 206941 206955 207625
Changes: 
 cdbs (0.4.6) unstable; urgency=low
 .
   * Colin Walters <walters@debian.org>:
     - More documentation for tarball.mk (Closes: #206941)
     - New variable DEB_UPDATE_RCD_PARAMS_package (Closes: #206955)
     - Add DEB_PYTHON_COMPILE_VERSION to python-distutils.mk
       (Closes: #204843)
     - Call dh_installlogcheck by default (Closes: #202091)
   * Joerg Wendland <joergland@debian.org>
     - Call dh_installlogrotate by default (Closes: #207625)
Files: 
 00cd0eddde50fea8d6bb2533999b7ff7 783 devel optional cdbs_0.4.6.dsc
 8b80a2e667aa979f310c80d6ac0c63e0 210099 devel optional cdbs_0.4.6.tar.gz
 31d2e3bad5bca5767aa99044277aad07 50708 devel optional cdbs_0.4.6_all.deb

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

iD8DBQE/VTylOIkJWWp2WGURAgB/AJ9Iw0S1Y/kvkyjmXDr3IeXpKpeJswCePfoB
1YMTpXhhMvRNKE5aO7fZrk0=
=KZ1w
-----END PGP SIGNATURE-----