[MCOL-142] mariadb-columnstore-engine build problem on Fedora 23 Created: 2016-06-15  Updated: 2016-09-13  Resolved: 2016-09-13

Status: Closed
Project: MariaDB ColumnStore
Component/s: Build
Affects Version/s: 1.0.1
Fix Version/s: 1.0.3

Type: Bug Priority: Minor
Reporter: Valerii Kravchuk Assignee: Andrew Hutchings (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Fedora 23 64-bit



 Description   

I tried to build ColumnStore from GitHub (build-fxes branch), server built without issues, but then I tried these:

cd mariadb-columnstore-engine
build/bootstrap
./configure 
make

and make failed as follows:

...
Running Mkbootstrap for NetSNMP::default_store ()
chmod 644 "default_store.bs"
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -prototypes -typemap "/usr/share/perl5/ExtUtils/typemap" -typemap "typemap"  default_store.xs > default_store.xsc && mv default_store.xsc default_store.c
gcc -c   -I../../include -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux -I. -I/usr/local/mariadb/columnstore/include -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"5.0703\" -DXS_VERSION=\"5.0703\" -fPIC "-I/usr/lib64/perl5/CORE"   default_store.c
cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1: some warnings being treated as errors
Makefile:320: recipe for target 'default_store.o' failed
make[4]: *** [default_store.o] Error 1
make[4]: Leaving directory '/home/openxs/git/mariadb-columnstore-server/mariadb-columnstore-engine/net-snmp/net-snmp-5.7.3/perl/default_store'
Makefile:483: recipe for target 'subdirs' failed
make[3]: *** [subdirs] Error 2



 Comments   
Comment by Dipti Joshi (Inactive) [ 2016-06-15 ]

valerii Thanks for testing this build process.
Officially this release if for CentOS 6 and CentOS 7. Fedora is not officially supported.

This build process is yet to be tested by the ColumnStore engineering team - especially with respect to post install process of postConfigure step and regression testing - so letting you know that things are likely to be broken even after you may get the build to work. Until we have officially made available the binaries built and regression tested using this build process, please expect that the post configuration or database operations are not guaranteed to work.

Comment by Dipti Joshi (Inactive) [ 2016-08-30 ]

openxs Changing this to minor for now, as Fedora is not officially supported OS - so we are not testing it ourselves.. A lot has improved since 1.0.1 in build process. You may want to try to build with the latest 1.0.2 to see if it works for you on Fedora.

Comment by Valerii Kravchuk [ 2016-08-31 ]

I've got the same problem with current code:

cp Makefile.subs.pl blib/lib/Bundle/Makefile.subs.pl
cp default_store.pm ../blib/lib/NetSNMP/default_store.pm
AutoSplitting ../blib/lib/NetSNMP/default_store.pm (../blib/lib/auto/NetSNMP/default_store)
Running Mkbootstrap for NetSNMP::default_store ()
cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]
cc1: some warnings being treated as errors
Makefile:320: recipe for target 'default_store.o' failed
make[5]: *** [default_store.o] Error 1
Makefile:483: recipe for target 'subdirs' failed
make[4]: *** [subdirs] Error 2
Makefile:295: recipe for target 'perlmodules' failed
make[3]: *** [perlmodules] Error 1
CMakeFiles/libnetsnmpmibs.dir/build.make:110: recipe for target 'libnetsnmpmibs-prefix/src/libnetsnmpmibs-stamp/libnetsnmpmibs-build' failed
make[2]: *** [libnetsnmpmibs-prefix/src/libnetsnmpmibs-stamp/libnetsnmpmibs-build] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/libnetsnmpmibs.dir/all' failed
make[1]: *** [CMakeFiles/libnetsnmpmibs.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
 
...
 
[openxs@fc23 mariadb-columnstore-engine]$ git log -1
commit 5216cf5526648cfe1943d9b65dd84d82e3a5a54b
Merge: 2ca70ef d1d87ac
Author: david hill <david.hill@mariadb.com>
Date:   Wed Aug 24 09:46:59 2016 -0500
 
    1.0.2 merge for readme updates
[openxs@fc23 mariadb-columnstore-engine]$ git branch
* master
[openxs@fc23 mariadb-columnstore-engine]$ fc -l
...
1010     git clone https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
1011     cd mariadb-columnstore-engine/
1012     cmake .
1013     time make
1014     git log -1
1015     git branch
 

Comment by Andrew Hutchings (Inactive) [ 2016-09-13 ]

This will be fixed as part of MCOL-97. Closing as such

Comment by Andrew Hutchings (Inactive) [ 2016-09-13 ]

Closing as duplicate

Generated at Thu Feb 08 02:18:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.