From 06da2155b9def793a69f4177859465f7f57531ee Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Wed, 30 Jun 2021 09:59:54 +0200 Subject: [PATCH] Add libarchive build-dep to fix missing archive_write_add_filter_zstd Trying to fix + echo 'Install tini version de40ad007797e0dcd8b7126f27bb87401d224240' + git clone https://github.com/krallin/tini.git /go/tini Install tini version de40ad007797e0dcd8b7126f27bb87401d224240 Cloning into '/go/tini'... + cd /go/tini + git checkout -q de40ad007797e0dcd8b7126f27bb87401d224240 + cmake . cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd error: Bad exit status from /var/tmp/rpm-tmp.Dl5CDf (%build) According to https://bugs.centos.org/view.php?id=18212, upgrading to libarchive-3.3.3-1.el8.x86_64 should resolve the problem. Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 78242140d7f85863e8a8e3a133f3ebf73b9596ca) Signed-off-by: Sebastiaan van Stijn --- rpm/SPECS/docker-ce.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm/SPECS/docker-ce.spec b/rpm/SPECS/docker-ce.spec index f4e60b1c66..64ea11f6d5 100644 --- a/rpm/SPECS/docker-ce.spec +++ b/rpm/SPECS/docker-ce.spec @@ -37,6 +37,7 @@ BuildRequires: device-mapper-devel BuildRequires: gcc BuildRequires: git BuildRequires: glibc-static +BuildRequires: libarchive BuildRequires: libseccomp-devel BuildRequires: libselinux-devel BuildRequires: libtool