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

OQGRAPH/CONNECT won't compile using Homebrew

    Details

      Description

      The default Homebrew formula does not include several storage engines, notably OQGRAPH and CONNECT.

      I modified the formula to include an option for OQGRAPH and CONNECT:

      # diff mariadb.rb~ mariadb.rb
      19a20,21
      >   option "with-connect-storage-engine", "Compile with the CONNECT storage engine enabled"
      >   option "with-oqgraph-storage-engine", "Compile with the OQGRAPH storage engine enabled"
      90a93,98
      >     # Compile with CONNECT engine enabled if chosen
      >     args << "-DPLUGIN_CONNECT=YES" if build.with? "connect-storage-engine"
      > 
      >     # Compile with OQGRAPH engine enabled if chosen
      >     args << "-DPLUGIN_OQGRAPH=YES" if build.with? "oqgraph-storage-engine"
      > 
      

      and I run the edited formula, and get the following error output:

      # brew reinstall --with-connect-storage-engine --with-oqgraph-storage-engine mariadb
      ==> Reinstalling mariadb with --with-connect-storage-engine, --with-oqgraph-storage-engine
      ==> Downloading http://ftp.osuosl.org/pub/mariadb/mariadb-10.1.13/source/mariadb-10.1.13.tar.gz
      ######################################################################## 100.0%
      ==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mariadb/10.1.13 -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFIL
      ==> make
      Last 15 lines from /Users/jan/Library/Logs/Homebrew/mariadb/02.make:
      [ 93%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/ut/ut0rnd.cc.o
      cd /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase && /usr/local/Library/ENV/4.3/clang++   -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_SNAPPY=1 -DMYSQL_DYNAMIC_PLUGIN -DSIZEOF_PTHREAD_T=8 -Dinnobase_EXPORTS -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/handler -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/sql -I/usr/local/opt/openssl/include  -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -fPIC   -o CMakeFiles/innobase.dir/ut/ut0rnd.cc.o -c /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/ut/ut0rnd.cc
      [ 93%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/ut/ut0ut.cc.o
      cd /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase && /usr/local/Library/ENV/4.3/clang++   -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_SNAPPY=1 -DMYSQL_DYNAMIC_PLUGIN -DSIZEOF_PTHREAD_T=8 -Dinnobase_EXPORTS -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/handler -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/sql -I/usr/local/opt/openssl/include  -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -fPIC   -o CMakeFiles/innobase.dir/ut/ut0ut.cc.o -c /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/ut/ut0ut.cc
      [ 93%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/ut/ut0vec.cc.o
      cd /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase && /usr/local/Library/ENV/4.3/clang++   -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_SNAPPY=1 -DMYSQL_DYNAMIC_PLUGIN -DSIZEOF_PTHREAD_T=8 -Dinnobase_EXPORTS -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/handler -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/sql -I/usr/local/opt/openssl/include  -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -fPIC   -o CMakeFiles/innobase.dir/ut/ut0vec.cc.o -c /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/ut/ut0vec.cc
      [ 93%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/ut/ut0wqueue.cc.o
      cd /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase && /usr/local/Library/ENV/4.3/clang++   -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_SNAPPY=1 -DMYSQL_DYNAMIC_PLUGIN -DSIZEOF_PTHREAD_T=8 -Dinnobase_EXPORTS -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/handler -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/sql -I/usr/local/opt/openssl/include  -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -fPIC   -o CMakeFiles/innobase.dir/ut/ut0wqueue.cc.o -c /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/ut/ut0wqueue.cc
      [ 93%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/ut/ut0timer.cc.o
      cd /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase && /usr/local/Library/ENV/4.3/clang++   -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_SNAPPY=1 -DMYSQL_DYNAMIC_PLUGIN -DSIZEOF_PTHREAD_T=8 -Dinnobase_EXPORTS -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/include -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/handler -I/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/sql -I/usr/local/opt/openssl/include  -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -fPIC   -o CMakeFiles/innobase.dir/ut/ut0timer.cc.o -c /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase/ut/ut0timer.cc
      [ 93%] Linking CXX shared module ha_innodb.so
      cd /tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/storage/innobase && /usr/local/Cellar/cmake/3.5.1/bin/cmake -E cmake_link_script CMakeFiles/innobase.dir/link.txt --verbose=1
      /usr/local/Library/ENV/4.3/clang++   -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.10 -bundle -Wl,-headerpad_max_install_names  -o ha_innodb.so CMakeFiles/innobase.dir/api/api0api.cc.o CMakeFiles/innobase.dir/api/api0misc.cc.o CMakeFiles/innobase.dir/btr/btr0btr.cc.o CMakeFiles/innobase.dir/btr/btr0cur.cc.o CMakeFiles/innobase.dir/btr/btr0pcur.cc.o CMakeFiles/innobase.dir/btr/btr0scrub.cc.o CMakeFiles/innobase.dir/btr/btr0sea.cc.o CMakeFiles/innobase.dir/btr/btr0defragment.cc.o CMakeFiles/innobase.dir/buf/buf0buddy.cc.o CMakeFiles/innobase.dir/buf/buf0buf.cc.o CMakeFiles/innobase.dir/buf/buf0dblwr.cc.o CMakeFiles/innobase.dir/buf/buf0checksum.cc.o CMakeFiles/innobase.dir/buf/buf0dump.cc.o CMakeFiles/innobase.dir/buf/buf0flu.cc.o CMakeFiles/innobase.dir/buf/buf0lru.cc.o CMakeFiles/innobase.dir/buf/buf0rea.cc.o CMakeFiles/innobase.dir/buf/buf0mtflu.cc.o CMakeFiles/innobase.dir/data/data0data.cc.o CMakeFiles/innobase.dir/data/data0type.cc.o CMakeFiles/innobase.dir/dict/dict0boot.cc.o CMakeFiles/innobase.dir/dict/dict0crea.cc.o CMakeFiles/innobase.dir/dict/dict0dict.cc.o CMakeFiles/innobase.dir/dict/dict0load.cc.o CMakeFiles/innobase.dir/dict/dict0mem.cc.o CMakeFiles/innobase.dir/dict/dict0stats.cc.o CMakeFiles/innobase.dir/dict/dict0stats_bg.cc.o CMakeFiles/innobase.dir/dyn/dyn0dyn.cc.o CMakeFiles/innobase.dir/eval/eval0eval.cc.o CMakeFiles/innobase.dir/eval/eval0proc.cc.o CMakeFiles/innobase.dir/fil/fil0fil.cc.o CMakeFiles/innobase.dir/fil/fil0pagecompress.cc.o CMakeFiles/innobase.dir/fil/fil0crypt.cc.o CMakeFiles/innobase.dir/fsp/fsp0fsp.cc.o CMakeFiles/innobase.dir/fut/fut0fut.cc.o CMakeFiles/innobase.dir/fut/fut0lst.cc.o CMakeFiles/innobase.dir/ha/ha0ha.cc.o CMakeFiles/innobase.dir/ha/ha0storage.cc.o CMakeFiles/innobase.dir/ha/hash0hash.cc.o CMakeFiles/innobase.dir/fts/fts0fts.cc.o CMakeFiles/innobase.dir/fts/fts0ast.cc.o CMakeFiles/innobase.dir/fts/fts0blex.cc.o CMakeFiles/innobase.dir/fts/fts0config.cc.o CMakeFiles/innobase.dir/fts/fts0opt.cc.o CMakeFiles/innobase.dir/fts/fts0pars.cc.o CMakeFiles/innobase.dir/fts/fts0que.cc.o CMakeFiles/innobase.dir/fts/fts0sql.cc.o CMakeFiles/innobase.dir/fts/fts0tlex.cc.o CMakeFiles/innobase.dir/handler/ha_innodb.cc.o CMakeFiles/innobase.dir/handler/handler0alter.cc.o CMakeFiles/innobase.dir/handler/i_s.cc.o CMakeFiles/innobase.dir/ibuf/ibuf0ibuf.cc.o CMakeFiles/innobase.dir/lock/lock0iter.cc.o CMakeFiles/innobase.dir/lock/lock0lock.cc.o CMakeFiles/innobase.dir/lock/lock0wait.cc.o CMakeFiles/innobase.dir/log/log0log.cc.o CMakeFiles/innobase.dir/log/log0recv.cc.o CMakeFiles/innobase.dir/log/log0crypt.cc.o CMakeFiles/innobase.dir/mach/mach0data.cc.o CMakeFiles/innobase.dir/mem/mem0mem.cc.o CMakeFiles/innobase.dir/mem/mem0pool.cc.o CMakeFiles/innobase.dir/mtr/mtr0log.cc.o CMakeFiles/innobase.dir/mtr/mtr0mtr.cc.o CMakeFiles/innobase.dir/os/os0file.cc.o CMakeFiles/innobase.dir/os/os0proc.cc.o CMakeFiles/innobase.dir/os/os0sync.cc.o CMakeFiles/innobase.dir/os/os0thread.cc.o CMakeFiles/innobase.dir/page/page0cur.cc.o CMakeFiles/innobase.dir/page/page0page.cc.o CMakeFiles/innobase.dir/page/page0zip.cc.o CMakeFiles/innobase.dir/pars/lexyy.cc.o CMakeFiles/innobase.dir/pars/pars0grm.cc.o CMakeFiles/innobase.dir/pars/pars0opt.cc.o CMakeFiles/innobase.dir/pars/pars0pars.cc.o CMakeFiles/innobase.dir/pars/pars0sym.cc.o CMakeFiles/innobase.dir/que/que0que.cc.o CMakeFiles/innobase.dir/read/read0read.cc.o CMakeFiles/innobase.dir/rem/rem0cmp.cc.o CMakeFiles/innobase.dir/rem/rem0rec.cc.o CMakeFiles/innobase.dir/row/row0ext.cc.o CMakeFiles/innobase.dir/row/row0ftsort.cc.o CMakeFiles/innobase.dir/row/row0import.cc.o CMakeFiles/innobase.dir/row/row0ins.cc.o CMakeFiles/innobase.dir/row/row0merge.cc.o CMakeFiles/innobase.dir/row/row0mysql.cc.o CMakeFiles/innobase.dir/row/row0log.cc.o CMakeFiles/innobase.dir/row/row0purge.cc.o CMakeFiles/innobase.dir/row/row0row.cc.o CMakeFiles/innobase.dir/row/row0sel.cc.o CMakeFiles/innobase.dir/row/row0uins.cc.o CMakeFiles/innobase.dir/row/row0umod.cc.o CMakeFiles/innobase.dir/row/row0undo.cc.o CMakeFiles/innobase.dir/row/row0upd.cc.o CMakeFiles/innobase.dir/row/row0quiesce.cc.o CMakeFiles/innobase.dir/row/row0vers.cc.o CMakeFiles/innobase.dir/srv/srv0conc.cc.o CMakeFiles/innobase.dir/srv/srv0mon.cc.o CMakeFiles/innobase.dir/srv/srv0srv.cc.o CMakeFiles/innobase.dir/srv/srv0start.cc.o CMakeFiles/innobase.dir/sync/sync0arr.cc.o CMakeFiles/innobase.dir/sync/sync0rw.cc.o CMakeFiles/innobase.dir/sync/sync0sync.cc.o CMakeFiles/innobase.dir/trx/trx0i_s.cc.o CMakeFiles/innobase.dir/trx/trx0purge.cc.o CMakeFiles/innobase.dir/trx/trx0rec.cc.o CMakeFiles/innobase.dir/trx/trx0roll.cc.o CMakeFiles/innobase.dir/trx/trx0rseg.cc.o CMakeFiles/innobase.dir/trx/trx0sys.cc.o CMakeFiles/innobase.dir/trx/trx0trx.cc.o CMakeFiles/innobase.dir/trx/trx0undo.cc.o CMakeFiles/innobase.dir/usr/usr0sess.cc.o CMakeFiles/innobase.dir/ut/ut0bh.cc.o CMakeFiles/innobase.dir/ut/ut0byte.cc.o CMakeFiles/innobase.dir/ut/ut0crc32.cc.o CMakeFiles/innobase.dir/ut/ut0dbg.cc.o CMakeFiles/innobase.dir/ut/ut0list.cc.o CMakeFiles/innobase.dir/ut/ut0mem.cc.o CMakeFiles/innobase.dir/ut/ut0rbt.cc.o CMakeFiles/innobase.dir/ut/ut0rnd.cc.o CMakeFiles/innobase.dir/ut/ut0ut.cc.o CMakeFiles/innobase.dir/ut/ut0vec.cc.o CMakeFiles/innobase.dir/ut/ut0wqueue.cc.o CMakeFiles/innobase.dir/ut/ut0timer.cc.o -llz4 -llzma -lbz2 -lsnappy ../../libservices/libmysqlservices.a /usr/lib/libz.dylib -Wl,-bundle_loader,/tmp/mariadb20160411-45289-gdmvgu/mariadb-10.1.13/sql/mysqld 
      [ 93%] Built target innobase
      make: *** [all] Error 2
       
      READ THIS: https://git.io/brew-troubleshooting
      If reporting this issue please do so at (not Homebrew/brew):
        https://github.com/Homebrew/homebrew-core/issues
      
      

      I got similar results leaving out OQGRAPH, in other words, with only "--with-connect-storage-engine".

      I would REALLY like to use these storage engines! Is there some work-around to the Homebrew problem?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Bytesmiths Jan Steinman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: