Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails when enabled more than one job in make #19

Open
ligurio opened this issue Sep 24, 2020 · 1 comment
Open

Build fails when enabled more than one job in make #19

ligurio opened this issue Sep 24, 2020 · 1 comment
Labels

Comments

@ligurio
Copy link
Member

ligurio commented Sep 24, 2020

How-To reproduce:

$ mkdir build; cd build && cmake -DWITH_TESTING=ON ..
$ make -j

Workaround: run build with -j option.
I suspect this happens due to missed dependencies in CMakeLists.

Scanning dependencies of target clientlib                     
[100%] Building CXX object libmysql/CMakeFiles/clientlib.dir/libmysql.cc.o
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/errmsg.cc.o                                                      
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client.cc.o                                        
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.cc.o                                 
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_authentication.cc.o                         
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql-common/get_password.cc.o
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql-common/net_serv.cc.o                                      
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql/auth/sha2_password_common.cc.o                            
[105%] Building CXX object libmysql/CMakeFiles/clientlib.dir/__/sql/auth/password.cc.o                                        
[105%] Linking CXX static library ../archive_output_directory/libclientlib.a                                                  
[105%] Built target clientlib                                                                                                 
[105%] Generating ../archive_output_directory/perconaserverclient_depends.c                                                   
Scanning dependencies of target perconaserverclient                                                                           
[105%] Building C object libmysql/CMakeFiles/perconaserverclient.dir/__/archive_output_directory/perconaserverclient_depends.c
.o                                                             
[105%] Linking C static library ../archive_output_directory/libperconaserverclient.a                                          
Merging library perconaserverclient                                                                                           
[105%] Built target perconaserverclient                        
[  0%] Built target mysqlclient_build                          
make: *** [Makefile:141: all] Error 2   
@ligurio ligurio added the build label Sep 24, 2020
@Totktonada
Copy link
Member

May be related to tarantool/mysql-tarantool-replication#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants