Your message dated Sun, 26 Apr 2015 07:42:58 +0000
with message-id <[email protected]>
and subject line Bug#774685: fixed in devscripts 2.15.4
has caused the Debian Bug report #774685,
regarding chdist: even if --arch is given, apt will download Packages files for
all architectures
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.)
--
774685: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774685
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.14.11
Severity: normal
Tags: patch
Hi,
steps to reproduce:
$ dpkg --add-architecture armhf
$ chdist --arch=amd64 create sid-amd64 http://ftp.de.debian.org/debian sid main
$ chdist --arch=amd64 apt-get sid-amd64 update
$ ls ~/.chdist/sid-amd64/var/lib/apt/lists/*armhf*
/home/josch/.chdist/sid-amd64/var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_main_binary-armhf_Packages
so even though I passed the --arch=amd64 argument, apt will download for
another architecture as well (armhf in this case which was enabled as a
foreign arch on the host chdist was running on).
This might be an apt bug because one might argue that apt should respect
the architecture given as Apt::Architectures and not ask dpkg for more.
But since the fix is simple, I'm attaching it.
Until this is applied, a workaround is to run chdist like this:
$ chdist --arch=amd64 create sid-amd64 "[arch=amd64]"
http://ftp.de.debian.org/debian sid main
which happens to work because of how chdist treats its arguments for the
create subcommand (it just concatenates them with a space).
Thanks!
cheers, josch
>From 0fc9541b9ee8f82f4ba8d0c4250c2209f11db2dd Mon Sep 17 00:00:00 2001
From: josch <[email protected]>
Date: Tue, 6 Jan 2015 09:36:25 +0100
Subject: [PATCH] chdist: if --arch is given, make sure only that arch is
downloaded
---
scripts/chdist.pl | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/chdist.pl b/scripts/chdist.pl
index 3f8001f..11e03e4 100755
--- a/scripts/chdist.pl
+++ b/scripts/chdist.pl
@@ -339,8 +339,12 @@ sub dist_create
if ($version) {
# Use provided method, version and sections
my $sections_str = join(' ', @sections);
+ my $restr = "";
+ if ($arch) {
+ $restr = "[arch=$arch]";
+ }
print FH <<EOF;
-deb $method $version $sections_str
+deb $restr $method $version $sections_str
deb-src $method $version $sections_str
EOF
}
--
2.0.1
--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.15.4
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.
James McCoy <[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: Sat, 25 Apr 2015 21:58:50 -0400
Source: devscripts
Binary: devscripts
Architecture: source amd64
Version: 2.15.4
Distribution: unstable
Urgency: medium
Maintainer: Devscripts Devel Team <[email protected]>
Changed-By: James McCoy <[email protected]>
Description:
devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 728607 765338 768345 774276 774544 774685 775084 776209 776318 777344
777345 777346 778648 778860 778963 779279 780167 781611 782354
Changes:
devscripts (2.15.4) unstable; urgency=medium
.
[ Dominique Dumont ]
* licensecheck:
+ Handle license like GPL version 2 or 3 (which is not GPL-2+)
+ Ignore .pc directories
+ print copyrights in a non random-order
.
[ Daniel Kahn Gillmor ]
* uscan: explicitly dearmor, rather than --import upstream signing key
(Closes: #768345)
.
[ James McCoy ]
* debsnap: When specified version or architectures aren't available, warn
and exit with error code 2. (Closes: #774276)
* rmadison:
+ Display the usage to the specified fd instead of ignoring it.
+ Display the known URL aliases in the usage.
+ Display all the URLs in --help when $default_url is a comma-separated
list.
+ Remove 404ing myon and debug URLs
+ Use https://api.ftp-master.debian.org/madison for debian and new URLs.
This also fixes support for the -b option. (Closes: #775084)
+ Strip arch-qualifiers from package names. (Closes: #780167)
* mk-origtargz: Avoid adding the same file to the "to be deleted" list
multiple times. This may also cause patterns to be declared as unused if
a file is matched by multiple patterns. (Closes: #776318)
* who-uploads:
+ Fix extraction of uploader's key id.
* Create a temporary GNUPGHOME to avoid “gpg --list-key” erroring when no
~/.gnupg exists. (Closes: #776209)
* bts: Cancel the mail if the spawned editor exits with a non-zero exit
code. This is an alternative way to cancel a command, rather than saving
an empty message. (Closes: #778648)
* who-permits-upload: Update URL to use https.
* Replace use of Parse::DebControl with Dpkg::Control to work around
#780138 and remove a dependency.
* uscan:
+ Always remove the Referer header for Sourceforge, not just when going
via the redirector. (Closes: #778860)
+ Let the OS assign a port to the test's HTTP server so tests don't fail
when something is already using port 8000.
* Ensure all LWP-using scripts honor a proxy set in the environment.
(Closes: #781611)
.
[ Johannes Schauer ]
* chdist: Also set Apt::Architectures to prevent foreign architectures from
the host leaking into the apt tree (Closes: #774685)
.
[ Iain Lane ]
* rmadison: The short option for --regex is -r, not -s.
.
[ Fabian Greffrath ]
* wrap-and-sort: Add dirs, docs, examples, info, links, maintscript and
manpages (all can also be prefixed by the binary package name) to the
files in the debian/ directory that get sorted alphabetically.
(Closes: #765338)
.
[ Ian Jackson ]
* grep-excuses:
+ Minor manpage corrections. (Closes: #777344)
+ Add --debug option. (Closes: #777345)
+ Search for autoremovals too, by default. (Closes: #777346)
.
[ Hideki Yamane ]
* Add bash completion for dch, debsign, and uupdate. (Closes: #774544,
#778963, #779279)
.
[ Peter Eisenstraut ]
* Consistently use Makefile variables to control the installation layout.
(Closes: #728607)
.
[ Antonio Terceiro ]
* chdist: also create /etc/apt/sources.list.d
.
[ Simon McVittie ]
* mergechanges: Add --indep option to skip architecture-specific packages.
(Closes: #782354)
Checksums-Sha1:
306206dd2eab250ce314c6d8efaf23ed58490043 2206 devscripts_2.15.4.dsc
8476fd0d5b1819759c91042a5d8460d75edbe9ef 612464 devscripts_2.15.4.tar.xz
a578ad58d76e0591ca639076a5c1b1c84bec7ec4 903668 devscripts_2.15.4_amd64.deb
Checksums-Sha256:
b9fc82e8b4ac934706e176910f6c863d88ac7574c7bf9c9bb63604053338d6fc 2206
devscripts_2.15.4.dsc
e2e091d9339ab9ba36143a2e0a516e415766567e06479ffe712da977405f8d0e 612464
devscripts_2.15.4.tar.xz
9a501b5ee393b5a7649723c4118f6d31320c2f6852cc2711d97449646f2b4750 903668
devscripts_2.15.4_amd64.deb
Files:
5e6f704f285ccbe3b86e8ec98b5922e0 2206 devel optional devscripts_2.15.4.dsc
940e520d057b68fa565f15f057e73d52 612464 devel optional devscripts_2.15.4.tar.xz
a1026d996ef8554b59e45ec9ef3eb83e 903668 devel optional
devscripts_2.15.4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJ8BAEBCgBmBQJVPEjXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MUJGQkY0RDY5NTZCRDVERjdCNzJEMjNE
RkU2OTFBRTMzMUJBM0RCAAoJEN/mka4zG6Pbvu0P/0doMNsOSvPYv/gAdOE6VBS0
mqjqeKdhEItcO165JIBr+TPkb8ccv/fCyM6ckCmebwAAGYsisFtxrf/aTv82D9x0
xzU6f1L9NFS6U+CKBw2490bQ+WXrrRIQaWdoUknmq9d6TbSPoa7R+jCOtyvaWTCH
BLrM5rXQyyALO2emr+qbufWCVwrv1JzmA2phuh0o2mZHvAJoMGQ1062DJVB/+smZ
L3S6wD9PPLjwNYjV4407kobEuhyUgd35oxkGGoxa23jnF+o7VWSJMrUD4qmU+8r+
9WxlJVWUfZnndmnZa24CYrqPl8Xl1uQnccwY+VG1H4sjdGlJHQZtVPZn06PqKFJi
P9Nqld9EUtxWLsGvp46BzxP+goZZhJjn8Ds1sJ9XJZ8LiN2dIDMq1Z6bGV99dLSe
ACNXxJUW/+05nkeCxNk8n3If/DopjgcLlY/ffJoECyeVI58NTHBciOV4UoShCul5
K5KDIYpCQSt7PUrxDPgLm8EOdfVTWmFmH3+TOAeTVO0HDFcLZcsa45IiBEnWIYLb
eRXa0IwZjyZ5CqEQynj4EvHnDg8ouAmAIfFXEOZwSWhgrnXbhj1+XYcPJWzyfUUB
1AtcAUytfap5YbxFVwAUlG43PlvOKLQVXE1t7Vz/fQlhE5cO+MpHPustnLycOlJK
IwtqdhIRCzbwTRKa5AfB
=fa7E
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel