Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-2284

LP #1738171: Build error on FreeBSD with 5.6.38-83.0

    XMLWordPrintable

    Details

      Description

      **Reported in Launchpad by Thomas Babut last update 18-01-2018 13:30:42

      I am trying to update the FreeBSD port of the percona56-server to 5.6.38-83.0 but I get this build error:

      =========================================================================
      [ 62%] Building CXX object sql/CMakeFiles/sql.dir/sql_builtin.cc.o
      cd /usr/ports/databases/percona56-server/work/percona-server-5.6.38-83.0/sql && /usr/bin/c++ -DGTEST_USE_OWN_TR1_TUPLE=1 -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DHAVE_OPENSSL -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -I/usr/ports/databases/percona56-server/work/percona-server-5.6.38-83.0/include -I/usr/ports/databases/percona56-server/work/percona-server-5.6.38-83.0/sql -I/usr/ports/databases/percona56-server/work/percona-server-5.6.38-83.0/regex -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -O2 -pipe -fstack-protector -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1 -o CMakeFiles/sql.dir/sql_builtin.cc.o -c /usr/ports/databases/percona56-server/work/percona-server-5.6.38-83.0/sql/sql_builtin.cc
      In file included from /usr/ports/databases/percona56-server/work/percona-server-5.6.38-83.0/sql/sql_builtin.cc:16:
      /usr/ports/databases/percona56-server/work/percona-server-5.6.38-83.0/include/mysql/plugin.h:649:1: error:
      unknown type name 'int64_t'; did you mean 'uint64_t'?
      int64_t thd_get_query_id(const MYSQL_THD thd);
      ^~~~~~~
      uint64_t
      /usr/include/sys/endian.h:52:20: note: 'uint64_t' declared here
      typedef __uint64_t uint64_t;
      ^
      1 error generated.

          • Error code 1
            =========================================================================

      Prior versions with the same FreeBSD patch set are building successfully. I can provide more data if needed.

      Thanks in advance.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lpjirasync lpjirasync (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: