0e559e0c7a
Why I did it The libyang cannot be built with the latest version of cmake. Example: https://dev.azure.com/mssonic/build/_build/results?buildId=181862&view=logs&j=993d6e22-aeec-5c03-fa19-35ecba587dd9&t=d0538dec-1681-5ff8-bd45-c0de13be9706 [ 96%] Building CXX object swig/python2/CMakeFiles/_yang2.dir/yangPYTHON_wrap.cxx.o /sonic/src/libyang/libyang-1.0.73/build/swig/python2/yangPYTHON_wrap.cxx:3292:33: error: expected initializer before '.' token # define SWIG_init init_yang.so ^ /sonic/src/libyang/libyang-1.0.73/build/swig/python2/yangPYTHON_wrap.cxx:102537:1: note: in expansion of macro 'SWIG_init' SWIG_init(void) { ^~~~~~~~~ /sonic/src/libyang/libyang-1.0.73/build/swig/python2/yangPYTHON_wrap.cxx:101971:24: warning: 'swig_const_table' defined but not used [-Wunused-variable] static swig_const_info swig_const_table[] = { See relative issue: #4315 How I did it Not upgrade the cmake, change to use the dbus-python 1.2.18 which is compatible with cmake 3.13.4 How to verify it See https://dev.azure.com/mssonic/build/_build/results?buildId=194756&view=results |
||
---|---|---|
.. | ||
Dockerfile.j2 | ||
Dockerfile.user.j2 | ||
no-check-valid-until | ||
sonic-jenkins-id_rsa.pub |