[Build-common-hackers] Bug#295250: marked as done (cdbs: dpatch.mk has syntax errors)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 18 May 2005 04:48:13 -0700

Your message dated Wed, 18 May 2005 07:32:17 -0400
with message-id <E1DYMmf-0002Iu-00@newraff.debian.org>
and subject line Bug#295250: fixed in cdbs 0.4.29
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; 14 Feb 2005 18:05:33 +0000
>From calvin@debian.org Mon Feb 14 10:05:32 2005
Return-path: <calvin@debian.org>
Received: from mx02.qsc.de [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D0kbE-0006n3-00; Mon, 14 Feb 2005 10:05:32 -0800
Received: from port-212-202-71-46.dynamic.qsc.de ([] helo=treasure.calvinsplayground.de)
	by mx02.qsc.de with smtp (Exim 3.35 #1)
	id 1D0kaj-0008QJ-00
	for submit@bugs.debian.org; Mon, 14 Feb 2005 19:05:01 +0100
Received: (qmail 1882 invoked by uid 1000); 14 Feb 2005 18:05:03 -0000
Message-ID: <20050214180503.1881.qmail@treasure.calvinsplayground.de>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Bastian Kleineidam <calvin@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cdbs: dpatch.mk has syntax errors
X-Mailer: reportbug 3.7.1
Date: Mon, 14 Feb 2005 19:05:03 +0100
Delivered-To: submit@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.26-4
Severity: normal


I noticed that packages using dpatch.mk have syntax errors. When running
this inside a debian package source tree:
$ /usr/bin/make -f /usr/share/cdbs/1/rules/dpatch.mk
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file

The culprit are these lines in /usr/share/cdbs/1/rules/dpatch.mk:
evil_patches_that_do_nasty_things := $(shell\
if lsdiff=`which lsdiff` ; then \
  $$lsdiff -H $(DEB_PATCHES) \
  | egrep "/config\.(guess|sub|rpath)$" | tr "\n" " " ; \

After commenting out the above lines the error message went away.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-treasure5
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

-- no debconf information

Received: (at 295250-close) by bugs.debian.org; 18 May 2005 11:38:11 +0000
>From katie@ftp-master.debian.org Wed May 18 04:38:11 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DYMsN-0002Sb-00; Wed, 18 May 2005 04:38:11 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DYMmf-0002Iu-00; Wed, 18 May 2005 07:32:17 -0400
From: Robert Millan <rmh@debian.org>
To: 295250-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#295250: fixed in cdbs 0.4.29
Message-Id: <E1DYMmf-0002Iu-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 18 May 2005 07:32:17 -0400
Delivered-To: 295250-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: cdbs
Source-Version: 0.4.29

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:

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

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

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

Debian distribution maintenance software
Robert Millan <rmh@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)

Hash: SHA1

Format: 1.7
Date: Wed, 18 May 2005 12:52:21 +0200
Source: cdbs
Binary: cdbs
Architecture: source all
Version: 0.4.29
Distribution: unstable
Urgency: low
Maintainer: CDBS Hackers <build-common-hackers@lists.alioth.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
 cdbs       - common build system for Debian packages
Closes: 295250 296763 296984 299010 300465 301692 305488 307342 308664 308983
 cdbs (0.4.29) unstable; urgency=low
   * The "back from vac" release.
   * Add DEB_PATCHES initialisation.  (Closes: #295250, #296763, #300465)
     - 1/rules/dpatch.mk.in
   * Don't call update-config after reverting patches.  (Closes: #299010)
     - 1/rules/simple-patchsys.mk.in
     - 1/rules/dpatch.mk.in
   * Make sure CDBS_BUILD_DEPENDS is _always_ initialised.  (Closes: #308664)
     - 1/rules/buildvars.mk.in: Initialise it with "build-essential".
     - 1/rules/buildcore.mk.in: Strip "build-essential" which isn't needed.
   * Fix minor syntax error in CDBS_BUILD_DEPENDS construction.
     - 1/class/autotools-vars.mk.in
   * Turn patchutils weak dependency into versioned (>= 0.2.25).
     (Closes: #308983)
     - 1/rules/simple-patchsys.mk.in
     - 1/rules/dpatch.mk.in
   * Fix for parsing of double quotes in control file generation.  This is
     related to #301607.  Thanks Jonas Smedegaard.
     - 1/rules/buildcore.mk.in
   * Clean *.log files from each dir listed in $(DEB_PATCHDIRS).  Thanks
     Adeodato Simo.  (Closes: #296984)
     - 1/rules/simple-patchsys.mk.in
   * Add perl-modules support to CDBS_BUILD_DEPENDS.  (Closes: #305488)
     - 1/class/perlmodule.mk.in
   * Add $(DEB_PYTHON_COMPILE_VERSION) to python command.  Thanks Bastian
     Kleineidam.  (Closes: #307342)
     - 1/class/python-distutils.mk.in
   * Fix typo in automake weak dependencies.  (Closes: #301692)
     - 1/class/autotools-vars.mk
 3142d616de9a7773f94029c50a75e556 922 devel optional cdbs_0.4.29.dsc
 164c626c6c58f3547b880de0322c91bf 218983 devel optional cdbs_0.4.29.tar.gz
 3a5aebc574fe70f80ca974ff7cc1a775 67082 devel optional cdbs_0.4.29_all.deb

Version: GnuPG v1.4.0 (GNU/Linux)