Your message dated Wed, 24 Oct 2012 20:47:38 +0000
with message-id <[email protected]>
and subject line Bug#501056: fixed in devscripts 2.12.5
has caused the Debian Bug report #501056,
regarding [debuild] Preserving env includes GREP_OPTIONS
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
501056: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501056
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.38
Severity: normal

When I call debuild with --preserve-env and also have GREP_OPTIONS set
in my environment. My GREP_OPTIONS="--color=always" and get passed to
the call to grep of the dpkg-parsechangelog output. For what that part
of the script is trying to do it makes more sense to just use perl's
builtin grep. I've attached a patch below. Note that the script calls
the system grep in a couple other places, but I haven't patched those
ones, just this one instance:

--- debuild.orig        2008-10-03 09:32:46.000000000 -0700
+++ debuild     2008-10-03 09:45:16.000000000 -0700
@@ -610,9 +610,9 @@
 
 # Find the source package name and version number
 my %changelog;
-open PARSED, q[dpkg-parsechangelog | grep '^\(Source\|Version\):' |]
+my @parsed = grep {/^(Source|Version):/} `dpkg-parsechangelog`
     or fatal "cannot execute dpkg-parsechangelog | grep: $!";
-while (<PARSED>) {
+foreach (@parsed) {
     chomp;
     if (/^(\S+):\s(.+?)\s*$/) { $changelog{$1}=$2; }
     else {
@@ -620,8 +620,6 @@
     }
 }
 
-close PARSED
-    or fatal "problem executing dpkg-parsechangelog | grep: $!";
 if ($?) { fatal "dpkg-parsechangelog | grep failed!" }
 
 fatal "no package name in changelog!"



-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.14.22    Debian package development tools
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  perl                          5.10.0-15  Larry Wall's Practical Extraction 

Versions of packages devscripts recommends:
ii  at                 3.1.10.1              Delayed job execution and batch pr
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  bzr                1.5-1.1               easy to use distributed version co
ii  curl               7.18.2-7              Get a file from an HTTP, HTTPS or 
ii  cvs                1:1.12.13-12          Concurrent Versions System
ii  dctrl-tools        2.13.0                Command-line tools to process Debi
ii  debian-keyring     2008.09.23            GnuPG (and obsolete PGP) keys of D
ii  debian-maintainers 1.45                  GPG keys of Debian maintainers
ii  dput               0.9.2.35              Debian package upload tool
ii  epiphany-gecko [ww 2.22.3-4              Intuitive GNOME web browser - Geck
ii  equivs             2.0.7-0.1             Circumvent Debian package dependen
ii  fakeroot           1.9.7                 Gives a fake root environment
ii  gnupg              1.4.9-3               GNU privacy guard - a free PGP rep
ii  iceweasel [www-bro 3.0.1-1               lightweight web browser based on M
ii  libauthen-sasl-per 2.12-1                Authen::SASL - SASL Authentication
ii  libcrypt-ssleay-pe 0.57-1+b1             Support for https protocol in LWP
ii  libparse-debcontro 2.005-2               Easy OO parsing of Debian control-
ii  libsoap-lite-perl  0.710.08-1            Client and server side SOAP implem
ii  libterm-size-perl  0.2-4+b1              Perl extension for retrieving term
ii  libtimedate-perl   1.1600-9              Time and date functions for Perl
ii  liburi-perl        1.35.dfsg.1-1         Manipulates and accesses URI strin
ii  libwww-perl        5.813-1               WWW client/server library for Perl
ii  libyaml-syck-perl  1.05-1                Fast, lightweight YAML loader and 
ii  lintian            2.0.0                 Debian package checker
ii  lsb-release        3.2-20                Linux Standard Base version report
ii  lynx-cur [www-brow 2.8.7dev10-2          Text-mode WWW Browser with NLS sup
ii  man-db             2.5.2-3               on-line manual pager
ii  openssh-client [ss 1:5.1p1-3             secure shell client, an rlogin/rsh
ii  patch              2.5.9-5               Apply a diff file to an original
ii  patchutils         0.2.31-4              Utilities to work with patches
ii  strace             4.5.17+cvs080723-2    A system call tracer
ii  subversion         1.5.1dfsg1-1          Advanced version control system
ii  unzip              5.52-12               De-archiver for .zip files
ii  w3m [www-browser]  0.5.2-2+b1            WWW browsable pager with excellent
ii  wdiff              0.5-18                Compares two files word by word
ii  wget               1.11.4-2              retrieves files from the web

Versions of packages devscripts suggests:
ii  build-essential               11.4       Informational list of build-essent
ii  cvs-buildpackage              5.23       A set of Debian package scripts fo
ii  devscripts-el                 29.4-1     Emacs wrappers for the commands in
ii  gnuplot                       4.2.3-1.1  A command-line driven interactive 
ii  libfile-desktopentry-perl     0.04-1     Perl module to handle freedesktop 
ii  libnet-smtp-ssl-perl          1.01-2     SSL support for Net::SMTP
ii  mutt                          1.5.18-4   text-based mailreader supporting M
ii  svn-buildpackage              0.6.23     helper programs to maintain Debian

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.12.5

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

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Benjamin Drung <[email protected]> (supplier of updated devscripts 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 24 Oct 2012 22:15:34 +0200
Source: devscripts
Binary: devscripts
Architecture: source amd64
Version: 2.12.5
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: Benjamin Drung <[email protected]>
Description: 
 devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 501056 687985 689815 689816 689953 690131
Changes: 
 devscripts (2.12.5) unstable; urgency=low
 .
   [ James McCoy ]
   * bts:
     + Provide a clearer error message when Authen::SASL isn't installed.
       (Closes: #689816)
     + Don't require a usertag after 'bts usertag <bug> ='.  (Closes: #689815)
     + Don't require a package after 'bts affects <bug> ='.  (Closes: #690131)
   * Add German translation of man pages.  Thanks to Chris Leick.  (Closes:
     #687985)
 .
   [ Benjamin Drung ]
   * Fix Subversion typo and write all instances of it with an capital initial
     letter. Thanks to Regid Ichira for the finding. (Closes: #689953)
   * debuild:
     - Fix failure if called with --preserve-env and GREP_OPTIONS is set.
       Thanks to Aaron Culich for the patch.  (Closes: #501056, LP: #581319)
     - Add missing bits to support dpkg-genchanges hook.
       Thanks to Maciej Malycha for the patch. (LP: #1065201)
   * wrap-and-sort: Sort Pre-Depends list (LP: #1070599)
 .
   [ David Prévot ]
   * French translation update.
Checksums-Sha1: 
 b69474362d9b94f7d7a127986b877428f8092b59 2299 devscripts_2.12.5.dsc
 e1413a633e050054476df7fdf32da363ba8f64bc 996578 devscripts_2.12.5.tar.gz
 9a1c9b18fb2d4f377b663889cf1364b069a0b640 711804 devscripts_2.12.5_amd64.deb
Checksums-Sha256: 
 80de1dcdea60babe00cec88bdc8598d41a0411b91e1a38e8d689b1ea715042ae 2299 
devscripts_2.12.5.dsc
 b10d1c01ea1491897662d5f37c40bf7103f6141769497746f9f6ea516b1b4c50 996578 
devscripts_2.12.5.tar.gz
 fa56d4268e821f9c404c927b646027dce604d90a8e7b48b06c7befeb039a5d85 711804 
devscripts_2.12.5_amd64.deb
Files: 
 cc72fe13022c6381550e99b91e77500b 2299 devel optional devscripts_2.12.5.dsc
 130c96a6dbb6d86723999744ae2d8546 996578 devel optional devscripts_2.12.5.tar.gz
 6fe1b42c22251626c219728dcae53554 711804 devel optional 
devscripts_2.12.5_amd64.deb

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

iQIcBAEBCgAGBQJQiE5HAAoJEBWetcTvyHdM9sUP/iz5Zcy+Sz2+EKj+gEh4co9b
loUlllzp8kidPdAvay8qSjDgXuRkFS3ldDGrdPmNiFKzI+A2w8pBag7vP59EzVGk
XBI2A8givIqn3bRLDOiZPzWBuNgnQqPeW/7PksOT8nJmynQyzq6vhxvnQSqkoKJ/
juy3Lh8GdBVFWUAAOPSFI3QPTLCXn2kxalFPhUG/c4u9R1kc8YOJx5A3FT1yrIZ5
H3/bjMitPi0+orUzqDnmlwvVdM2hgKJK7+MrRu1CYwH5h1PVMGUmWrkBuK+BgEF9
HIHOTmMuVKo8UF/qEkL74lk8xUL1MUDTzfd2Qb6xiiu3hDZzIGeU50qlE8reXMbc
NGFIBzDO9AS64rH9xo9LoXmmT65usAvVvL04E2Nitism1lbsFUbcSZ5rhTW+VzTy
fIkC9ZtQuZMAtsioliE4ifkpDdJgUhHUPbCT8CAjgqBTondU0QhxQ+h9BXYkVbVd
9kELqB8HP53hSHkmgimswzw8y/tuVo2KfSn5V0NypQJxvidkn8r3BV1ohu5C9LqH
Wc35g5anLlYdjHpZg54B0pPXnwtuI8uRtagSBBz5nQnBvKoCftFbr7uXUFMDaNlF
+Dy6NT81b4ZiriVIlI3BXrEgLB8qlPTFm7qt+QqTJj2gCQE8qFlRNwLDyrQaa3DO
eKtll28A6xwmOZHRnLQ/
=DQKl
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to