[Bug 2048137] Re: zstd default compression level changed in 1.22.2ubuntu1

Dan Bungert 2048137 at bugs.launchpad.net
Fri Jan 5 00:41:27 UTC 2024


https://git.launchpad.net/~dbungert/ubuntu/+source/dpkg/commit/?h=lp-2048137&id=d0b5d3421c65f40fdada26f49ca3ed5be2b357f2

** Changed in: dpkg (Ubuntu)
     Assignee: (unassigned) => Dan Bungert (dbungert)

** Changed in: dpkg (Ubuntu)
       Status: New => In Progress

-- 
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:
  In Progress

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