ECP-VeloC/VELOC

can't build with AXL 4.0.0

Closed this issue · 4 comments

This commit broke veloc

-- Build files have been written to: /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5_build                                                                                                                                         
>>> Source configured.                                                                                                                                                                                                                      
>>> Compiling source in /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5 ...                                                                                                                                                        
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5"                                                                                                                                             
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5_build"                                                                                                                                       
ninja -v -j12 -l12                                                                                                                                                                                                                          
[1/25] /usr/bin/x86_64-pc-linux-gnu-g++ -D__ASSERT -D__BENCHMARK -D__INFO -Dveloc_modules_EXPORTS -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5 -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src  -Os -pipe -marc
h=native -frecord-gcc-switches -fPIC   -Wall -std=gnu++14 -MD -MT src/modules/CMakeFiles/veloc-modules.dir/module_manager.cpp.o -MF src/modules/CMakeFiles/veloc-modules.dir/module_manager.cpp.o.d -o src/modules/CMakeFiles/veloc-modules.
dir/module_manager.cpp.o -c /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/module_manager.cpp                                                                                                                         
[2/25] /usr/bin/x86_64-pc-linux-gnu-g++ -D__ASSERT -D__BENCHMARK -D__INFO -Dveloc_modules_EXPORTS -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5 -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src  -Os -pipe -marc
h=native -frecord-gcc-switches -fPIC   -Wall -std=gnu++14 -MD -MT src/modules/CMakeFiles/veloc-modules.dir/client_watchdog.cpp.o -MF src/modules/CMakeFiles/veloc-modules.dir/client_watchdog.cpp.o.d -o src/modules/CMakeFiles/veloc-module
s.dir/client_watchdog.cpp.o -c /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/client_watchdog.cpp                                                                                                                     
[3/25] /usr/bin/x86_64-pc-linux-gnu-g++ -D__ASSERT -D__BENCHMARK -D__INFO -Dveloc_modules_EXPORTS -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5 -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src  -Os -pipe -marc
h=native -frecord-gcc-switches -fPIC   -Wall -std=gnu++14 -MD -MT src/modules/CMakeFiles/veloc-modules.dir/transfer_module.cpp.o -MF src/modules/CMakeFiles/veloc-modules.dir/transfer_module.cpp.o.d -o src/modules/CMakeFiles/veloc-module
s.dir/transfer_module.cpp.o -c /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp                                                                                                                     
FAILED: src/modules/CMakeFiles/veloc-modules.dir/transfer_module.cpp.o                                                                                                                                                                      
/usr/bin/x86_64-pc-linux-gnu-g++ -D__ASSERT -D__BENCHMARK -D__INFO -Dveloc_modules_EXPORTS -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5 -I/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src  -Os -pipe -march=nativ
e -frecord-gcc-switches -fPIC   -Wall -std=gnu++14 -MD -MT src/modules/CMakeFiles/veloc-modules.dir/transfer_module.cpp.o -MF src/modules/CMakeFiles/veloc-modules.dir/transfer_module.cpp.o.d -o src/modules/CMakeFiles/veloc-modules.dir/t
ransfer_module.cpp.o -c /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp                                                                                                                            
/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp: In constructor ‘transfer_module_t::transfer_module_t(const config_t&)’:                                                                           
/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp:54:23: error: too many arguments to function ‘int AXL_Init()’                                                                                      
   54 |     int ret = AXL_Init(NULL);                                                                                 
      |               ~~~~~~~~^~~~~~                       
In file included from /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.hpp:12,    
                 from /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp:1:     
/usr/include/axl.h:58:5: note: declared here                                                                          
   58 | int AXL_Init (void);                               
      |     ^~~~~~~~                                                                                                  
/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp: In function ‘int axl_transfer_file(axl_xfer_t, const string&, const string&)’:                                                                    
/var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp:68:24: error: too few arguments to function ‘int AXL_Create(axl_xfer_t, const char*, const char*)’                                                 
   68 |     int id = AXL_Create(type, source.c_str());                                                                
      |              ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~                                                                 
In file included from /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.hpp:12,    
                 from /var/tmp/portage/sys-cluster/veloc-1.5-r1/work/VELOC-1.5/src/modules/transfer_module.cpp:1:     
/usr/include/axl.h:73:5: note: declared here               
   73 | int AXL_Create (axl_xfer_t xtype, const char* name, const char* state_file);                                  
      |     ^~~~~~~~~~                                     
ninja: build stopped: subcommand failed.                                                                              
 * ERROR: sys-cluster/veloc-1.5-r1::guru failed (compile phase):                                                      
 *   ninja -v -j12 -l12 failed

@Alessandro-Barbieri: We do not support dependency versions higher than those listed in auto-install.py. Normally you should use that script to build and install VELOC. We will update VELOC to link against the latest releases of the dependencies soon. Is there a particular use case not supported by AXL 0.3.0 that requires you to link against AXL 0.4.0?

Is there a particular use case not supported by AXL 0.3.0 that requires you to link against AXL 0.4.0?

No, I'm packaging it for gentoo overlay guru

Got it. Well, unfortunately for now we do not support the latest versions of the dependencies. I'll let you know once we do.

VELOC supports now AXL 0.5.0