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

Debian - remove libboost-system-dev dependency

    XMLWordPrintable

Details

    • Not for Release Notes

    Description

      The boost_system stub was been a library stub since 1.69 and was removed in 1.89.

      Debian sid now has 1.90 and there isn't a libboost-system-dev package.

      As far back as the earliest Debian supported version (1.74.0.3) its a stub.
      https://packages.debian.org/bullseye/amd64/libboost-system1.74-dev/filelist

      root@4ed0c1311bb9:/# dpkg -L libboost-system1.74-dev
      /.
      /usr
      /usr/lib
      /usr/lib/x86_64-linux-gnu
      /usr/lib/x86_64-linux-gnu/cmake
      /usr/lib/x86_64-linux-gnu/cmake/boost_system-1.74.0
      /usr/lib/x86_64-linux-gnu/cmake/boost_system-1.74.0/boost_system-config-version.cmake
      /usr/lib/x86_64-linux-gnu/cmake/boost_system-1.74.0/boost_system-config.cmake
      /usr/lib/x86_64-linux-gnu/cmake/boost_system-1.74.0/libboost_system-variant-shared.cmake
      /usr/lib/x86_64-linux-gnu/cmake/boost_system-1.74.0/libboost_system-variant-static.cmake
      /usr/lib/x86_64-linux-gnu/libboost_system.a
      /usr/share
      /usr/share/doc
      /usr/share/doc/libboost-system1.74-dev
      /usr/share/doc/libboost-system1.74-dev/NEWS.Debian.gz
      /usr/share/doc/libboost-system1.74-dev/changelog.Debian.gz
      /usr/share/doc/libboost-system1.74-dev/copyright
      /usr/lib/x86_64-linux-gnu/libboost_system.so
      root@4ed0c1311bb9:/# ls -la /usr/lib/x86_64-linux-gnu/libboost_system.a
      -rw-r--r--. 1 root root 1164 May 19  2023 /usr/lib/x86_64-linux-gnu/libboost_system.a
      root@4ed0c1311bb9:/# ar -t /usr/lib/x86_64-linux-gnu/libboost_system.a
      error_code.o
      root@4ed0c1311bb9:/# nm -g /usr/lib/x86_64-linux-gnu/libboost_system.a
       
      error_code.o:
      0000000000000000 T _ZN5boost6system23dummy_exported_functionEv
      

      As such its an unnecessary dependency. Its functionality was handled in the header files (libboost(version-dev).

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.