Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sysrepo.spec'], chrootPath='/var/lib/mock/f37-build-678711-76450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sysrepo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1659052800 Wrote: /builddir/build/SRPMS/sysrepo-2.1.84-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sysrepo.spec'], chrootPath='/var/lib/mock/f37-build-678711-76450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sysrepo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1659052800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BwSw7m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sysrepo-2.1.84 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sysrepo-2.1.84.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sysrepo-2.1.84 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EaZUlQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sysrepo-2.1.84 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DSYSREPO_UMASK=007 -DSYSREPO_GROUP=sysrepo -DNACM_SRMON_DATA_PERM=660 -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- ietf-yang-library revision: 2019-01-04 -- Sysrepo repository: /etc/sysrepo -- Startup data path: /etc/sysrepo/data -- Notification path: /etc/sysrepo/data/notif -- YANG module path: /etc/sysrepo/yang -- SR plugins path: /usr/lib64/sysrepo/plugins -- SRPD plugins path: /usr/lib64/sysrepo-plugind/plugins CMake Warning at CMakeLists.txt:239 (message): valgrind executable not found! Disabling memory leaks tests. -- Found CMocka: /usr/lib64/libcmocka.so (Required is at least version "1.0.1") -- Looking for vdprintf -- Looking for vdprintf - found -- Looking for asprintf -- Looking for asprintf - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for getline -- Looking for getline - found -- Looking for strndup -- Looking for strndup - found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for strdupa -- Looking for strdupa - found -- Looking for strchrnul -- Looking for strchrnul - found -- Looking for get_current_dir_name -- Looking for get_current_dir_name - found -- Looking for pthread_mutex_timedlock -- Looking for pthread_mutex_timedlock - found -- Looking for stdatomic.h -- Looking for stdatomic.h - found -- Looking for __atomic_fetch_add_4 in atomic -- Looking for __atomic_fetch_add_4 in atomic - found -- Found LibYANG: /usr/lib64/libyang.so (found suitable version "2.25.4", minimum required is "2.22.1") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Could NOT find LibSystemd (missing: SYSTEMD_UNIT_DIR) CMake Warning at CMakeLists.txt:349 (message): Disabling sysrepo-plugind systemd support because libsystemd was not found. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for eaccess -- Looking for eaccess - found -- Looking for inotify_init -- Looking for inotify_init - found -- Looking for mkstemps -- Looking for mkstemps - found -- Looking for pthread_barrier_init -- Looking for pthread_barrier_init - found -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/sysrepo-2.1.84 -B/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/CMakeFiles /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/srobj.dir/build.make CMakeFiles/srobj.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/CMakeFiles/srobj.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/srobj.dir/build.make CMakeFiles/srobj.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' [ 2%] Building C object CMakeFiles/srobj.dir/src/common.c.o [ 2%] Building C object CMakeFiles/srobj.dir/src/sysrepo.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/sysrepo.c.o -MF CMakeFiles/srobj.dir/src/sysrepo.c.o.d -o CMakeFiles/srobj.dir/src/sysrepo.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/common.c.o -MF CMakeFiles/srobj.dir/src/common.c.o.d -o CMakeFiles/srobj.dir/src/common.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/common.c [ 3%] Building C object CMakeFiles/srobj.dir/src/log.c.o [ 4%] Building C object CMakeFiles/srobj.dir/src/replay.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/log.c.o -MF CMakeFiles/srobj.dir/src/log.c.o.d -o CMakeFiles/srobj.dir/src/log.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/log.c /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/replay.c.o -MF CMakeFiles/srobj.dir/src/replay.c.o.d -o CMakeFiles/srobj.dir/src/replay.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/replay.c [ 5%] Building C object CMakeFiles/srobj.dir/src/modinfo.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/modinfo.c.o -MF CMakeFiles/srobj.dir/src/modinfo.c.o.d -o CMakeFiles/srobj.dir/src/modinfo.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/modinfo.c [ 6%] Building C object CMakeFiles/srobj.dir/src/edit_diff.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/edit_diff.c.o -MF CMakeFiles/srobj.dir/src/edit_diff.c.o.d -o CMakeFiles/srobj.dir/src/edit_diff.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/edit_diff.c /builddir/build/BUILD/sysrepo-2.1.84/src/modinfo.c: In function 'sr_modinfo_op_validate': /builddir/build/BUILD/sysrepo-2.1.84/src/modinfo.c:2493:17: warning: implicit declaration of function 'lyd_insert_ext'; did you mean 'lyd_insert_after'? [-Wimplicit-function-declaration] 2493 | if (lyd_insert_ext(op_ext_parent, node)) { | ^~~~~~~~~~~~~~ | lyd_insert_after /builddir/build/BUILD/sysrepo-2.1.84/src/edit_diff.c: In function 'sr_edit_diff_append': /builddir/build/BUILD/sysrepo-2.1.84/src/edit_diff.c:829:13: warning: implicit declaration of function 'lyd_insert_ext'; did you mean 'lyd_insert_after'? [-Wimplicit-function-declaration] 829 | lyd_insert_ext(diff_parent, diff_subtree); | ^~~~~~~~~~~~~~ | lyd_insert_after [ 7%] Building C object CMakeFiles/srobj.dir/src/lyd_mods.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/lyd_mods.c.o -MF CMakeFiles/srobj.dir/src/lyd_mods.c.o.d -o CMakeFiles/srobj.dir/src/lyd_mods.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/lyd_mods.c [ 8%] Building C object CMakeFiles/srobj.dir/src/context_change.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/context_change.c.o -MF CMakeFiles/srobj.dir/src/context_change.c.o.d -o CMakeFiles/srobj.dir/src/context_change.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/context_change.c [ 9%] Building C object CMakeFiles/srobj.dir/src/shm_main.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/shm_main.c.o -MF CMakeFiles/srobj.dir/src/shm_main.c.o.d -o CMakeFiles/srobj.dir/src/shm_main.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/shm_main.c [ 10%] Building C object CMakeFiles/srobj.dir/src/shm_ext.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/shm_ext.c.o -MF CMakeFiles/srobj.dir/src/shm_ext.c.o.d -o CMakeFiles/srobj.dir/src/shm_ext.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/shm_ext.c [ 11%] Building C object CMakeFiles/srobj.dir/src/shm_mod.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/shm_mod.c.o -MF CMakeFiles/srobj.dir/src/shm_mod.c.o.d -o CMakeFiles/srobj.dir/src/shm_mod.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/shm_mod.c [ 12%] Building C object CMakeFiles/srobj.dir/src/shm_sub.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/shm_sub.c.o -MF CMakeFiles/srobj.dir/src/shm_sub.c.o.d -o CMakeFiles/srobj.dir/src/shm_sub.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/shm_sub.c [ 13%] Building C object CMakeFiles/srobj.dir/src/plugins/ds_lyb.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/plugins/ds_lyb.c.o -MF CMakeFiles/srobj.dir/src/plugins/ds_lyb.c.o.d -o CMakeFiles/srobj.dir/src/plugins/ds_lyb.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/plugins/ds_lyb.c [ 14%] Building C object CMakeFiles/srobj.dir/src/plugins/ntf_lyb.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/plugins/ntf_lyb.c.o -MF CMakeFiles/srobj.dir/src/plugins/ntf_lyb.c.o.d -o CMakeFiles/srobj.dir/src/plugins/ntf_lyb.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/plugins/ntf_lyb.c [ 15%] Building C object CMakeFiles/srobj.dir/src/plugins/common_lyb.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/plugins/common_lyb.c.o -MF CMakeFiles/srobj.dir/src/plugins/common_lyb.c.o.d -o CMakeFiles/srobj.dir/src/plugins/common_lyb.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/plugins/common_lyb.c [ 16%] Building C object CMakeFiles/srobj.dir/src/utils/values.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/utils/values.c.o -MF CMakeFiles/srobj.dir/src/utils/values.c.o.d -o CMakeFiles/srobj.dir/src/utils/values.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/utils/values.c [ 17%] Building C object CMakeFiles/srobj.dir/src/utils/xpath.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/utils/xpath.c.o -MF CMakeFiles/srobj.dir/src/utils/xpath.c.o.d -o CMakeFiles/srobj.dir/src/utils/xpath.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/utils/xpath.c [ 18%] Building C object CMakeFiles/srobj.dir/src/utils/error_format.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/utils/error_format.c.o -MF CMakeFiles/srobj.dir/src/utils/error_format.c.o.d -o CMakeFiles/srobj.dir/src/utils/error_format.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/utils/error_format.c [ 19%] Building C object CMakeFiles/srobj.dir/src/utils/nacm.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/src/utils/nacm.c.o -MF CMakeFiles/srobj.dir/src/utils/nacm.c.o.d -o CMakeFiles/srobj.dir/src/utils/nacm.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/utils/nacm.c [ 20%] Building C object CMakeFiles/srobj.dir/compat/compat.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -MD -MT CMakeFiles/srobj.dir/compat/compat.c.o -MF CMakeFiles/srobj.dir/compat/compat.c.o.d -o CMakeFiles/srobj.dir/compat/compat.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/compat/compat.c /builddir/build/BUILD/sysrepo-2.1.84/src/utils/nacm.c: In function 'sr_nacm_collect_groups.constprop.0': /builddir/build/BUILD/sysrepo-2.1.84/src/utils/nacm.c:1264:15: warning: 'user_gid' may be used uninitialized [-Wmaybe-uninitialized] 1264 | ret = getgrouplist(user, user_gid, gids, &gid_count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/sysrepo-2.1.84/src/utils/nacm.c:1224:11: note: 'user_gid' was declared here 1224 | gid_t user_gid; | ^~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' [ 20%] Built target srobj /usr/bin/gmake -f CMakeFiles/sysrepo.dir/build.make CMakeFiles/sysrepo.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/CMakeFiles/sysrepo.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/sysrepo.dir/build.make CMakeFiles/sysrepo.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' [ 21%] Linking C shared library libsysrepo.so /usr/bin/cmake -E cmake_link_script CMakeFiles/sysrepo.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libsysrepo.so.7 -o libsysrepo.so.7.8.10 CMakeFiles/srobj.dir/src/sysrepo.c.o CMakeFiles/srobj.dir/src/common.c.o CMakeFiles/srobj.dir/src/log.c.o CMakeFiles/srobj.dir/src/replay.c.o CMakeFiles/srobj.dir/src/modinfo.c.o CMakeFiles/srobj.dir/src/edit_diff.c.o CMakeFiles/srobj.dir/src/lyd_mods.c.o CMakeFiles/srobj.dir/src/context_change.c.o CMakeFiles/srobj.dir/src/shm_main.c.o CMakeFiles/srobj.dir/src/shm_ext.c.o CMakeFiles/srobj.dir/src/shm_mod.c.o CMakeFiles/srobj.dir/src/shm_sub.c.o CMakeFiles/srobj.dir/src/plugins/ds_lyb.c.o CMakeFiles/srobj.dir/src/plugins/ntf_lyb.c.o CMakeFiles/srobj.dir/src/plugins/common_lyb.c.o CMakeFiles/srobj.dir/src/utils/values.c.o CMakeFiles/srobj.dir/src/utils/xpath.c.o CMakeFiles/srobj.dir/src/utils/error_format.c.o CMakeFiles/srobj.dir/src/utils/nacm.c.o CMakeFiles/srobj.dir/compat/compat.c.o -latomic -Wl,-Bstatic -lrt -Wl,-Bdynamic -ldl -lyang /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c: In function 'sr_notif_send_tree': /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5980:25: warning: 'shm_deps' may be used uninitialized [-Wmaybe-uninitialized] 5980 | if ((err_info = sr_shmmod_collect_deps(SR_CONN_MOD_SHM(session->conn), shm_deps, shm_dep_count, notif, &mod_info))) { | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5904:15: note: 'shm_deps' was declared here 5904 | sr_dep_t *shm_deps; | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5980:25: warning: 'shm_dep_count' may be used uninitialized [-Wmaybe-uninitialized] 5980 | if ((err_info = sr_shmmod_collect_deps(SR_CONN_MOD_SHM(session->conn), shm_deps, shm_dep_count, notif, &mod_info))) { | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5907:14: note: 'shm_dep_count' was declared here 5907 | uint16_t shm_dep_count; | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c: In function 'sr_rpc_send_tree': /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5612:21: warning: 'shm_deps' may be used uninitialized [-Wmaybe-uninitialized] 5612 | if ((err_info = sr_shmmod_collect_deps(SR_CONN_MOD_SHM(session->conn), shm_deps, shm_dep_count, input, &mod_info))) { | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5509:15: note: 'shm_deps' was declared here 5509 | sr_dep_t *shm_deps; | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5612:21: warning: 'shm_dep_count' may be used uninitialized [-Wmaybe-uninitialized] 5612 | if ((err_info = sr_shmmod_collect_deps(SR_CONN_MOD_SHM(session->conn), shm_deps, shm_dep_count, input, &mod_info))) { | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/sysrepo.c:5510:14: note: 'shm_dep_count' was declared here 5510 | uint16_t shm_dep_count; | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/utils/nacm.c: In function 'sr_nacm_collect_groups.constprop': /builddir/build/BUILD/sysrepo-2.1.84/src/utils/nacm.c:1264:15: warning: 'user_gid' may be used uninitialized [-Wmaybe-uninitialized] 1264 | ret = getgrouplist(user, user_gid, gids, &gid_count); | ^ /builddir/build/BUILD/sysrepo-2.1.84/src/utils/nacm.c:1224:11: note: 'user_gid' was declared here 1224 | gid_t user_gid; | ^ /usr/bin/cmake -E cmake_symlink_library libsysrepo.so.7.8.10 libsysrepo.so.7 libsysrepo.so gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' [ 21%] Built target sysrepo /usr/bin/gmake -f CMakeFiles/sysrepoctl.dir/build.make CMakeFiles/sysrepoctl.dir/depend /usr/bin/gmake -f CMakeFiles/sysrepocfg.dir/build.make CMakeFiles/sysrepocfg.dir/depend /usr/bin/gmake -f CMakeFiles/sysrepo-plugind.dir/build.make CMakeFiles/sysrepo-plugind.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/CMakeFiles/sysrepocfg.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/CMakeFiles/sysrepoctl.dir/DependInfo.cmake --color= /usr/bin/gmake -f tests/CMakeFiles/test_modules.dir/build.make tests/CMakeFiles/test_modules.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/CMakeFiles/sysrepo-plugind.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/sysrepo-2.1.84 /builddir/build/BUILD/sysrepo-2.1.84/tests /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/tests /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/tests/CMakeFiles/test_modules.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/sysrepoctl.dir/build.make CMakeFiles/sysrepoctl.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/sysrepo-plugind.dir/build.make CMakeFiles/sysrepo-plugind.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/test_modules.dir/build.make tests/CMakeFiles/test_modules.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/sysrepocfg.dir/build.make CMakeFiles/sysrepocfg.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' [ 22%] Building C object CMakeFiles/sysrepoctl.dir/src/executables/sysrepoctl.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/sysrepoctl.dir/src/executables/sysrepoctl.c.o -MF CMakeFiles/sysrepoctl.dir/src/executables/sysrepoctl.c.o.d -o CMakeFiles/sysrepoctl.dir/src/executables/sysrepoctl.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/executables/sysrepoctl.c [ 23%] Building C object CMakeFiles/sysrepo-plugind.dir/src/executables/sysrepo-plugind.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/sysrepo-plugind.dir/src/executables/sysrepo-plugind.c.o -MF CMakeFiles/sysrepo-plugind.dir/src/executables/sysrepo-plugind.c.o.d -o CMakeFiles/sysrepo-plugind.dir/src/executables/sysrepo-plugind.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/executables/sysrepo-plugind.c [ 24%] Building C object tests/CMakeFiles/test_modules.dir/test_common.c.o cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/tests && /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -I/builddir/build/BUILD/sysrepo-2.1.84/tests -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT tests/CMakeFiles/test_modules.dir/test_common.c.o -MF CMakeFiles/test_modules.dir/test_common.c.o.d -o CMakeFiles/test_modules.dir/test_common.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/tests/test_common.c [ 25%] Building C object CMakeFiles/sysrepocfg.dir/src/executables/sysrepocfg.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/sysrepocfg.dir/src/executables/sysrepocfg.c.o -MF CMakeFiles/sysrepocfg.dir/src/executables/sysrepocfg.c.o.d -o CMakeFiles/sysrepocfg.dir/src/executables/sysrepocfg.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/src/executables/sysrepocfg.c [ 26%] Building C object tests/CMakeFiles/test_modules.dir/test_modules.c.o cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/tests && /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -I/builddir/build/BUILD/sysrepo-2.1.84/tests -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/tests -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT tests/CMakeFiles/test_modules.dir/test_modules.c.o -MF CMakeFiles/test_modules.dir/test_modules.c.o.d -o CMakeFiles/test_modules.dir/test_modules.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/tests/test_modules.c [ 27%] Building C object CMakeFiles/sysrepo-plugind.dir/compat/compat.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/sysrepo-plugind.dir/compat/compat.c.o -MF CMakeFiles/sysrepo-plugind.dir/compat/compat.c.o.d -o CMakeFiles/sysrepo-plugind.dir/compat/compat.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/compat/compat.c [ 28%] Building C object CMakeFiles/sysrepocfg.dir/compat/compat.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/sysrepocfg.dir/compat/compat.c.o -MF CMakeFiles/sysrepocfg.dir/compat/compat.c.o.d -o CMakeFiles/sysrepocfg.dir/compat/compat.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/compat/compat.c [ 29%] Linking C executable sysrepo-plugind /usr/bin/cmake -E cmake_link_script CMakeFiles/sysrepo-plugind.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic "CMakeFiles/sysrepo-plugind.dir/src/executables/sysrepo-plugind.c.o" "CMakeFiles/sysrepo-plugind.dir/compat/compat.c.o" -o sysrepo-plugind -Wl,-rpath,/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build: libsysrepo.so.7.8.10 -latomic -Wl,-Bstatic -lrt -Wl,-Bdynamic -ldl -lyang [ 30%] Building C object CMakeFiles/sysrepoctl.dir/compat/compat.c.o /usr/bin/gcc -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/compat -I/builddir/build/BUILD/sysrepo-2.1.84/src -I/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -fPIE -MD -MT CMakeFiles/sysrepoctl.dir/compat/compat.c.o -MF CMakeFiles/sysrepoctl.dir/compat/compat.c.o.d -o CMakeFiles/sysrepoctl.dir/compat/compat.c.o -c /builddir/build/BUILD/sysrepo-2.1.84/compat/compat.c [ 31%] Linking C executable sysrepocfg /usr/bin/cmake -E cmake_link_script CMakeFiles/sysrepocfg.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/sysrepocfg.dir/src/executables/sysrepocfg.c.o CMakeFiles/sysrepocfg.dir/compat/compat.c.o -o sysrepocfg -Wl,-rpath,/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build: libsysrepo.so.7.8.10 -latomic -Wl,-Bstatic -lrt -Wl,-Bdynamic -ldl -lyang [ 32%] Linking C executable sysrepoctl /usr/bin/cmake -E cmake_link_script CMakeFiles/sysrepoctl.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/sysrepoctl.dir/src/executables/sysrepoctl.c.o CMakeFiles/sysrepoctl.dir/compat/compat.c.o -o sysrepoctl -Wl,-rpath,/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build: libsysrepo.so.7.8.10 -latomic -Wl,-Bstatic -lrt -Wl,-Bdynamic -ldl -lyang [ 34%] Linking C executable test_modules cd /builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_modules.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpedantic -std=c11 -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/test_modules.dir/test_common.c.o CMakeFiles/test_modules.dir/test_modules.c.o -o test_modules -Wl,-rpath,/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build -lcmocka ../libsysrepo.so.7.8.10 -latomic -Wl,-Bstatic -lrt -Wl,-Bdynamic -ldl -lyang /usr/bin/ld: libsysrepo.so.7.8.10: undefined reference to `lyd_insert_ext' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/sysrepo-plugind.dir/build.make:119: sysrepo-plugind] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:286: CMakeFiles/sysrepo-plugind.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: libsysrepo.so.7.8.10: undefined reference to `lyd_insert_ext' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/sysrepocfg.dir/build.make:119: sysrepocfg] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:260: CMakeFiles/sysrepocfg.dir/all] Error 2 /usr/bin/ld: ../libsysrepo.so.7.8.10: undefined reference to `lyd_insert_ext' collect2: error: ld returned 1 exit status gmake[2]: *** [tests/CMakeFiles/test_modules.dir/build.make:120: tests/test_modules] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:416: tests/CMakeFiles/test_modules.dir/all] Error 2 /usr/bin/ld: libsysrepo.so.7.8.10: undefined reference to `lyd_insert_ext' collect2: error: ld returned 1 exit status gmake[2]: *** [CMakeFiles/sysrepoctl.dir/build.make:119: sysrepoctl] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/sysrepo-2.1.84/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:234: CMakeFiles/sysrepoctl.dir/all] Error 2 gmake: *** [Makefile:149: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.EaZUlQ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EaZUlQ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sysrepo.spec