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 -- To unsubscribe, send mail to [email protected].
