@@ -1133,7 +1133,7 @@ def _install_libyang_from_sources(ignore_errors = False):
1133
1133
execute ('git clone https://github.com/CESNET/libyang.git ~/.hammer-tmp/libyang' )
1134
1134
execute (f'git checkout { version } ' , cwd = '~/.hammer-tmp/libyang' )
1135
1135
execute ('mkdir ~/.hammer-tmp/libyang/build' )
1136
- execute ('cmake ..' , cwd = '~/.hammer-tmp/libyang/build' )
1136
+ execute ('cmake -DBUILD_TESTING=OFF -DCMAKE_C_FLAGS="-Wno-incompatible-pointer-types" ..' , cwd = '~/.hammer-tmp/libyang/build' )
1137
1137
execute ('make -j $(nproc || gnproc || echo 1)' , cwd = '~/.hammer-tmp/libyang/build' )
1138
1138
execute ('sudo make install' , cwd = '~/.hammer-tmp/libyang/build' )
1139
1139
system , revision = get_system_revision ()
@@ -1169,7 +1169,7 @@ def _install_sysrepo_from_sources(ignore_errors = False):
1169
1169
execute ('git clone https://github.com/sysrepo/sysrepo.git ~/.hammer-tmp/sysrepo' )
1170
1170
execute (f'git checkout { version } ' , cwd = '~/.hammer-tmp/sysrepo' )
1171
1171
execute ('mkdir ~/.hammer-tmp/sysrepo/build' )
1172
- execute ('cmake -DREPO_PATH=/etc/sysrepo ..' , cwd = '~/.hammer-tmp/sysrepo/build' )
1172
+ execute ('cmake -DBUILD_TESTING=OFF - DREPO_PATH=/etc/sysrepo ..' , cwd = '~/.hammer-tmp/sysrepo/build' )
1173
1173
execute ('make -j $(nproc || gnproc || echo 1)' , cwd = '~/.hammer-tmp/sysrepo/build' )
1174
1174
execute ('sudo make install' , cwd = '~/.hammer-tmp/sysrepo/build' )
1175
1175
system , revision = get_system_revision ()
@@ -1847,7 +1847,7 @@ def link_pg_config():
1847
1847
_apt_update (system , revision , env = env , check_times = check_times , attempts = 3 , sleep_time_after_attempt = 10 )
1848
1848
1849
1849
packages = ['gcc' , 'g++' , 'make' , 'autoconf' , 'automake' , 'libtool' , 'libssl-dev' , 'liblog4cplus-dev' ,
1850
- 'libboost-system-dev' , 'gnupg' , 'libpcap-dev' ]
1850
+ 'libboost-system-dev' , 'gnupg' , 'libpcap-dev' , 'bison' , 'flex' ]
1851
1851
1852
1852
if 'docs' in features :
1853
1853
packages .extend (['python3-sphinx' , 'python3-sphinx-rtd-theme' ,
0 commit comments