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

include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’" when -DWITHOUT_SERVER=1

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.30
    • 5.5.56, 10.0.31
    • Compiling
    • None
    • Gentoo

    Description

      Compiling errors out fairly quickly with -DWITHOUT_SERVER=1 with 10.0.30

      Error is below and a full log is attached.

      [  5%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.o
      cd /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/strings && /usr/bin/x86_64-pc-linux-gnu-gcc  -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/include -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include   -O2 -pipe -g -fno-strict-aliasing -DNDEBUG -DDBUG_OFF   -fPIC -o CMakeFiles/strings.dir/ctype-simple.c.o -c /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c
      In file included from /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c:19:0:
      /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’
       extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name,
      

      Attachments

        Activity

          grknight Brian Evans created issue -
          grknight Brian Evans made changes -
          Field Original Value New Value
          Description Compiling errors out fairly quickly with -DWITHOUT_SERVER=1 with 10.0.30

          Error is below and a full log is attached.
          {{noformat}}
          [ 5%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.o
          cd /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/strings && /usr/bin/x86_64-pc-linux-gnu-gcc -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/include -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include -O2 -pipe -g -fno-strict-aliasing -DNDEBUG -DDBUG_OFF -fPIC -o CMakeFiles/strings.dir/ctype-simple.c.o -c /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c
          In file included from /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c:19:0:
          /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’
           extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name,
          {{noformat}}
          Compiling errors out fairly quickly with -DWITHOUT_SERVER=1 with 10.0.30

          Error is below and a full log is attached.
          {{noformat}}
          [ 5%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.o
          cd /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/strings && /usr/bin/x86_64-pc-linux-gnu-gcc -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/include -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include -O2 -pipe -g -fno-strict-aliasing -DNDEBUG -DDBUG_OFF -fPIC -o CMakeFiles/strings.dir/ctype-simple.c.o -c /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c
          In file included from /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c:19:0:
          /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’
           extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name,
          {{noformat}}
          grknight Brian Evans made changes -
          Description Compiling errors out fairly quickly with -DWITHOUT_SERVER=1 with 10.0.30

          Error is below and a full log is attached.
          {{noformat}}
          [ 5%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.o
          cd /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/strings && /usr/bin/x86_64-pc-linux-gnu-gcc -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/include -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include -O2 -pipe -g -fno-strict-aliasing -DNDEBUG -DDBUG_OFF -fPIC -o CMakeFiles/strings.dir/ctype-simple.c.o -c /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c
          In file included from /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c:19:0:
          /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’
           extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name,
          {{noformat}}
          Compiling errors out fairly quickly with -DWITHOUT_SERVER=1 with 10.0.30

          Error is below and a full log is attached.
          {noformat}
          [ 5%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.o
          cd /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/strings && /usr/bin/x86_64-pc-linux-gnu-gcc -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql-abi_x86_64.amd64/include -I/var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include -O2 -pipe -g -fno-strict-aliasing -DNDEBUG -DDBUG_OFF -fPIC -o CMakeFiles/strings.dir/ctype-simple.c.o -c /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c
          In file included from /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/strings/ctype-simple.c:19:0:
          /var/tmp/portage/dev-db/mariadb-10.0.30/work/mysql/include/my_sys.h:600:43: error: unknown type name ‘PSI_file_key’
           extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name,
          {noformat}
          elenst Elena Stepanova made changes -
          Fix Version/s 10.0 [ 16000 ]
          Assignee Sergei Golubchik [ serg ]
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5 [ 15800 ]
          serg Sergei Golubchik made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          serg Sergei Golubchik made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5.56 [ 22505 ]
          Fix Version/s 10.0.31 [ 22501 ]
          Fix Version/s 5.5 [ 15800 ]
          Fix Version/s 10.0 [ 16000 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 79930 ] MariaDB v4 [ 151797 ]

          People

            serg Sergei Golubchik
            grknight Brian Evans
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.