[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#329820: marked as done (gcc-3.4: DEB_VERSION when binary-only NMU)



Your message dated Thu, 13 Oct 2005 17:45:53 +0200
with message-id <17230.33073.24550.215836@gargle.gargle.HOWL>
and subject line Bug#329820: Acknowledgement (gcc-3.4: DEB_VERSION when binary-only NMU)
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; 23 Sep 2005 15:07:42 +0000
>From gniibe@fsij.org Fri Sep 23 08:07:42 2005
Return-path: <gniibe@fsij.org>
Received: from www.gniibe.org (zanshin.gniibe.org) [192.47.44.103] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EIp9J-0005OU-00; Fri, 23 Sep 2005 08:07:41 -0700
Received: from gniibe by zanshin.gniibe.org with local (Exim 4.52)
	id 1EIp9I-0005TH-Eu; Sat, 24 Sep 2005 00:07:40 +0900
Content-Type: multipart/mixed; boundary="===============1001809047=="
MIME-Version: 1.0
From: NIIBE Yutaka <gniibe@fsij.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-3.4: DEB_VERSION when binary-only NMU
X-Mailer: reportbug 3.17
Date: Sat, 24 Sep 2005 00:07:40 +0900
Message-Id: <E1EIp9I-0005TH-Eu@zanshin.gniibe.org>
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-Level: 
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

This is a multi-part MIME message sent by reportbug.

--===============1001809047==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: gcc-3.4
Version: 3.4.4-8
Severity: wishlist
Tags: patch

It would be good if gcc-3.4 supports binary-only NMU for porters.

Suppose that the version of gcc-3.4 is 3.4.4-8.  If we do binary-only
NMU, say, for the port m32r-linux-gnu with version 3.4.4-8.0.1,
gcc-m32r-linux-gnu package will depend on gcc-3.4-base (= 3.4.4-8.0.1).

It means, we cannot do binary-only NMU (virtually).

How about following patch (or something like that)?

-- System Information:
Debian Release: testing/unstable
Kernel: Linux 2.6.11

Versions of packages gcc-3.4 depends on:
ii  binutils             2.16.1cvs20050902-1 The GNU assembler, linker and bina
ii  cpp-3.4              3.4.4-8             The GNU C preprocessor
ii  gcc-3.4-base         3.4.4-8             The GNU Compiler Collection (base 
ii  libc6                2.3.5-6             GNU C Library: Shared libraries an
ii  libgcc1              1:4.0.1-8           GCC support library

Versions of packages gcc-3.4 recommends:
ii  libc6-dev                     2.3.5-6    GNU C Library: Development Librari

--===============1001809047==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gcc-binary-only-nmu.patch"


  * debian/rules.conf (DEB_VERSION): Support binary-only NMU.
  * debian/rules.patch (DEB_VERSION): Likewise.

 -- NIIBE Yutaka <gniibe@fsij.org>  Fri, 23 Sep 2005 22:31:00 +0900

--- gcc-3.4-3.4.4/debian/rules.conf
+++ gcc-3.4-3.4.4/debian/rules.conf
@@ -124,7 +124,7 @@
 
 SOURCE_VERSION := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$NF}')
 DEB_VERSION := $(shell echo $(SOURCE_VERSION) \
-	| sed -e 's/.*://' -e 's/ds[0-9]*//')
+	| sed -e 's/.*://' -e 's/ds[0-9]*//' -e 's/\.[0-9][^.-]*\.[0-9][^.-]*$$//')
 # epoch used for gcc versions up to 3.3.x, now used for some remaining
 # libraries: libgcc1, libobjc1, libffi2, libffi2-dev, libg2c0
 EPOCH := 1
--- gcc-3.4-3.4.4/debian/rules.patch
+++ gcc-3.4-3.4.4/debian/rules.patch
@@ -192,8 +192,8 @@
 
 # debian/rules.conf isn't yet sourced
 SOURCE_VERSION := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$NF}')
-DEB_VERSION := $(shell echo $(SOURCE_VERSION) | sed 's/ds[0-9]*//')
-
+DEB_VERSION := $(shell echo $(SOURCE_VERSION) \
+	| sed -e 's/.*://' -e 's/ds[0-9]*//' -e 's/\.[0-9][^.-]*\.[0-9][^.-]*$$//')
 $(patch_stamp)-%: $(patchdir)/%.dpatch
 	if [ -x $< ]; then true; else chmod +x $<; fi
 	if [ -f $@ ]; then \

--===============1001809047==--

---------------------------------------
Received: (at 329820-done) by bugs.debian.org; 13 Oct 2005 15:45:58 +0000
>From doko@cs.tu-berlin.de Thu Oct 13 08:45:58 2005
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EQ5HJ-0005pV-00; Thu, 13 Oct 2005 08:45:58 -0700
Received: from mailhost.cs.tu-berlin.de (postfix@mail.cs.tu-berlin.de [130.149.17.13])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id RAA25561;
	Thu, 13 Oct 2005 17:45:55 +0200 (MEST)
Received: from localhost (localhost [127.0.0.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP id F301EFD57;
	Thu, 13 Oct 2005 17:45:54 +0200 (MEST)
Received: from mailhost.cs.tu-berlin.de ([127.0.0.1])
 by localhost (bueno [127.0.0.1]) (amavisd-new, port 10224) with ESMTP
 id 04123-29; Thu, 13 Oct 2005 17:45:53 +0200 (MEST) 11345
Received: from bolero.cs.tu-berlin.de (bolero.cs.tu-berlin.de [130.149.19.1])
	by mailhost.cs.tu-berlin.de (Postfix) with ESMTP;
	Thu, 13 Oct 2005 17:45:53 +0200 (MEST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id j9DFjrQE018886;
	Thu, 13 Oct 2005 17:45:53 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <17230.33073.24550.215836@gargle.gargle.HOWL>
Date: Thu, 13 Oct 2005 17:45:53 +0200
To: NIIBE Yutaka <gniibe@fsij.org>, 329820-done@bugs.debian.org
Subject: Re: Bug#329820: Acknowledgement (gcc-3.4: DEB_VERSION when binary-only NMU)
In-Reply-To: <20050924171832.3ad0889c.gniibe@fsij.org>
References: <E1EIp9I-0005TH-Eu@zanshin.gniibe.org>
	<handler.329820.B.112748806220883.ack@bugs.debian.org>
	<20050924171832.3ad0889c.gniibe@fsij.org>
X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
X-Virus-Scanned: by amavisd-new at cs.tu-berlin.de
Delivered-To: 329820-done@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-Level: 
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

NIIBE Yutaka writes:
> The patch I sent yesterday was wrong.
> 
> Here is update.  The intention of this patch is that supporting binary
> only NMU by porters.

The patch is wrong, restricted the versioned dependencies to
(= ${gcc:BaseVersion}) doesn't work. And IMO it's not needed anymore
now that the control file isn't modified at build time anymore.

   Matthias



Reply to: