Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28022

Missing dependency libzstd-dev not available in Debian 9

Details

    Description

      There are some missing dependencies for the aarch64-debian-9 builder (https://buildbot.mariadb.org/#/builders/77/builds/7905)

      debian/autobake-deb.sh
       in dir /home/buildbot/aarch64-debian-9-deb-autobake/build (timeout 1200 secs)
       watching logfiles {'CMakeCache.txt': './builddir/CMakeCache.txt'}
       argv: [b'debian/autobake-deb.sh']
       environment:
        BUILDMASTER=buildbot.mariadb.org
        BUILDMASTER_PORT=9992
        CCACHE_DIR=/mnt/ccache
        DEB_BUILD_OPTIONS=parallel=4
        HOME=/home/buildbot
        HOSTNAME=d43a6a8f6114
        PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
        PWD=/home/buildbot/aarch64-debian-9-deb-autobake/build
        WORKERNAME=aarch64-bbw2-docker-debian-9
       using PTY: False
      Incrementing changelog and starting build scripts
      libdistro-info-perl is not installed, Debian release names are not known.
      libdistro-info-perl is not installed, Ubuntu release names are not known.
      Creating package version 1:10.4.25+maria~stretch ... 
      dpkg-buildpackage: info: source package mariadb-10.4
      dpkg-buildpackage: info: source version 1:10.4.25+maria~stretch
      dpkg-buildpackage: info: source distribution stretch
      dpkg-buildpackage: info: source changed by Otto Kekäläinen <buildbot@d43a6a8f6114>
       dpkg-source -I --before-build build
      dpkg-buildpackage: info: host architecture arm64
      dpkg-checkbuilddeps: error: Unmet build dependencies: libzstd-dev
      dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
      dpkg-buildpackage: warning: (Use -d flag to override.)
      program finished with exit code 3
      elapsedTime=4.765945
      

      Attachments

        Issue Links

          Activity

            faust Faustin Lammler added a comment - - edited fix provided in https://github.com/MariaDB/mariadb.org-tools/pull/108

            To build >10.7 branch we need libzstd.dev >= 1.1.3 that is unfortunately not available in debian9 (https://packages.debian.org/stretch/libzstd-dev).

            The package is available through backports: https://packages.debian.org/stretch-backports/libzstd-dev

            Fix: install the bpo version in the docker image.
            https://github.com/MariaDB/mariadb.org-tools/pull/108

            faust Faustin Lammler added a comment - To build >10.7 branch we need libzstd.dev >= 1.1.3 that is unfortunately not available in debian9 ( https://packages.debian.org/stretch/libzstd-dev ). The package is available through backports: https://packages.debian.org/stretch-backports/libzstd-dev Fix: install the bpo version in the docker image. https://github.com/MariaDB/mariadb.org-tools/pull/108

            danblack can I kindly ask you to double check if this seems OK?

            I have just found https://github.com/MariaDB/server/commit/8c5e5e1be9353b90f341aad73cb3d2ed7c405a96 and now I am not sure if we should have done that.

            faust Faustin Lammler added a comment - danblack can I kindly ask you to double check if this seems OK? I have just found https://github.com/MariaDB/server/commit/8c5e5e1be9353b90f341aad73cb3d2ed7c405a96 and now I am not sure if we should have done that.
            danblack Daniel Black added a comment -

            Good call on the double check - buildbot.mariadb.org/ci_build_images/debian.Dockerfile adding dependencies will add a runtime dependency (for the rocksdb package) on the backports to the released binaries from them (if we where releasing from them from bb.org).

            So yes, revert that part of the commit and keep centos8.

            danblack Daniel Black added a comment - Good call on the double check - buildbot.mariadb.org/ci_build_images/debian.Dockerfile adding dependencies will add a runtime dependency (for the rocksdb package) on the backports to the released binaries from them (if we where releasing from them from bb.org). So yes, revert that part of the commit and keep centos8.
            faust Faustin Lammler added a comment - - edited

            Ok, thanks danblack. But then it still unclear to me how we need to fix this. I will check with vladbogo what we can do about it. And maybe also try to understand how old BB is building 10.7 on debian9.

            faust Faustin Lammler added a comment - - edited Ok, thanks danblack . But then it still unclear to me how we need to fix this. I will check with vladbogo what we can do about it. And maybe also try to understand how old BB is building 10.7 on debian9.
            danblack Daniel Black added a comment -

            Revert the addition of libzstd-dev for debian 9.

            danblack Daniel Black added a comment - Revert the addition of libzstd-dev for debian 9.

            > Revert the addition of libzstd-dev for debian 9.

            Sure, but this is not going to resolve the buildbot building problem vladbogo what's your take on that?

            faust Faustin Lammler added a comment - > Revert the addition of libzstd-dev for debian 9. Sure, but this is not going to resolve the buildbot building problem vladbogo what's your take on that?
            vladbogo Vlad Bogolin added a comment -

            Not sure. I guess that the only possible option is to remove the dependency from the server side. Buildbot wise not sure what we can do

            vladbogo Vlad Bogolin added a comment - Not sure. I guess that the only possible option is to remove the dependency from the server side. Buildbot wise not sure what we can do
            danblack Daniel Black added a comment -

            Yes, fix the server debian/autobake.sh to do a distro version (not package version see MDBF-347, MDEV-28011) based removal of libzstd-dev

            danblack Daniel Black added a comment - Yes, fix the server debian/autobake.sh to do a distro version (not package version see MDBF-347 , MDEV-28011 ) based removal of libzstd-dev
            danblack Daniel Black added a comment - https://github.com/MariaDB/server/pull/2045

            Debian 9 end of life is June 30, 2022. So would it be just put on back burner and consider as done?

            illuusio Tuukka Pasanen added a comment - Debian 9 end of life is June 30, 2022. So would it be just put on back burner and consider as done?
            danblack Daniel Black added a comment -

            Thanks for the review illuusio

            There's still more Debian 9 releases. As MDEV-28014 showed we have a fragility problem with the apt-cache.

            While Debian 9 is going to be EOL soon, having the framework of tests against absolute distro versions is a good place to start.

            danblack Daniel Black added a comment - Thanks for the review illuusio There's still more Debian 9 releases. As MDEV-28014 showed we have a fragility problem with the apt-cache. While Debian 9 is going to be EOL soon, having the framework of tests against absolute distro versions is a good place to start.

            People

              danblack Daniel Black
              vladbogo Vlad Bogolin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.