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

cmake insufficent dependency between perf schema and sql_yacc.h

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • 10.2.3
    • N/A
    • Compiling
    • None

    Description

       
      + cmake /source -DCMAKE_BUILD_TYPE=Release -DBUILD_CONFIG=mysql_release -DWITH_PROTOBUF=system -DWITH_NDB_JAVA=NO -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 '-DCMAKE_C_FLAGS_RELWITHDEBINFO=-m64 -O3 -g -mtune=native' '-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-m64 -O3 -g -mtune=native' '-DCMAKE_C_FLAGS=-m64 -O3 -g -mtune=native' '-DCMAKE_CXX_FLAGS=-m64 -O3 -g -mtune=native' -DWITH_SSL=system -DCMAKE_INSTALL_PREFIX=/mysql/mariadb-upstream-Release-10.1 -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 -DWITHOUT_FEDERATEDX_STORAGE_ENGINE=1 -DWITHOUT_TOKUDB_STORAGE_ENGINE=1
      ...
      ...
      + make -j48 --output-sync=target VERBOSE=1
      ....
      ...
      [ 37%] Building CXX object storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o
      cd /build/build/storage/perfschema && ccache /usr/bin/g++-6   -DHAVE_CONFIG_H -DHAVE_SYSTEMD -DMYSQL_SERVER -I/build/build/include -I/source -I/source/include -I/source/sql -I/build/build/sql -I/build/build/pcre -I/source/pcre -I/source/zlib  -m64 -O3 -g -mtune=native -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O3 -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF   -fPIC -fvisibility=hidden -o CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o -c /source/storage/perfschema/pfs_digest.cc
      In file included from /source/sql/sql_class.h:495:0,
                       from /source/sql/sql_acl.h:21,
                       from /source/storage/perfschema/pfs_engine_table.h:19,
                       from /source/storage/perfschema/table_helper.h:22,
                       from /source/storage/perfschema/pfs_digest.cc:32:
      /source/sql/sql_lex.h:132:22: fatal error: sql_yacc.h: No such file or directory
       #include "sql_yacc.h"
                            ^
      compilation terminated.
      storage/perfschema/CMakeFiles/perfschema_embedded.dir/build.make:326: recipe for target 'storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o' failed
      make[2]: *** [storage/perfschema/CMakeFiles/perfschema_embedded.dir/pfs_digest.cc.o] Error 1
      make[2]: Leaving directory '/build/build'
      make[2]: *** Waiting for unfinished jobs....
      make[2]: Entering directory '/build/build'
       
      ....
       
      [  8%] Generating sql_yacc.cc, sql_yacc.h
      cd /build/build/sql && /usr/bin/bison -y -p MYSQL --output=/build/build/sql/sql_yacc.cc --defines=/build/build/sql/sql_yacc.h /source/sql/sql_yacc.yy
      /source/sql/sql_yacc.yy:1025.1-12: warning: deprecated directive, use '%pure-parser' [-Wdeprecated]
       %pure_parser                                    /* We have threads */
       ^^^^^^^^^^^^
      

      The 37% build finished before the job started at 8%.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            danblack Daniel Black
            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.