[Pbuilder-maint] Bug#342883: marked as done (Incompatibility between pbuilder and devscripts WRT DEBEMAIL)

Debian Bug Tracking System owner at bugs.debian.org
Sat Dec 17 16:03:17 UTC 2005


Your message dated Sat, 17 Dec 2005 17:00:05 +0100
with message-id <20051217160005.GA13869 at bee.dooz.org>
and subject line [Pbuilder-maint] Bug#342883: Incompatibility between pbuilder and	devscripts WRT DEBEMAIL
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; 11 Dec 2005 14:37:49 +0000
>From lool at dooz.org Sun Dec 11 06:37:49 2005
Return-path: <lool at dooz.org>
Received: from mf01.sitadelle.com ([212.94.174.68] helo=smtp.cegetel.net)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1ElSKj-0008Ek-Nb
	for submit at bugs.debian.org; Sun, 11 Dec 2005 06:37:49 -0800
Received: from mx0.bpl-group.org (mx0.bpl-group.org [195.115.71.69])
	by smtp.cegetel.net (Postfix) with ESMTP id 27ECE6A0690;
	Sun, 11 Dec 2005 15:37:15 +0100 (CET)
Received: from bee.dooz.org (levallois.dooz.org [81.57.180.178])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "lminier.people.bpl-group.org", Issuer "BPL Group People Certification Authority" (verified OK))
	by mx0.bpl-group.org (Postfix) with ESMTP id 01B91C820;
	Sun, 11 Dec 2005 14:37:15 +0000 (UTC)
Received: by bee.dooz.org (Postfix, from userid 1000)
	id E3EEA4F0072; Sun, 11 Dec 2005 15:36:59 +0100 (CET)
Date: Sun, 11 Dec 2005 15:36:59 +0100
From: =?iso-8859-1?Q?Lo=EFc?= Minier <lool at dooz.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Incompatibility between pbuilder and devscripts WRT DEBEMAIL
Message-ID: <20051211143659.GA4842 at bee.dooz.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
X-Reportbug-Version: 3.18
Content-Transfer-Encoding: quoted-printable
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-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

Package: pbuilder, devscripts
Severity: normal

        Hi,

 pbuilder and the "bts" command seem to disagree on what "DEBEMAIL" is
 supposed to hold.

 /usr/lib/pbuilder/pbuilder-buildpackage is calling dpkg-buildpackage
 "-m$DEBEMAIL", and that implies DEBEMAIL should hold "Maintainer Name
 <maintainer-address@>",  and if you call the bts command with a
 DEBEMAIL formatted like this, you will get:
    From: Maintainer Name <Maintainer Name <maintainer-address@>>

 I've read the relevant bts snipset, and I believe there's no way to
 have a single environment and make both bts and pbuilder happy.

 I believe pbuilder should use something along the lines of:
    PBUILDER_DPKGBP_MAINTADDR=3D"$DEBFULLNAME <$DEBEMAIL>"
 and bts should check for the correctness of the resulting From: line,
 or the validity of its input (eg search for [<>] in DEBFULLNAME or
 DEBEMAIL).

 Perhaps bts can be enhanced like this:
    foreach $env (qw(DEBFULLNAME DEBEMAIL EMAIL)) {
        if exists($ENV{$env}) {
            if ($ENV{$env} =3D~ /^(.*)\s+<(.*)>$/) {
                $name ||=3D $1;
                $email ||=3D $2;
            } else {
                $email ||=3D $ENV{$env};
            }
        }
    }
 de facto reading email or name from all environment variables in the
 order specified.

   Cheers,
--=20
Lo=EFc Minier <lool at dooz.org>

---------------------------------------
Received: (at 342883-done) by bugs.debian.org; 17 Dec 2005 16:01:17 +0000
>From lool at dooz.org Sat Dec 17 08:01:17 2005
Return-path: <lool at dooz.org>
Received: from mf00.sitadelle.com ([212.94.174.67] helo=smtp.cegetel.net)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EneUn-0007WS-7F
	for 342883-done at bugs.debian.org; Sat, 17 Dec 2005 08:01:17 -0800
Received: from mx0.bpl-group.org (mx0.bpl-group.org [195.115.71.69])
	by smtp.cegetel.net (Postfix) with ESMTP id E67D51A4646;
	Sat, 17 Dec 2005 17:00:43 +0100 (CET)
Received: from bee.dooz.org (levallois.dooz.org [81.57.180.178])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "lminier.people.bpl-group.org", Issuer "BPL Group People Certification Authority" (verified OK))
	by mx0.bpl-group.org (Postfix) with ESMTP id 8A35AC85E;
	Sat, 17 Dec 2005 16:00:43 +0000 (UTC)
Received: by bee.dooz.org (Postfix, from userid 1000)
	id E420F4F00B4; Sat, 17 Dec 2005 17:00:05 +0100 (CET)
Date: Sat, 17 Dec 2005 17:00:05 +0100
From: Loic Minier <lool at dooz.org>
To: Junichi Uekawa <dancer at netfort.gr.jp>
Cc: 342883-done at bugs.debian.org
Subject: Re: [Pbuilder-maint] Bug#342883: Incompatibility between pbuilder and	devscripts WRT DEBEMAIL
Message-ID: <20051217160005.GA13869 at bee.dooz.org>
References: <20051211143659.GA4842 at bee.dooz.org> <87mzj1m3r8.dancerj%dancer at netfort.gr.jp> <20051216203857.GB4285 at bee.dooz.org> <87vexoz4no.dancerj%dancer at netfort.gr.jp> <20051217093911.GD4285 at bee.dooz.org> <87hd97zsvf.dancerj%dancer at netfort.gr.jp> <20051217152249.GK4285 at bee.dooz.org> <87bqzfzqec.dancerj%dancer at netfort.gr.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <87bqzfzqec.dancerj%dancer at netfort.gr.jp>
Content-Transfer-Encoding: quoted-printable
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

On dim, d=E9c 18, 2005, Junichi Uekawa wrote:
> If you've set it that way, DEBEMAIL isn't exactly=20
> inherited from the environment.
> That's how you've configured it.=20

 Hmm, sorry, that was added when I removed DEBEMAIL from the environment
 to check whether I could override the behavior of pbuilder.

 I checked again with the following in my environment (and nothing in
 pbuilderrc):
    DEBEMAIL=3DLoic Minier <lool at dooz.org>
    DEBFULLNAME=3DLoic Minier
    EMAIL=3Dlool at dooz.org
 (please note that this DEBEMAIL format is the one pbuilder expects, but
 not the one bts expects)

 The resulting .changes for a package I wasn't Maintainer of (but simply
 Uploader) had:
    Maintainer: Gustavo Noronha Silva <kov at debian.org>
    Changed-By: Loic Minier <lool at dooz.org>

 Which is correct.

 I also tried again with DEBEMAIL=3Dlool.dooz.org, and the .changes was
 still correct.

 I'm certain this was borken in the past, but it seems to be working
 fine right now.

 I'm sorry I reported this bug against pbuilder when it was already
 fixed, and I'm closing it.  I'll try doing better next time.

   Thanks for going through this,
--=20
Lo=EFc Minier <lool at dooz.org>



More information about the Pbuilder-maint mailing list