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 added a comment -

          I believe this is now a duplicate report of MDEV-12261 which was fixed

          grknight Brian Evans added a comment - I believe this is now a duplicate report of MDEV-12261 which was fixed

          Probably. But I've only tested MDEV-12261 without performance schema, not without server. I'll test without server, just in case, and then close.

          serg Sergei Golubchik added a comment - Probably. But I've only tested MDEV-12261 without performance schema, not without server. I'll test without server, just in case, and then close.
          spil Bernard Spil added a comment - - edited

          This issue is also present in 5.5.55

          [ 17%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.o
          cd /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/strings && /usr/bin/cc  -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -I/usr/local/include -I/usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/include -O2 -fno-strict-aliasing -pipe -march=native  -fstack-protector -O2 -fno-strict-aliasing -pipe -march=native  -fstack-protector -DDBUG_OFF   -fPIC -o CMakeFiles/strings.dir/ctype-simple.c.o   -c /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/strings/ctype-simple.c
          In file included from /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/strings/ctype-simple.c:19:
          /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/include/my_sys.h:583:43: error: unknown type name
                'PSI_file_key'
          extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name,
                                                    ^
          

          spil Bernard Spil added a comment - - edited This issue is also present in 5.5.55 [ 17%] Building C object strings/CMakeFiles/strings.dir/ctype-simple.c.o cd /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/strings && /usr/bin/cc -DDISABLE_MYSQL_THREAD_H -DHAVE_CONFIG_H -I/usr/local/include -I/usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/include -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -O2 -fno-strict-aliasing -pipe -march=native -fstack-protector -DDBUG_OFF -fPIC -o CMakeFiles/strings.dir/ctype-simple.c.o -c /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/strings/ctype-simple.c In file included from /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/strings/ctype-simple.c:19: /usr/ports/databases/mariadb55-client/work/mariadb-5.5.55/include/my_sys.h:583:43: error: unknown type name 'PSI_file_key' extern int my_handler_delete_with_symlink(PSI_file_key key, const char *name, ^
          spil Bernard Spil added a comment -

          Confirm building of mariadb 5.5.55 client with -DWITHOUT_SERVER

          spil Bernard Spil added a comment - Confirm building of mariadb 5.5.55 client with -DWITHOUT_SERVER

          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.