[Pkg-cmake-team] Bug#972252: cmake: needs to declare B-D on libarchive >=3.3.3

Tobias Frost tobi at debian.org
Thu Oct 15 11:28:57 BST 2020


Package: cmake
Version: 3.18.2-1
Severity: important
Justification: Policy 4.2

Dear Maintainer,

(I think this is what caused #954852 in the first place)

cmake declares a B-D on libarchive > 2.8.0, however it will FTBFS
when the installed version is less than 3.3.3, as CMake explictly
checks for this version:

CMakeLists.txt
--- snip ---
    find_package(LibArchive 3.3.3)
--- snap ---

This patch declares this in the B-Ds correctly:

diff -Naur cmake-3.18.2/debian/control cmake-3.18.2.orig/debian/control
--- cmake-3.18.2/debian/control 2020-10-15 12:18:49.420643927 +0200
+++ cmake-3.18.2.orig/debian/control    2020-10-15 12:18:19.856392140 +0200
@@ -6,7 +6,7 @@
            Felix Geyer <fgeyer at debian.org>
 Build-Depends: debhelper-compat (= 12),
                freebsd-glue [kfreebsd-any],
-               libarchive-dev (>= 3.3.3),
+               libarchive-dev (>= 2.8.0),
                libbz2-dev,
                libcurl4-openssl-dev | libcurl-ssl-dev,
                libexpat1-dev,


I'll send a MR on salsa your way later.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cmake depends on:
ii  cmake-data    3.18.2-1
ii  libarchive13  3.4.3-2
ii  libc6         2.31-3
ii  libcurl4      7.72.0-1
ii  libexpat1     2.2.10-1
ii  libgcc-s1     10.2.0-13
ii  libjsoncpp1   1.7.4-3.1
ii  librhash0     1.4.0-1
ii  libstdc++6    10.2.0-13
ii  libuv1        1.39.0-1
ii  procps        2:3.3.16-5
ii  zlib1g        1:1.2.11.dfsg-2

Versions of packages cmake recommends:
ii  gcc   4:10.2.0-1
ii  make  4.3-4

Versions of packages cmake suggests:
pn  cmake-doc    <none>
ii  ninja-build  1.10.1-1

-- no debconf information



More information about the Pkg-cmake-team mailing list