Add build dependencies to correct Debian/Ubuntu packages in docker

Description

Xtrabackup 8.0.22-15

The Debian control file accompanying the sources indicates the following dependencies:

automake, bison, ca-certificates, cmake, debhelper (>= 7.3), libaio-dev, libncurses-dev, libssl-dev, libtool, libz-dev, libgcrypt-dev, libev-dev, libcurl-dev, lsb-release, python-sphinx (>= 1.0.1) | python3-sphinx (>= 1.8.5), python-docutils (>= 0.6) | python3-docutils (>= 0.16)

However, the package fails to build on Ubuntu without the following additional dependencies:

  • fakeroot

  • libsasl2-dev

  • vim-common

These packages should be added to the "Build-Depends" line in the control file.

Additionally, on Ubuntu, "libcurl-dev" is a virtual package - it should be replaced with an "or" of the following:

  • libcurl-dev

  • libcurl4-openssl-dev

  • libcurl4-nss-dev

  • libcurl4-gnutls-dev

This issue can be reproduced with the attached Dockerfile.  With the additional dependencies installed (as in the attached Dockerfile-2), the build succeeds.

Environment

None

Attachments

2

Smart Checklist

Activity

Show:

illia.pshonkin February 16, 2021 at 1:05 PM

PR merged, will be fixed after release of PXB

Jira Bot January 26, 2021 at 10:55 AM

To: Former user
CC:

Hi, I'm jira-bot, Percona's Jira automation tool. I've detected that someone from
Percona has made an edit to the Summary field of an issue that you reported.

I'm not sentient (yet) so I'm not sure whether the person fixed a typo, changed
a few words, or completely rewrote the text. In any case, it is Percona Engineering's
intention to make the Summary and Description of an issue as accurate as possible
so that we're fixing the actual problem you're encountering, and to avoid
misunderstandings about symptoms and causes.

If the current Summary does not accurately reflect the problem you are reporting,
or if you feel the change was otherwise inappropriate in some way, please add a
new comment explaining things and we'll address it as soon as we can.

This message will be added only once per issue, regardless of how many times
the Summary is edited.

message-code:summary-edited

Done

Details

Assignee

Reporter

Time tracking

3h 30m logged

Components

Priority

Smart Checklist

Created January 25, 2021 at 10:25 PM
Updated March 6, 2024 at 6:45 PM
Resolved February 16, 2021 at 1:05 PM