[Bug 2048137] Re: zstd default compression level changed in 1.22.2ubuntu1
Launchpad Bug Tracker
2048137 at bugs.launchpad.net
Wed Jan 10 10:14:34 UTC 2024
This bug was fixed in the package dpkg - 1.22.2ubuntu2
---------------
dpkg (1.22.2ubuntu2) noble; urgency=medium
* Set zstd compression level back to 19. (LP: #2048137)
-- Dan Bungert <daniel.bungert at canonical.com> Thu, 04 Jan 2024
17:24:19 -0700
** Changed in: dpkg (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/2048137
Title:
zstd default compression level changed in 1.22.2ubuntu1
Status in dpkg package in Ubuntu:
Fix Released
Bug description:
In this commit, a refactor is intended to remove usage of a magic number:
https://git.launchpad.net/ubuntu/+source/dpkg/commit/?id=80f4e7dea37b1c7e1bd710c29ae31a185b4fb7a0
default_level is changed to be initialized with ZSTD_CLEVEL_DEFAULT
instead of a hardcoded 19, but ZSTD_CLEVEL_DEFAULT is set earlier in
the file, so appears to be a valid refactor.
However, if we are building with WITH_LIBZSTD, then
ZSTD_CLEVEL_DEFAULT will not be set to 19, and instead use the library
default value (of 3). This means that in this upload, the compression
level was changed from 19 to 3.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2048137/+subscriptions
More information about the foundations-bugs
mailing list