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

MariaDB-compat RPM pakage is not generated.

    Details

      Description

      Hi,

      I followed the documentation about how to compile a debug version from source and generate the RPMs.

      For some reason the compat RPM needed on CentOS 6 is not generated.

      This should contain libmysqlclient.so.15 and libmysqlclient.so.16

      The commands are:

      wget .... sources
      tar zxvf ....
      cd mariadb-10.1.37
      cmake -DRPM=centos6 . -DCMAKE_BUILD_TYPE=Debug -DWITH_VALGRIND=ON
      make -j4
      make package
       
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-backup.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-client.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-common.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-devel.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-server.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-shared.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-test.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-connect-engine.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-gssapi-client.rpm generated.
      CPack: - package: /home/mariadb-10.1.37/MariaDB-10.1.37-centos6-x86_64-gssapi-server.rpm generated.
      

      Cmake is 2.8.12-2

      I don't know what I'm missing here ?

      Moreover doing a readelf -S mysqld | grep -i debug I found that the ELF is stripped and GDB will throw "No symbol table info available" how should I compile it with full debug any symbols ?

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              stefan2017 Stefan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: