Your message dated Mon, 24 Jan 2022 22:52:39 +0000
with message-id <[email protected]>
and subject line Bug#987655: fixed in sbuild 0.82.0
has caused the Debian Bug report #987655,
regarding sbuild: Support zstd tarballs
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.)
--
987655: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987655
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sbuild
Version: 0.81.2
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
The attached patch adds support for using zstd compressed tarballs.
sbuild will try to use ~/.cache/sbuild/sid-amd64.tar.zst but tar may not
know what to do with it and so errors out:
Unpacking /home/vagrant/.cache/sbuild/sid-amd64.tar.zst to
/tmp/tmp.sbuild.2ilJsfh49J...
tar: Archive is compressed. Use --zstd option
tar: Error is not recoverable: exiting now
E: ABORT: Received PIPE signal (requesting cleanup and shutdown)
The patch passes the --zstd argument to tar, which seems to be available
in versions of tar since buster. Alternately, "--use-compress-program
zstd" worked as well.
Really loving "--chroot-mode=unshare" !
live well,
vagrant
From df5ef135ae10816abe56d4de92b0214f1fb7cdd7 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Mon, 26 Apr 2021 23:49:40 -0700
Subject: [PATCH] lib/Sbuild/Utility.pm: Add support for zstd compression.
---
lib/Sbuild/Utility.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/Sbuild/Utility.pm b/lib/Sbuild/Utility.pm
index 75864825..e56eb05b 100644
--- a/lib/Sbuild/Utility.pm
+++ b/lib/Sbuild/Utility.pm
@@ -627,6 +627,8 @@ sub get_tar_compress_options($) {
return ('--use-compress-program', 'lz4');
} elsif ($filename =~ /\.(xz|txz)$/) {
return ('--xz');
+ } elsif ($filename =~ /\.zst$/) {
+ return ('--zstd');
}
return ();
}
--
2.30.2
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: sbuild
Source-Version: 0.82.0
Done: Johannes Schauer Marin Rodrigues <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sbuild, 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.
Johannes Schauer Marin Rodrigues <[email protected]> (supplier of updated sbuild
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: Mon, 24 Jan 2022 23:30:27 +0100
Source: sbuild
Architecture: source
Version: 0.82.0
Distribution: unstable
Urgency: medium
Maintainer: sbuild maintainers <[email protected]>
Changed-By: Johannes Schauer Marin Rodrigues <[email protected]>
Closes: 986694 986962 987655 990734 1001807
Changes:
sbuild (0.82.0) unstable; urgency=medium
.
[ Johannes Schauer Marin Rodrigues ]
* remove etc/99builddsourceslist as it is unused
* bin/sbuild-createchroot: avoid allowing execution of arbitrary Perl code
via a custom mirror URL (closes: #1001807)
* debian/tests/build-procenv: add deb-src repository
* debian/tests/unshare-qemuwrapper: use copy:// instead of file://
* man/sbuild.1.in: document the --arch-all and --no-arch-all defaults while
cross-building
* lib/Sbuild/ChrootUnshare.pm: also create /dev/console and /dev/ptmx and
mount /dev/pts and /dev/shm
* lib/Sbuild/Build.pm: fix error reporting of 'changes.new could not be
renamed'
* add sbuild-cross-resolver filtering out m-a:foreign and essential:yes
packages that are not arch:all and not arch:native during cross-building
* bump debhelper-compat to 13
* use dh-sequence-python3 instead of --with=python3
* run wrap-and-sort
* add myself to d/copyright -- better late than never ;)
* debian/control: add uidmap to Recommends (closes: #986962)
* use debian/*.manpages instead of debian/*.install to install manpages
* add UNSHARE_BIND_MOUNTS allowing to bind-mount directories into the chroot
in unshare mode (closes: #986694)
.
[ Samuel Thibault ]
* control: Fix git URLs.
.
[ Christian Kastner ]
* sbuild.1: Refresh unshare info
.
[ Jochen Sprickerhof ]
* Don't overwrite BUILD_DIR when compiling in src dir (Closes: #990734)
.
[ Vagrant Cascadian ]
* lib/Sbuild/Utility.pm: Add support for zstd compression. (Closes: #987655)
Checksums-Sha1:
88da09e08957f156d817ba8996b572796b1d7b77 2510 sbuild_0.82.0.dsc
8e44cf391d9265643483169e340591d55e9ecdcb 254664 sbuild_0.82.0.tar.xz
Checksums-Sha256:
93f6996d0ae50badcec43634f1dd122aed5a926419e438a6d27c67ebadd600ae 2510
sbuild_0.82.0.dsc
5a8ffa3a4b95788115d8dbba5a085d8e1ab8228d9d014c58760441f5afe2d7b4 254664
sbuild_0.82.0.tar.xz
Files:
d5ff0f96a2c114586da567b83e0759e6 2510 devel optional sbuild_0.82.0.dsc
379699369ccd576afb072df52b3326db 254664 devel optional sbuild_0.82.0.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAmHvKiQACgkQ8sulx4+9
g+HlEA//ZGRG4r4EiKL6xOZDCdXDRns8Xgu3feBp8nasC2KoDRSA+14FXSu8dfKs
Wn8D22wdnNPcNzR0GMi+xqHOY+VnkvYaF67FxqpOVZQNx2hp0TvfQA1eOPADNFKY
gbYDG/NdPvTX3wftFZBcqiyCy9/hmYCa56v1zxfFmdLfkWu/yWmNN8be/5NIfBk8
P1nVkRw8B0VeLR5AYzNJzJ4ZB337xn9HJGVRNZwQv/CFx109X5jP2gVNiW9fHmaj
C7saWTQidhxhUEmp6UZ+7en6hPDUcOzn2GzKxC4sZc5QYN+92/snxHN1TOMkfKhU
TJci0yby8U+eji6Jb16lJ8c+Ar4l0pUuk9qO/0pPrFH+rvFam93ocH4A+d7sUuox
ypTnLnOnKwj2LQCJkdz0fJ55r4YmV4jpQsGLzHUkjbGlZgRlAryLjq8Owd3aFsoL
CB35+vW1uZFWuWbnZz8kgMqK7IyOtrVE6azHuH90DZ6bWBW6VnfJ9O/c+75RaqwU
G23vtkUUKaPaTIUlkWLs65ar0ECRj+h8oP//bJRk2VCNjMerIVUrMZaIBZdGBKHH
3slg8thr1MklGFPPUGN/TOX8V4vmEs10zV3UjCEZmYV3se9K+OZhWumsiB8fZ/ww
grO2Tg7QWutn7UErEQoQzkOWR0eHXvmwlbjHxoNdV0wR50il0EQ=
=KY2r
-----END PGP SIGNATURE-----
--- End Message ---