Debian Bug report logs -
#845566
devscripts: debclean is broken
Reported by: Christian Marillat <marillat@debian.org>
Date: Thu, 24 Nov 2016 17:45:01 UTC
Severity: normal
Found in version devscripts/2.16.9
Fixed in version devscripts/2.16.10
Done: James McCoy <jamessan@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>:
Bug#845566; Package devscripts.
(Thu, 24 Nov 2016 17:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Christian Marillat <marillat@debian.org>:
New Bug report received and forwarded. Copy sent to Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>.
(Thu, 24 Nov 2016 17:45:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: devscripts
Version: 2.16.9
Severity: normal
Dear Maintainer,
I don't know who is the guilty (debuild or dpkg-buildpackage) but debclean doesn't work :
$ LANG=C debclean
Cleaning in directory .
dpkg-buildpackage -rfakeroot -us -uc -j10 clean --check-command=lintian
dpkg-buildpackage: error: unknown option or argument clean
$ LANG=C dpkg-buildpackage -rfakeroot clean
dpkg-buildpackage: error: unknown option or argument clean
Use --help for program usage information.
Christian
-- Package-specific info:
--- /etc/devscripts.conf ---
DSCVERIFY_KEYRINGS="trustedkeys.gpg"
--- ~/.devscripts ---
DEVSCRIPTS_CHECK_DIRNAME_LEVEL=0
DEBCHANGE_RELEASE_HEURISTIC=log
DEBCHANGE_MULTIMAINT=no
DEBCLEAN_CLEANDEBS=yes
DEBSIGN_KEYID=65558117
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-j10"
DEBUILD_LINTIAN_OPTS="--color always"
DSCVERIFY_KEYRINGS="trustedkeys.gpg"
USCAN_DOWNLOAD=no
USCAN_SYMLINK=no
USCAN_VERBOSE=no
DEBCHANGE_AUTO_NMU=no
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.1.35 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages devscripts depends on:
ii dpkg-dev 1.18.15
ii libc6 2.24-5
ii perl 5.24.1~rc3-3
pn python3:any <none>
Versions of packages devscripts recommends:
ii apt 1.3.1
ii at 3.1.20-1
ii curl 7.51.0-1
ii dctrl-tools 2.24-2
pn debian-keyring <none>
ii dupload 2.7.0
pn equivs <none>
ii fakeroot 1.21-2
ii file 1:5.29-1
ii gnupg 1.4.20-6
ii gnupg2 2.1.11-7
pn libdistro-info-perl <none>
ii libencode-locale-perl 1.05-1
ii liblwp-protocol-https-perl 6.06-2
pn libsoap-lite-perl <none>
ii liburi-perl 1.71-1
ii libwww-perl 6.15-1
pn licensecheck <none>
ii lintian 2.5.49
ii man-db 2.7.5-2
ii patch 2.7.5-1
ii patchutils 0.3.4-2
pn python3-debian <none>
pn python3-magic <none>
ii sensible-utils 0.0.9
ii strace 4.13-0.1
ii unzip 6.0-20
pn wdiff <none>
ii wget 1.18-4
ii xz-utils 5.2.2-1.2
Versions of packages devscripts suggests:
pn adequate <none>
pn autopkgtest <none>
pn bls-standalone <none>
ii bsd-mailx [mailx] 8.1.2-0.20160123cvs-3
ii build-essential 12.2
pn check-all-the-things <none>
pn cvs-buildpackage <none>
pn devscripts-el <none>
pn diffoscope <none>
pn disorderfs <none>
pn dose-extra <none>
pn duck <none>
pn faketime <none>
pn gnuplot <none>
ii gpgv 1.4.20-6
pn how-can-i-help <none>
pn libauthen-sasl-perl <none>
ii libfile-desktopentry-perl 0.22-1
pn libnet-smtps-perl <none>
ii libterm-size-perl 0.207-1+b4
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
pn mozilla-devscripts <none>
pn mutt <none>
ii openssh-client [ssh-client] 1:7.3p1-3+b1
ii piuparts 0.72
pn ratt <none>
pn reprotest <none>
ii svn-buildpackage 0.8.6
ii w3m 0.5.3-33
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>:
Bug#845566; Package devscripts.
(Thu, 24 Nov 2016 18:27:06 GMT) (full text, mbox, link).
Acknowledgement sent
to James McCoy <jamessan@debian.org>:
Extra info received and forwarded to list. Copy sent to Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>.
(Thu, 24 Nov 2016 18:27:06 GMT) (full text, mbox, link).
Message #10 received at 845566@bugs.debian.org (full text, mbox, reply):
On Thu, Nov 24, 2016 at 06:40:42PM +0100, Christian Marillat wrote:
> I don't know who is the guilty (debuild or dpkg-buildpackage) but debclean doesn't work :
>
> $ LANG=C debclean
> Cleaning in directory .
> dpkg-buildpackage -rfakeroot -us -uc -j10 clean --check-command=lintian
> dpkg-buildpackage: error: unknown option or argument clean
That's debuild's fault. Looking into it.
Cheers,
--
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
Added tag(s) pending.
Request was from James McCoy <jamessan@debian.org>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 19:57:03 GMT) (full text, mbox, link).
Message sent on
to Christian Marillat <marillat@debian.org>:
Bug#845566.
(Thu, 24 Nov 2016 19:57:05 GMT) (full text, mbox, link).
Message #15 received at 845566-submitter@bugs.debian.org (full text, mbox, reply):
tag 845566 pending
thanks
Hello,
Bug #845566 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
http://git.debian.org/?p=collab-maint/devscripts.git;a=commitdiff;h=63f1f41
---
commit 63f1f417fae1821d175b489e7843d75cbd51f8e8
Author: James McCoy <jamessan@debian.org>
Date: Thu Nov 24 14:33:55 2016 -0500
Add closes entry for debclean breakage
Signed-off-by: James McCoy <jamessan@debian.org>
diff --git a/debian/changelog b/debian/changelog
index a5a7ed7..ae2b897 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,7 +14,7 @@ devscripts (2.16.10) UNRELEASED; urgency=medium
postclean.
+ Preserve SOURCE_DATE_EPOCH in the environment.
+ Require a '--' between debuild options and debian/rules target so we
- know where options end.
+ know where options end. (Closes: #845566)
-- Afif Elghraoui <afif@debian.org> Wed, 23 Nov 2016 23:50:46 -0800
Reply sent
to James McCoy <jamessan@debian.org>:
You have taken responsibility.
(Sat, 26 Nov 2016 18:51:05 GMT) (full text, mbox, link).
Notification sent
to Christian Marillat <marillat@debian.org>:
Bug acknowledged by developer.
(Sat, 26 Nov 2016 18:51:05 GMT) (full text, mbox, link).
Message #20 received at 845566-close@bugs.debian.org (full text, mbox, reply):
Source: devscripts
Source-Version: 2.16.10
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 845566@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James McCoy <jamessan@debian.org> (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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 26 Nov 2016 13:21:58 -0500
Source: devscripts
Binary: devscripts
Architecture: source
Version: 2.16.10
Distribution: unstable
Urgency: medium
Maintainer: Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>
Changed-By: James McCoy <jamessan@debian.org>
Description:
devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 770187 845566 845628
Changes:
devscripts (2.16.10) unstable; urgency=medium
.
[ Afif Elghraoui ]
* debcommit:
+ Use standard version mangling for git tags. (Closes: #770187)
.
[ Antonio Terceiro ]
* debrepro:
+ document exit status in manpage
.
[ James McCoy ]
* debuild:
+ Fix mapping of debuild final-clean hook to dpkg-buildpackage's
postclean.
+ Preserve SOURCE_DATE_EPOCH in the environment.
+ Require a '--' between debuild options and debian/rules target so we
know where options end. (Closes: #845566)
+ Adjust hook commands to account for dpkg-buildpackage running from a
different directory than debuild used for the lintian, signing, and
post-dpkg-buildpackage hooks. (Closes: #845628)
Checksums-Sha1:
9b37ae21b6e2b40af88c5ac5aaddff5407dceb9b 2392 devscripts_2.16.10.dsc
e96fd62420f2bfb934be040c8031b55467ac3e8f 675344 devscripts_2.16.10.tar.xz
Checksums-Sha256:
961ab35ee02fc093fbfb8409804bd1b0d47d7797f91289162689a6696d1e9442 2392 devscripts_2.16.10.dsc
40c107ec67f14f454a48add4e60389195cdfe8ae8d3a509b499c9612b8b13794 675344 devscripts_2.16.10.tar.xz
Files:
2a101e00556a66b928b584730dd566e8 2392 devel optional devscripts_2.16.10.dsc
a63b5eccde61866581b25edcf599bb9f 675344 devel optional devscripts_2.16.10.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAlg51qpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIACgkQ3+aRrjMb
o9uVyg/+I+1o4dYGfwIgPdJSd0ahxLlDV7Hb/a48avi1oqBQVP+jLDEg4Yt2cX5N
7J8A6Mqt0cZP9InWcLfeqejfmpgVs7IHsqCVGdRivv7RMR0hhsKeDesM6l9eRSmM
XDzW1FhHfPhEN7RPPV8AU/CfguynuUHu5+/dq7nc/LS91XLPfGzBujikWMFTgaFZ
LVfVmNAmyMZtyXjQDbO948DmRkJd1nEH1iBkeHBlNHoDyvNq+bv1l20O0bfGYXdV
4QfdiCSMI9fkD9d9qG37Wgvr80tnUbsTtTQdYF4YMUGuaynBq86UCxCvQi1KFYO1
A1EkB2MWLtSa2ISCKtQFt+CD/UZXl64+mO/8S8dXJogM8UqW9TuX1eQ9l40UTmnH
ADe/l4qK44MLEfUI4D9I3DfYpzwxtfZFebHnyIqIVrsAerzqI5zTkisyMW21VOVD
kyIE6tCfLNg1WuNVi4N6FZnQg0zjCUAznCqFPcGgVMar9rTXF+T+6daEsvd4EKPY
1WCV+mUdEsNu2Wiym2cVArQzI57+pJkIX30233QaeSS47pJKZuWH4znta+GxyDF+
spyc8P9XIGSNviSUeQDtq9Ww7EeEpSdKDXpqKTZHM/ZI2lx1y4nqe/sWSSoy26Ik
k2Ayt5tJ0ugR9wXYUKZYfROT3TpAcQ+jlSuCHLB6UYCoXwE4qng=
=567N
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>:
Bug#845566; Package devscripts.
(Thu, 01 Dec 2016 11:06:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Emmanuel Bourg <ebourg@apache.org>:
Extra info received and forwarded to list. Copy sent to Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>.
(Thu, 01 Dec 2016 11:06:07 GMT) (full text, mbox, link).
Message #25 received at 845566@bugs.debian.org (full text, mbox, reply):
Hi,
This change is a bit annoying, I used to run "debuild clean" to clean
up my working directories and it no longer works. The extra "--" is
rather inconvenient.
I tried debclean instead but it doesn't seem to be equivalent to "debuild clean".
For example with the tomcat8 package it executes the clean target 8 times!
ebourg@icare:~/packaging/tomcat8$ debclean | grep 'Cleaning in directory'
Cleaning in directory ./.git/refs/tags
Directory ./.git/refs/tags: contains no debian/changelog, skipping
Cleaning in directory .
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Cleaning in directory ./debian/libtomcat8-java/usr/share/maven-repo/org/apache/tomcat/tomcat-util-scan
/usr/bin/debclean: line 167: cd: ./debian/libtomcat8-java/usr/share/maven-repo/org/apache/tomcat/tomcat-util-scan: No such file or directory
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Cleaning in directory ./debian/libtomcat8-java/usr/share/maven-repo/org/apache/tomcat/tomcat-jaspic-api
/usr/bin/debclean: line 167: cd: ./debian/libtomcat8-java/usr/share/maven-repo/org/apache/tomcat/tomcat-jaspic-api: No such file or directory
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Cleaning in directory ./debian/libtomcat8-java/usr/share/maven-repo/org/apache/tomcat/tomcat-storeconfig
/usr/bin/debclean: line 167: cd: ./debian/libtomcat8-java/usr/share/maven-repo/org/apache/tomcat/tomcat-storeconfig: No such file or directory
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Cleaning in directory ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-websocket
/usr/bin/debclean: line 167: cd: ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-websocket: No such file or directory
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Cleaning in directory ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-core
/usr/bin/debclean: line 167: cd: ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-core: No such file or directory
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Cleaning in directory ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-el
/usr/bin/debclean: line 167: cd: ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-el: No such file or directory
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Cleaning in directory ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-jasper
/usr/bin/debclean: line 167: cd: ./debian/libtomcat8-embed-java/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-jasper: No such file or directory
dpkg-buildpackage --rules-target clean -rfakeroot -us -uc --hook-check=cd ..;
fakeroot debian/rules clean
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 27 Jan 2017 10:36:16 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 10 05:30:05 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.