Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4147

Build failure on FreeBSD

    XMLWordPrintable

Details

    Description

      The ColumnStore storage plugin cannot build on FreeBSD

      FAILED: storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/cgroupconfigurator.cpp.o                                           
      /usr/bin/c++  -DDBUG_TRACE -DHAVE_CONFIG_H -Dcommon_EXPORTS -Iwsrep-lib/include -Iwsrep-lib/wsrep-API/v26 -Iinclude -Istorage/columnstore/colu
      mnstore -Istorage/columnstore/columnstore/utils/common/. -Istorage/columnstore/columnstore/utils/common/.. -Istorage/columnstore/columnstore/u
      tils/common/../.. -Istorage/columnstore/columnstore/utils/messageqcpp -Istorage/columnstore/columnstore/writeengine/shared -Istorage/columnstore/columnstore/utils/idbdatafile -Istorage/columnstore/columnstore/utils/loggingcpp -Istorage/columnstore/columnstore/utils/configcpp -Istorage/columnstore/columnstore/utils/compress -Istorage/columnstore/columnstore/versioning/BRM -Istorage/columnstore/columnstore/utils/rowgroup -Istorage/columnstore/columnstore/utils/common -Istorage/columnstore/columnstore/utils/dataconvert -Istorage/columnstore/columnstore/utils/rwlock -Istorage/columnstore/columnstore/utils/funcexp -Istorage/columnstore/columnstore/oamapps/alarmmanager -Istorage/columnstore/columnstore/utils -Istorage/columnstore/columnstore/oam/oamcpp -Istorage/columnstore/columnstore/dbcon/ddlpackageproc -Istorage/columnstore/columnstore/dbcon/ddlpackage -Istorage/columnstore/columnstore/dbcon/execplan -Istorage/columnstore/columnstore/utils/startup -Istorage/columnstore/columnstore/dbcon/joblist -Istorage/columnstore/columnstore/writeengine/wrapper -Istorage/columnstore/columnstore/writeengine/server -Istorage/columnstore/columnstore/dbcon/dmlpackage -Istorage/columnstore/columnstore/writeengine/client -Istorage/columnstore/columnstore/dbcon/dmlpackageproc -Istorage/columnstore/columnstore/utils/cacheutils -Istorage/columnstore/columnstore/utils/mysqlcl_idb -Istorage/columnstore/columnstore/utils/querytele -Istorage/columnstore/columnstore/utils/thrift -Istorage/columnstore/columnstore/utils/joiner -Istorage/columnstore/columnstore/utils/threadpool -Istorage/columnstore/columnstore/utils/batchloader -Istorage/columnstore/columnstore/utils/ddlcleanup -Istorage/columnstore/columnstore/utils/querystats -Istorage/columnstore/columnstore/writeengine/xml -Isql -Iinclude/../pcre -Istorage/columnstore/columnstore/utils/udfsdk -Istorage/columnstore/columnstore/utils/libmysql_client -I/usr/local/include/editline -I/usr/local/include/libxml2 -O2 -pipe -march=native -L/usr/local/lib -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -DCOLUMNSTORE_MATURITY=MariaDB_PLUGIN_MATURITY_BETA -O2 -pipe -march=native -L/usr/local/lib -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -DDBUG_OFF -fPIC   -std=c++11 -MD -MT storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/cgroupconfigurator.cpp.o -MF storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/cgroupconfigurator.cpp.o.d -o storage/columnstore/columnstore/utils/common/CMakeFiles/common.dir/cgroupconfigurator.cpp.o -c storage/columnstore/columnstore/utils/common/cgroupconfigurator.cpp
      c++: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
      c++: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
      In file included from storage/columnstore/columnstore/utils/common/cgroupconfigurator.cpp:20:
      In file included from storage/columnstore/columnstore/utils/loggingcpp/logger.h:32:
      storage/columnstore/columnstore/utils/loggingcpp/messageobj.h:162:24: error: 'swap<logging::Message>' is missing exception specification 'noexcept(is_nothrow_move_constructible<Message>::value && is_nothrow_move_assignable<Message>::value)'
      template<> inline void swap<logging::Message>(logging::Message& lhs, logging::Message& rhs)
                             ^
                                                                                                  noexcept(is_nothrow_move_constructible<Message>::value && is_nothrow_move_assignable<Message>::value)
      storage/columnstore/columnstore/utils/loggingcpp/messageobj.h:162:24: note: previous declaration is here
      storage/columnstore/columnstore/utils/common/cgroupconfigurator.cpp:28:10: fatal error: 'sys/sysinfo.h' file not found
      #include <sys/sysinfo.h>
               ^~~~~~~~~~~~~~~
      2 errors generated.
      

      There is no sysinfo.h on FreeBSD, that is a Linux thing.

      Attachments

        Activity

          People

            Unassigned Unassigned
            spil Bernard Spil
            Votes:
            1 Vote for this issue
            Watchers:
            2 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.