Your message dated Mon, 15 Jun 2009 18:17:11 +0000
with message-id <[email protected]>
and subject line Bug#531593: fixed in devscripts 2.10.51
has caused the Debian Bug report #531593,
regarding [dcmd] Fails with files with missing priority
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.)
--
531593: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531593
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.10.50
Severity: normal
I'm trying to cross-build aptitude and part of the process uses 'dcmd'
to parse the .changes file. However, the .changes file created by
building aptitude (natively or cross) is not being parsed by dcmd.
The actual changes file at test is the one already in the PTS:
http://packages.qa.debian.org/a/aptitude/news/20081120T050204Z.html
Copy and paste that text into a test.changes file (removing the final
Accepted comments) and dcmd fails:
$ dcmd ls test.changes
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
/usr/bin/dcmd: line 54: [: too many arguments
ls: cannot access admin: No such file or directory
ls: cannot access -: No such file or directory
Now the rest of the messages are expected (unless run in the appropriate
directory where the .debs can be found etc.) but these errors are specific
to this failure.
The problem is shown on that PTS page:
Files:
7a2b1dfee736436ffb50b1289d1ada57 1406 admin - aptitude_0.4.11.11-1.dsc
f165f08357bf23e646d6fa51e43a9b9b 6162554 admin - aptitude_0.4.11.11.orig.tar.gz
43833c63366bab3d906c7287487c7b7c 32626 admin - aptitude_0.4.11.11-1.diff.gz
I don't think dcmd is expecting that hyphen. It's probably related to the lack
of a Priority: in the Source stanza of debian/control for aptitude, so
the hyphen represents optional, extra etc.
Now that is a bug in aptitude itself but as the archive has accepted
this .changes file, dcmd should at least be able to handle it.
Editing the sample content and replacing the hyphens with 'optional' prevents
the bug showing up but dcmd should print a warning that the Priority of the
Source package has been guessed and continue to process the .changes file.
Equally, patching aptitude to have a Priority field in the Source stanza
allows the cross-build to work properly and for dcmd to handle the .changes
file.
Files:
e065f53f2c425a038304a8637aba117b 1173 admin optional
aptitude_0.4.11.11-1em1.dsc
5be695f5c8402e78a0b20ab35bb7f2c7 34447 admin optional
aptitude_0.4.11.11-1em1.diff.gz
I'll seek a lintian check on this too, however, I can't see where in Policy
it is stated that the Source stanza has to have either Section or Priority.
lintian does not currently complain about a missing 'Priority' in the
Source stanza.
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
DEBSIGN_KEYID="0xA897FD02"
DEBRELEASE_UPLOADER="dput"
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii dpkg-dev 1.15.2 Debian package development tools
ii libc6 2.9-13 GNU C Library: Shared libraries
ii perl 5.10.0-22 Larry Wall's Practical Extraction
Versions of packages devscripts recommends:
ii at 3.1.10.2 Delayed job execution and batch pr
ii bsd-mailx [mailx] 8.1.2-0.20081101cvs-2 A simple mail user agent
ii curl 7.19.5-1 Get a file from an HTTP, HTTPS or
ii cvs 1:1.12.13-12 Concurrent Versions System
ii dctrl-tools 2.13.1 Command-line tools to process Debi
ii debian-keyring 2009.05.28 GnuPG (and obsolete PGP) keys of D
pn debian-maintainers <none> (no description available)
ii dput 0.9.4 Debian package upload tool
ii epiphany-gecko [ww 2.26.1-1 Intuitive GNOME web browser - Geck
ii equivs 2.0.7-0.1 Circumvent Debian package dependen
ii fakeroot 1.12.2 Gives a fake root environment
ii git-core 1:1.6.3.1-1 fast, scalable, distributed revisi
ii gnupg 1.4.9-4 GNU privacy guard - a free PGP rep
ii iceweasel [www-bro 3.0.9-1 lightweight web browser based on M
pn libauthen-sasl-per <none> (no description available)
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-2 Client and server side SOAP implem
pn libterm-size-perl <none> (no description available)
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
ii liburi-perl 1.37+dfsg-1 Manipulates and accesses URI strin
ii libwww-perl 5.826-1 WWW client/server library for Perl
pn libyaml-syck-perl <none> (no description available)
ii lintian 2.2.10 Debian package checker
ii lsb-release 3.2-22 Linux Standard Base version report
ii lynx-cur [www-brow 2.8.7pre4-1 Text-mode WWW Browser with NLS sup
ii man-db 2.5.5-2 on-line manual pager
ii openssh-client [ss 1:5.1p1-5+b1 secure shell client, an rlogin/rsh
ii patch 2.5.9-5 Apply a diff file to an original
ii patchutils 0.3.1-2 Utilities to work with patches
ii strace 4.5.18-1 A system call tracer
ii subversion 1.5.6dfsg-1 Advanced version control system
ii unzip 6.0-1 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
pn devscripts-el <none> (no description available)
ii gnuplot 4.2.5-2 A command-line driven interactive
pn libfile-desktopentry-perl <none> (no description available)
pn libnet-smtp-ssl-perl <none> (no description available)
ii mutt 1.5.19-4 text-based mailreader supporting M
ii svn-buildpackage 0.6.25 helper programs to maintain Debian
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.10.51
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:
devscripts_2.10.51.dsc
to pool/main/d/devscripts/devscripts_2.10.51.dsc
devscripts_2.10.51.tar.gz
to pool/main/d/devscripts/devscripts_2.10.51.tar.gz
devscripts_2.10.51_amd64.deb
to pool/main/d/devscripts/devscripts_2.10.51_amd64.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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adam D. Barratt <[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: SHA1
Format: 1.8
Date: Mon, 15 Jun 2009 18:57:20 +0100
Source: devscripts
Binary: devscripts
Architecture: source amd64
Version: 2.10.51
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: Adam D. Barratt <[email protected]>
Description:
devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 530362 530815 530926 531059 531247 531332 531422 531570 531593
Changes:
devscripts (2.10.51) unstable; urgency=low
.
[ Adam D. Barratt ]
* bts:
+ Add a note to the description of --smtp-server explaining that
reportbug.debian.org does not support relaying and is therefore not a
suitable server to use in circumstances where [email protected]
may be automatically Cced.
+ Ignore the --{force-,}interactive options when combined with -n.
(Closes: #531422)
* checkbashisms:
+ Detect shellscript wrappers that use "then" or "else" before calling
exec. Thanks, Raphael Geissert. (Closes: #530815)
+ Fix a false positive detection of ". $(foo bar)" as attempting to pass
arguments to a sourced script. Thanks, Raphael Geissert.
+ Detect use of passing arguments to a sourced script as part of a
conditional statement. Thanks, Raphael Geissert.
+ Correctly count the number of quotes in a line when detecting whether
we are currently inside a "quoted block". Thanks, Raphael Geissert.
(Closes: #531247)
+ Do not check the contents of a dpatch. The wrapper script always uses
/bin/sh and we can't detect the interpreter of a patch.
+ Improve the check for the use of $[] inside quoted text. Thanks,
Raphael Geissert.
+ Apply the "common lead-in text" to the "readonly" check.
+ Remove "\\" from the list of unsafe backslash escapes, as it appears to
work in all shells.
* dcmd: Parse changes / dsc files containing section or priority entries of
"-". (Closes: #531593)
* licensecheck: Fix an error in a regular expression which led to an
uninitialized value warning and missing version for some GPL headers.
Thanks, Jakub Wilk. (Closes: #531059)
* uscan: Make a regular expression example in the manpage clearer. Thanks,
Jason Heeris. (Closes: #530362)
* uupdate: Add support for .lzma compressed tarballs and diffs. Thanks to
Simon Richter for the patch. (Closes: #531570)
.
[ James Vega ]
* bts: Only Cc [email protected] if we're reasonably sure we have
an email body instead of simply control messages; i.e., if the user
specifies the --force-interactive option or the --interactive option and
chooses to edit the email body. (Closes: #530926)
* uscan: Log the correct filename when running the post-download action.
Simplify the surrounding logic so the logging and command are less likely
to get out of sync in the future.
.
[ Mohammed Adnène Trojette ]
* pts-subscribe: refer to bsd-mailx rather to the transitional mailx
package. Thanks Ansgar Burchardt for the patch. (Closes: #531332)
Checksums-Sha1:
794a5b497f931bcd9e9ae14a346e25183dc15aaa 1363 devscripts_2.10.51.dsc
ea1a87c7da2d6922e7f7dc1e9f8a18c0dcdbf7ae 662556 devscripts_2.10.51.tar.gz
14df22849d6cad8f9b1fa34f94c794c4622cdb0c 566816 devscripts_2.10.51_amd64.deb
Checksums-Sha256:
3547fc515e7586fe0c3703d27dbc607ca43a70470b45dd9b9435e560812c597e 1363
devscripts_2.10.51.dsc
a1c054a183a2614112062b4108b3d0f69cdb9175d0bc9314f374f0262678730f 662556
devscripts_2.10.51.tar.gz
958501dc408fcdc72ba5989f8aefd0798ba2462393eff2597038dcf5136695a4 566816
devscripts_2.10.51_amd64.deb
Files:
e006cde4dcc04bec7c0a7626429a776b 1363 devel optional devscripts_2.10.51.dsc
7b98c6c2e08f21a009a285096853c8c8 662556 devel optional
devscripts_2.10.51.tar.gz
96bf1d57a4b442f3b606aa5e44b4e8ad 566816 devel optional
devscripts_2.10.51_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAko2jaoACgkQokcE1TReOoWuXQCglCvU57i6lXyQkPidQu0llFcM
ngsAnRCiNkt/cDSqqf/OzO5rRmM+IXjk
=xkuP
-----END PGP SIGNATURE-----
--- End Message ---