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

LP #1590454: Percona Server 5.5/5.6 cannot be built with '-DMYSQL_MAINTAINER_MODE=ON'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Yura Sorokin last update 18-07-2016 14:52:35

      cmake \
      ../ercona-server \
      -DMYSQL_MAINTAINER_MODE=ON \
      -DBUILD_CONFIG=mysql_release \
      -DFEATURE_SET=community \
      -DWITH_EMBEDDED_SERVER=OFF \
      -DENABLE_DTRACE=OFF \
      -DWITH_EXAMPLE_STORAGE_ENGINE=1 \
      -DWITH_SSL=system

      5.5 output
      *********************************************************************************
      [ 31%] Building C object storage/innobase/CMakeFiles/innobase.dir/btr/btr0btr.c.o
      /home/yura/ws/tmp/ps-5.5/storage/innobase/btr/btr0btr.c: In function btr_corruption_report:
      /home/yura/ws/tmp/ps-5.5/storage/innobase/btr/btr0btr.c:79:2: error: null argument where non-null required (argument 1) [-Werror=nonnull]
      buf_page_print(buf_block_get_frame(block), 0, 0);
      ^
      cc1: all warnings being treated as errors
      make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/btr/btr0btr.c.o] Error 1
      make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
      make: *** [all] Error 2
      *********************************************************************************

      5.6 output
      *********************************************************************************
      [ 26%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0btr.cc.o
      In file included from /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc:27:0:
      /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc: In function ulint btr_height_get(dict_index_t*, mtr_t*):
      /home/yura/ws/tmp/ps-5.6/storage/innobase/include/btr0btr.h:323:66: error: null argument where non-null required (argument 1) [-Werror=nonnull]
      #define btr_page_get_level(page, mtr) btr_page_get_level_low(page)
      ^
      /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc:808:18: note: in expansion of macro btr_page_get_level
      height = btr_page_get_level(buf_block_get_frame(root_block), mtr);
      ^
      /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc: In function void btr_attach_half_pages(ulint, dict_index_t*, buf_block_t*, const rec_t*, buf_block_t*, ulint, mtr_t*):
      /home/yura/ws/tmp/ps-5.6/storage/innobase/include/btr0btr.h:323:66: error: null argument where non-null required (argument 1) [-Werror=nonnull]
      #define btr_page_get_level(page, mtr) btr_page_get_level_low(page)
      ^
      /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc:2758:10: note: in expansion of macro btr_page_get_level
      level = btr_page_get_level(buf_block_get_frame(block), mtr);
      ^
      /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc: In function void btr_discard_page(btr_cur_t*, mtr_t*):
      /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc:4134:66: error: null argument where non-null required (argument 1) [-Werror=nonnull]
      left_page_no = btr_page_get_prev(buf_block_get_frame(block), mtr);
      ^
      /home/yura/ws/tmp/ps-5.6/storage/innobase/btr/btr0btr.cc:4135:67: error: null argument where non-null required (argument 1) [-Werror=nonnull]
      right_page_no = btr_page_get_next(buf_block_get_frame(block), mtr);
      ^
      cc1plus: all warnings being treated as errors
      make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/btr/btr0btr.cc.o] Error 1
      make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
      make: *** [all] Error 2
      *********************************************************************************

        Smart Checklist

          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: