Your message dated Wed, 28 Feb 2024 07:51:02 +0000
with message-id <e1rfeiu-004uve...@fasolo.debian.org>
and subject line Bug#1063252: fixed in pristine-tar 1.50+nmu1
has caused the Debian Bug report #1063252,
regarding pristine-tar: Always set the -T parameter for xz
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 ow...@bugs.debian.org
immediately.)
--
1063252: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063252
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:pristine-tar
Version: 1.50
Severity: important
Tags: sid
control: affects -1 src:xz-utils
xz-utils 5.5.1alpha is currently in experimental.
A user visible change is that xz will by default use the "multi threaded
mode" (-T1 -> -T0). This means that the archive will contain the block
size information (cu flag in xz -lvv) and so the resulting archive is no
longer binary identical comparing with the previous versions.
The patch attached adds -T1 argument if nothing was set. It also tries
to set the paramter while creating the delta (I hope it does that).
Sebastian
>From ea404fcd433147bd8328836fe96928b8643a56f6 Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
Date: Mon, 5 Feb 2024 22:10:07 +0100
Subject: [PATCH] pristine-xz: Add -T1 if nothing was specified.
Signed-off-by: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
---
pristine-xz | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/pristine-xz b/pristine-xz
index 48f9fd363391..2046578db82a 100755
--- a/pristine-xz
+++ b/pristine-xz
@@ -256,11 +256,12 @@ sub predict_xz_args {
# (even when --block-size or --block-list is specified)
if ($xz->{summary}->{size_in_blocks} eq 'yes') {
# All -T values >1 produce the same output.
- # 0 behaves the same as 1 on single core systems.
# Use as many threads as we have CPU affinities, with a minimum of 2.
my @affinities = Sys::CpuAffinity::getAffinity($$);
my $threads = @affinities > 2 ? @affinities : 2;
push @$common, "-T$threads";
+ } else {
+ push @$common, "-T1";
}
}
my $possible_args = [];
@@ -402,6 +403,7 @@ sub genxz {
}
my @params = split(' ', $delta->{params});
+ my $threads_set = 0;
while (@params) {
my $param = shift @params;
@@ -415,13 +417,22 @@ sub genxz {
next if $param eq '--check=sha256';
next if $param =~ /^(--block-list=[0-9,]+)$/;
next if $param =~ /^-T[0-9]+$/;
+ if ($param =~ /^-T[0-9]+$/) {
+ $threads_set = 1;
+ next;
+ }
} elsif ($delta->{program} eq 'pixz') {
next if $param eq '-t';
}
die "paranoia check failed on params from delta ($param)";
}
+
@params = split(' ', $delta->{params});
+ if (!$threads_set) {
+ push @params, '-T1';
+ }
+
doit($program, @params, $file);
}
--
2.43.0
--- End Message ---
--- Begin Message ---
Source: pristine-tar
Source-Version: 1.50+nmu1
Done: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
We believe that the bug you reported is fixed in the latest version of
pristine-tar, 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 1063...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sebastian Andrzej Siewior <sebast...@breakpoint.cc> (supplier of updated
pristine-tar 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 25 Feb 2024 12:18:32 +0100
Source: pristine-tar
Architecture: source
Version: 1.50+nmu1
Distribution: unstable
Urgency: medium
Maintainer: Tomasz Buchert <tom...@debian.org>
Changed-By: Sebastian Andrzej Siewior <sebast...@breakpoint.cc>
Closes: 1063252
Changes:
pristine-tar (1.50+nmu1) unstable; urgency=medium
.
* Non-maintainer upload.
* Always set the -T parameter for xz (Closes: #1063252).
Checksums-Sha1:
5070fe09734c465c2a099388ed0c8b2e9ee72ebe 1668 pristine-tar_1.50+nmu1.dsc
f0221c31cdaebc35834bfe5b706b06e5badc2e32 306952 pristine-tar_1.50+nmu1.tar.xz
Checksums-Sha256:
49acf9d643122695c840ffc2ecccd4d65531338cf3e9685be353f7838fedff71 1668
pristine-tar_1.50+nmu1.dsc
528b9c8332ba3bf4e5f4d127e090a0f2c5b76cd7522ed1b696073ad9f9f9430c 306952
pristine-tar_1.50+nmu1.tar.xz
Files:
936dd24a1d3995a15a39197b142122d9 1668 utils optional pristine-tar_1.50+nmu1.dsc
7807bdb6460f285eadeffca3d2163c6c 306952 utils optional
pristine-tar_1.50+nmu1.tar.xz
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEEV4kucFIzBRM39v3RBWQfF1cS+lsFAmXcNWwACgkQBWQfF1cS
+lsy4Qv/aO658yoPOhBzLDJDF3gn0YhKy5A0UPncZBCv4mhvljzgosuNRMTNMOYb
ZDdHe015A7M5yGC7NmpYkWH4Swh9lhUIaURkcQKscAMDsQdKc4rM7TkxCDcA8HyC
GQzIKJ0Z5BHPFer/vNZOq44+sekf2VwuEBgBZ/syAK8kSQA2rxm74/38ZVAqii2A
aanc+lPUFVVe+GDnuihuUBA6omtM7ISIxohuyUYkNNypKuM5ZEgKjlJjDwu/NZmX
SSAujG6eeXujBuC8Dtvmb6Q7odqa899lRId+H28QvXzz9S6iciqNpzmIpkuEJD6q
AVHFVTJzgv9AdbdX+u310Ps80MxVemy2dgx6QbjDGjljjPbTcn04LHSPY0OcN7aM
RQGgactfEwuQsIF4aeYIWmmFVk1EGFqYdXSgkufOrdsivZbSGz9RBSeSHwu46bwQ
/FGhhs+tEEWpw5odtjfvOENA7UJBV7tfmrmqADcG70uNQriZoTG2uPlgsKhleX8t
X0vCaGot
=/9T0
-----END PGP SIGNATURE-----
pgp3aGoMjwlFy.pgp
Description: PGP signature
--- End Message ---