← Back to team overview

maria-discuss team mailing list archive

Re: how to build MariaDB from source

 

ok, some screen pages above "/home/builduser/rpmbuild/BUILD/mariadb-10.2.6/storage/innobase/include/ut0new.h:334:27: error: exception handling disabled, use -fexceptions to enable" - i exptect that to fail from a sane build system at that point

now:

/usr/bin/ranlib libaria.a
make[2]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.2.6'
[ 70%] Built target aria
make[1]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.2.6'
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.s3IvPg (%build)


Fehler beim Bauen des RPM:
    Fehler-Status beim Beenden von /var/tmp/rpm-tmp.s3IvPg (%build)
_____________________________________________

i guess the culprit now is tha *once again* "-DPLUGIN_PARTITION=NO" break sthe whole build

/home/builduser/rpmbuild/BUILD/mariadb-10.2.6/storage/innobase/handler/handler0alter.cc: In member function 'virtual enum_alter_inplace_result ha_innobase::check_if_supported_inplace_alter(TABLE*, Alter_inplace_info*)': /home/builduser/rpmbuild/BUILD/mariadb-10.2.6/storage/innobase/handler/handler0alter.cc:768:29: error: 'struct TABLE_SHARE' has no member named 'partition_info_str'
       || (altered_table->s->partition_info_str
                             ^~~~~~~~~~~~~~~~~~
/home/builduser/rpmbuild/BUILD/mariadb-10.2.6/storage/innobase/handler/handler0alter.cc:769:25: error: 'struct TABLE_SHARE' has no member named 'partition_info_str_len'
    && altered_table->s->partition_info_str_len)
                         ^~~~~~~~~~~~~~~~~~~~~~
_____________________________________________

Am 02.07.2017 um 19:05 schrieb Reindl Harald:
i get tired - "-DPLUGIN_INNODB=YES" leads to failures at configure time - each time the same dance when the version changes

well, when remove that thinking since xtradb is now dead it will be default enabled leads finally still to a build-failure with not mentioning really where and why - can we please have back "configure && make && make install" with "./configure --help" back for peace of mind
_______________________________

[ 53%] Linking CXX static library libmyisammrg.a

*why* at all when i say "-DPLUGIN_MYISAMMRG=NO" but remove it does still make no difference
_______________________________

cmake . \
  -DFEATURE_SET="large" \
  -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
  -DINSTALL_INCLUDEDIR=include/mysql \
  -DINSTALL_LAYOUT=RPM \
  -DINSTALL_LIBDIR="%{_lib}/mysql" \
  -DINSTALL_MANDIR=share/man \
  -DINSTALL_MYSQLSHAREDIR=share/mysql \
  -DINSTALL_MYSQLTESTDIR=share/mysql-test \
  -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
  -DINSTALL_SBINDIR=libexec \
  -DINSTALL_SCRIPTDIR=bin \
  -DINSTALL_SQLBENCHDIR= \
  -DINSTALL_SUPPORTFILESDIR=share/mysql \
  -DMYSQL_DATADIR="%{_sharedstatedir}/mysql" \
  -DMYSQL_UNIX_ADDR="%{_sharedstatedir}/mysql/mysql.sock" \
  -DENABLED_PROFILING=OFF \
  -DENABLE_DEBUG_SYNC=OFF \
  -DENABLE_DTRACE=OFF \
  -DPLUGIN_ARIA=YES \
  -DPLUGIN_CSV=YES \
  -DPLUGIN_MYISAM=YES \
  -DPLUGIN_ARCHIVE=NO \
  -DPLUGIN_BLACKHOLE=NO \
  -DPLUGIN_CASSANDRA=NO \
  -DPLUGIN_CONNECT=NO \
  -DPLUGIN_EXAMPLE=NO \
  -DPLUGIN_FEDERATED=NO \
  -DPLUGIN_FEDERATEDX=NO \
  -DPLUGIN_FEEDBACK=NO \
  -DPLUGIN_MROONGA=NO \
  -DPLUGIN_MYISAMMRG=NO \
  -DPLUGIN_OQGRAPH=NO \
  -DPLUGIN_PARTITION=NO \
  -DPLUGIN_PERFSCHEMA=NO \
  -DPLUGIN_SEMISYNC=NO \
  -DPLUGIN_SEQUENCE=NO \
  -DPLUGIN_SPHINX=NO \
  -DPLUGIN_SPIDER=NO \
  -DPLUGIN_TOKUDB=NO \
  -DPLUGIN_XTRADB=NO \
  -DWITHOUT_DYNAMIC_PLUGINS=ON \
  -DWITH_ATOMIC_OPS=smp \
  -DWITH_EMBEDDED_SERVER=OFF \
  -DWITH_INNODB_DISALLOW_WRITES=OFF \
  -DWITH_INNODB_BZIP2=OFF \
  -DWITH_INNODB_LZ4=OFF \
  -DWITH_INNODB_LZMA=OFF \
  -DWITH_INNODB_LZO=OFF \
  -DSECURITY_HARDENED=OFF \
  -DWITH_LIBWRAP=OFF \
  -DWITH_MARIABACKUP=OFF \
  -DWITH_PIC=NO \
  -DWITH_READLINE=OFF \
  -DWITH_SAFEMALLOC=OFF \
  -DWITH_SYSTEMD=OFF \
  -DWITH_VALGRIND=OFF \
  -DWITH_WSREP=OFF \
  -DWITH_JEMALLOC=system \
  -DWITH_SSL=system \
  -DWITH_ZLIB=system \
  -DCOMPILATION_COMMENT="thelounge"


cd /home/builduser/rpmbuild/BUILD/mariadb-10.2.6/storage/myisam && /usr/bin/cmake -P CMakeFiles/myisam.dir/cmake_clean_target.cmake cd /home/builduser/rpmbuild/BUILD/mariadb-10.2.6/storage/myisam && /usr/bin/cmake -E cmake_link_script CMakeFiles/myisam.dir/link.txt --verbose=1 /usr/bin/ar qc libmyisam.a CMakeFiles/myisam.dir/ft_boolean_search.c.o CMakeFiles/myisam.dir/ft_nlq_search.c.o CMakeFiles/myisam.dir/ft_parser.c.o CMakeFiles/myisam.dir/ft_static.c.o CMakeFiles/myisam.dir/ha_myisam.cc.o CMakeFiles/myisam.dir/ft_myisam.c.o CMakeFiles/myisam.dir/ft_stopwords.c.o CMakeFiles/myisam.dir/ft_update.c.o CMakeFiles/myisam.dir/mi_cache.c.o CMakeFiles/myisam.dir/mi_changed.c.o CMakeFiles/myisam.dir/mi_check.c.o CMakeFiles/myisam.dir/mi_checksum.c.o CMakeFiles/myisam.dir/mi_close.c.o CMakeFiles/myisam.dir/mi_create.c.o CMakeFiles/myisam.dir/mi_dbug.c.o CMakeFiles/myisam.dir/mi_delete.c.o CMakeFiles/myisam.dir/mi_delete_all.c.o CMakeFiles/myisam.dir/mi_delete_table.c.o CMakeFiles/myisam.dir/mi_dynrec.c.o CMakeFiles/myisam.dir/mi_extra.c.o CMakeFiles/myisam.dir/mi_info.c.o CMakeFiles/myisam.dir/mi_key.c.o CMakeFiles/myisam.dir/mi_keycache.c.o CMakeFiles/myisam.dir/mi_locking.c.o CMakeFiles/myisam.dir/mi_log.c.o CMakeFiles/myisam.dir/mi_open.c.o CMakeFiles/myisam.dir/mi_packrec.c.o CMakeFiles/myisam.dir/mi_page.c.o CMakeFiles/myisam.dir/mi_panic.c.o CMakeFiles/myisam.dir/mi_preload.c.o CMakeFiles/myisam.dir/mi_range.c.o CMakeFiles/myisam.dir/mi_rename.c.o CMakeFiles/myisam.dir/mi_rfirst.c.o CMakeFiles/myisam.dir/mi_rlast.c.o CMakeFiles/myisam.dir/mi_rnext.c.o CMakeFiles/myisam.dir/mi_rnext_same.c.o CMakeFiles/myisam.dir/mi_rprev.c.o CMakeFiles/myisam.dir/mi_rrnd.c.o CMakeFiles/myisam.dir/mi_rsame.c.o CMakeFiles/myisam.dir/mi_rsamepos.c.o CMakeFiles/myisam.dir/mi_scan.c.o CMakeFiles/myisam.dir/mi_search.c.o CMakeFiles/myisam.dir/mi_static.c.o CMakeFiles/myisam.dir/mi_statrec.c.o CMakeFiles/myisam.dir/mi_unique.c.o CMakeFiles/myisam.dir/mi_update.c.o CMakeFiles/myisam.dir/mi_write.c.o CMakeFiles/myisam.dir/rt_index.c.o CMakeFiles/myisam.dir/rt_key.c.o CMakeFiles/myisam.dir/rt_mbr.c.o CMakeFiles/myisam.dir/rt_split.c.o CMakeFiles/myisam.dir/sort.c.o CMakeFiles/myisam.dir/sp_key.c.o CMakeFiles/myisam.dir/mi_rkey.c.o
/usr/bin/ranlib libmyisam.a
make[2]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.2.6'
[ 52%] Built target myisam
make[1]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.2.6'
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.Qwgvnq (%build)


Fehler beim Bauen des RPM:
     Fehler-Status beim Beenden von /var/tmp/rpm-tmp.Qwgvnq (%build)


_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp

--

Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / CISO / Software-Development
m: +43 676 40 221 40
p: +43 1 595 3999 33
http://www.thelounge.net/


Follow ups

References