[MDEV-9426] Server (TokuDB) does not build on OpenSUSE 42.1 Created: 2016-01-17  Updated: 2016-01-19  Resolved: 2016-01-19

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Storage Engine - TokuDB
Affects Version/s: 10.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

OpenSUSE Leap 42.1
4.1.13-5-default #1 SMP PREEMPT Thu Nov 26 16:35:17 UTC 2015 (49475c3) x86_64 x86_64 x86_64 GNU/Linux

cmake version 3.3.2
gcc (SUSE Linux) 4.8.5

CFLAGS="-std=gnu99"



 Description   

CFLAGS="-std=gnu99" (see MDEV-9427)
CMAKE . -DCMAKE_BUILD_TYPE=Debug && make

[ 81%] Building CXX object storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o
In file included from /src/10.1/zlib/zconf.h:12:0,
                 from /src/10.1/zlib/zlib.h:34,
                 from /src/10.1/storage/tokudb/PerconaFT/ft/serialize/compress.h:41,
                 from /src/10.1/storage/tokudb/PerconaFT/ft/serialize/sub_block.h:41,
                 from /src/10.1/storage/tokudb/PerconaFT/ft/txn/rollback.h:42,
                 from /src/10.1/storage/tokudb/PerconaFT/ft/logger/log.h:48,
                 from /src/10.1/storage/tokudb/PerconaFT/ft/ft.h:45,
                 from /src/10.1/storage/tokudb/PerconaFT/ft/ft-internal.h:47,
                 from /src/10.1/storage/tokudb/PerconaFT/ft/ft-flusher.h:41,
                 from /src/10.1/storage/tokudb/PerconaFT/src/ydb.cc:52:
/bld/10.1/include/config.h:690:2: error: #error <my_config.h> MUST be included first!
 #error <my_config.h> MUST be included first!
  ^
cc1plus: error: unrecognized command line option "-Wno-ignored-attributes" [-Werror]
cc1plus: all warnings being treated as errors
storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/build.make:62: recipe for target 'storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o' failed
make[2]: *** [storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/ydb.cc.o] Error 1
CMakeFiles/Makefile2:6237: recipe for target 'storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/all' failed
make[1]: *** [storage/tokudb/PerconaFT/src/CMakeFiles/tokudb_static_conv.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2



 Comments   
Comment by Elena Stepanova [ 2016-01-19 ]

Builds okay now, might have been some misconfiguration on a new machine.

Generated at Thu Feb 08 07:34:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.