Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-8745-163/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/scl-utils-2.0.3-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-8745-163/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rAZ8Bd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scl-utils-2.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/scl-utils-2.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scl-utils-2.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0003-Scl-utils-layout-patch-from-fedora-famillecollet.com.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rh1gyY + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scl-utils-2.0.3 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -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 . CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 12.2.0 -- 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 CMake Warning at CMakeLists.txt:47 (FIND_PACKAGE): By not providing "Findbash-completion.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "bash-completion", but CMake did not find one. Could not find a package configuration file provided by "bash-completion" with any of the following names: bash-completionConfig.cmake bash-completion-config.cmake Add the installation prefix of "bash-completion" to CMAKE_PREFIX_PATH or set "bash-completion_DIR" to a directory containing one of the above files. If "bash-completion" provides a separate development package or SDK, be sure it has been installed. -- Using fallback bash completion dir /etc/bash_completion.d -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS 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/scl-utils-2.0.3 + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/scl-utils-2.0.3 -B/builddir/build/BUILD/scl-utils-2.0.3 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/scl-utils-2.0.3/CMakeFiles /builddir/build/BUILD/scl-utils-2.0.3//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/scl.dir/build.make src/CMakeFiles/scl.dir/depend /usr/bin/make -f tests/CMakeFiles/test_scllib.dir/build.make tests/CMakeFiles/test_scllib.dir/depend /usr/bin/make -f tests/CMakeFiles/test_args.dir/build.make tests/CMakeFiles/test_args.dir/depend make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' cd /builddir/build/BUILD/scl-utils-2.0.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/scl-utils-2.0.3 /builddir/build/BUILD/scl-utils-2.0.3/src /builddir/build/BUILD/scl-utils-2.0.3 /builddir/build/BUILD/scl-utils-2.0.3/src /builddir/build/BUILD/scl-utils-2.0.3/src/CMakeFiles/scl.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' /usr/bin/make -f src/CMakeFiles/scl.dir/build.make src/CMakeFiles/scl.dir/build make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' cd /builddir/build/BUILD/scl-utils-2.0.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/scl-utils-2.0.3 /builddir/build/BUILD/scl-utils-2.0.3/tests /builddir/build/BUILD/scl-utils-2.0.3 /builddir/build/BUILD/scl-utils-2.0.3/tests /builddir/build/BUILD/scl-utils-2.0.3/tests/CMakeFiles/test_scllib.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' /usr/bin/make -f tests/CMakeFiles/test_scllib.dir/build.make tests/CMakeFiles/test_scllib.dir/build make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' cd /builddir/build/BUILD/scl-utils-2.0.3 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/scl-utils-2.0.3 /builddir/build/BUILD/scl-utils-2.0.3/tests /builddir/build/BUILD/scl-utils-2.0.3 /builddir/build/BUILD/scl-utils-2.0.3/tests /builddir/build/BUILD/scl-utils-2.0.3/tests/CMakeFiles/test_args.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' /usr/bin/make -f tests/CMakeFiles/test_args.dir/build.make tests/CMakeFiles/test_args.dir/build make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 41%] Building C object tests/CMakeFiles/test_scllib.dir/test_scllib.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/test_scllib.c.o -MF CMakeFiles/test_scllib.dir/test_scllib.c.o.d -o CMakeFiles/test_scllib.dir/test_scllib.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/tests/test_scllib.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' /builddir/build/BUILD/scl-utils-2.0.3/tests/test_scllib.c:4:10: fatal error: cmocka.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [tests/CMakeFiles/test_scllib.dir/build.make:79: tests/CMakeFiles/test_scllib.dir/test_scllib.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/scl-utils-2.0.3/tests/test_args.c:4:10: fatal error: cmocka.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. make[2]: *** [tests/CMakeFiles/test_args.dir/build.make:79: tests/CMakeFiles/test_args.dir/test_args.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 58%] Building C object tests/CMakeFiles/test_args.dir/test_args.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_args.dir/test_args.c.o -MF CMakeFiles/test_args.dir/test_args.c.o.d -o CMakeFiles/test_args.dir/test_args.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/tests/test_args.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 87%] Building C object tests/CMakeFiles/test_args.dir/__/src/debug.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_args.dir/__/src/debug.c.o -MF CMakeFiles/test_args.dir/__/src/debug.c.o.d -o CMakeFiles/test_args.dir/__/src/debug.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/debug.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 70%] Building C object tests/CMakeFiles/test_scllib.dir/__/src/debug.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/__/src/debug.c.o -MF CMakeFiles/test_scllib.dir/__/src/debug.c.o.d -o CMakeFiles/test_scllib.dir/__/src/debug.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/debug.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 58%] Building C object tests/CMakeFiles/test_args.dir/test_common.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_args.dir/test_common.c.o -MF CMakeFiles/test_args.dir/test_common.c.o.d -o CMakeFiles/test_args.dir/test_common.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/tests/test_common.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 50%] Building C object tests/CMakeFiles/test_scllib.dir/test_common.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/test_common.c.o -MF CMakeFiles/test_scllib.dir/test_common.c.o.d -o CMakeFiles/test_scllib.dir/test_common.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/tests/test_common.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 16%] Building C object tests/CMakeFiles/test_scllib.dir/dict.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/dict.c.o -MF CMakeFiles/test_scllib.dir/dict.c.o.d -o CMakeFiles/test_scllib.dir/dict.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/tests/dict.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 79%] Building C object tests/CMakeFiles/test_args.dir/__/src/sclmalloc.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_args.dir/__/src/sclmalloc.c.o -MF CMakeFiles/test_args.dir/__/src/sclmalloc.c.o.d -o CMakeFiles/test_args.dir/__/src/sclmalloc.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/sclmalloc.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 41%] Building C object src/CMakeFiles/scl.dir/debug.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT src/CMakeFiles/scl.dir/debug.c.o -MF CMakeFiles/scl.dir/debug.c.o.d -o CMakeFiles/scl.dir/debug.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/debug.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 25%] Building C object tests/CMakeFiles/test_scllib.dir/__/src/sclmalloc.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/__/src/sclmalloc.c.o -MF CMakeFiles/test_scllib.dir/__/src/sclmalloc.c.o.d -o CMakeFiles/test_scllib.dir/__/src/sclmalloc.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/sclmalloc.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 66%] Building C object tests/CMakeFiles/test_args.dir/__/src/args.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_args.dir/__/src/args.c.o -MF CMakeFiles/test_args.dir/__/src/args.c.o.d -o CMakeFiles/test_args.dir/__/src/args.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/args.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 66%] Building C object tests/CMakeFiles/test_scllib.dir/__/src/lib_common.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/__/src/lib_common.c.o -MF CMakeFiles/test_scllib.dir/__/src/lib_common.c.o.d -o CMakeFiles/test_scllib.dir/__/src/lib_common.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/lib_common.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 4%] Building C object src/CMakeFiles/scl.dir/sclmalloc.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT src/CMakeFiles/scl.dir/sclmalloc.c.o -MF CMakeFiles/scl.dir/sclmalloc.c.o.d -o CMakeFiles/scl.dir/sclmalloc.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/sclmalloc.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 25%] Building C object src/CMakeFiles/scl.dir/scl.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT src/CMakeFiles/scl.dir/scl.c.o -MF CMakeFiles/scl.dir/scl.c.o.d -o CMakeFiles/scl.dir/scl.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/scl.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 75%] Building C object tests/CMakeFiles/test_scllib.dir/__/src/fallback.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/__/src/fallback.c.o -MF CMakeFiles/test_scllib.dir/__/src/fallback.c.o.d -o CMakeFiles/test_scllib.dir/__/src/fallback.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/fallback.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 83%] Building C object tests/CMakeFiles/test_args.dir/__/src/lib_common.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_args.dir/__/src/lib_common.c.o -MF CMakeFiles/test_args.dir/__/src/lib_common.c.o.d -o CMakeFiles/test_args.dir/__/src/lib_common.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/lib_common.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[1]: *** [CMakeFiles/Makefile2:227: tests/CMakeFiles/test_args.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 8%] Building C object tests/CMakeFiles/test_scllib.dir/__/src/scllib.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/tests && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/tests/. -I/builddir/build/BUILD/scl-utils-2.0.3/tests/../src -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -fPIE -Wl,--wrap=get_command_output -Wl,--wrap=system -Wl,--wrap=putenv -Wl,--wrap=getenv -MD -MT tests/CMakeFiles/test_scllib.dir/__/src/scllib.c.o -MF CMakeFiles/test_scllib.dir/__/src/scllib.c.o.d -o CMakeFiles/test_scllib.dir/__/src/scllib.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/scllib.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[1]: *** [CMakeFiles/Makefile2:201: tests/CMakeFiles/test_scllib.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 12%] Building C object src/CMakeFiles/scl.dir/fallback.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT src/CMakeFiles/scl.dir/fallback.c.o -MF CMakeFiles/scl.dir/fallback.c.o.d -o CMakeFiles/scl.dir/fallback.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/fallback.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 50%] Building C object src/CMakeFiles/scl.dir/args.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT src/CMakeFiles/scl.dir/args.c.o -MF CMakeFiles/scl.dir/args.c.o.d -o CMakeFiles/scl.dir/args.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/args.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 37%] Building C object src/CMakeFiles/scl.dir/lib_common.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT src/CMakeFiles/scl.dir/lib_common.c.o -MF CMakeFiles/scl.dir/lib_common.c.o.d -o CMakeFiles/scl.dir/lib_common.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/lib_common.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 37%] Building C object src/CMakeFiles/scl.dir/scllib.c.o cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/gcc -I/builddir/build/BUILD/scl-utils-2.0.3/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MT src/CMakeFiles/scl.dir/scllib.c.o -MF CMakeFiles/scl.dir/scllib.c.o.d -o CMakeFiles/scl.dir/scllib.c.o -c /builddir/build/BUILD/scl-utils-2.0.3/src/scllib.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 91%] Linking C executable scl cd /builddir/build/BUILD/scl-utils-2.0.3/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scl.dir/link.txt --verbose=1 /usr/bin/gcc -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -rdynamic CMakeFiles/scl.dir/scl.c.o CMakeFiles/scl.dir/debug.c.o CMakeFiles/scl.dir/scllib.c.o CMakeFiles/scl.dir/lib_common.c.o CMakeFiles/scl.dir/args.c.o CMakeFiles/scl.dir/sclmalloc.c.o CMakeFiles/scl.dir/fallback.c.o -o scl -lrpm -lrpmio make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make[1]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.3' [ 91%] Built target scl make[1]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.3' make: *** [Makefile:169: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.rh1gyY (%build) Bad exit status from /var/tmp/rpm-tmp.rh1gyY (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 x86_64 --nodeps /builddir/build/SPECS/scl-utils.spec