Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45040-14591/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 --noclean --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.2-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45040-14591/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 --noclean --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.jFvmvV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scl-utils-2.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/scl-utils-2.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scl-utils-2.0.2 + /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 + /usr/bin/cat /builddir/build/SOURCES/scl-utils-2.0.2-rhbz-1728450.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.gzEO31 + umask 022 + cd /builddir/build/BUILD + cd scl-utils-2.0.2 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + /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/cc - 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.2 + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/cmake -S/builddir/build/BUILD/scl-utils-2.0.2 -B/builddir/build/BUILD/scl-utils-2.0.2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/scl-utils-2.0.2/CMakeFiles /builddir/build/BUILD/scl-utils-2.0.2//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 make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' cd /builddir/build/BUILD/scl-utils-2.0.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/scl-utils-2.0.2 /builddir/build/BUILD/scl-utils-2.0.2/src /builddir/build/BUILD/scl-utils-2.0.2 /builddir/build/BUILD/scl-utils-2.0.2/src /builddir/build/BUILD/scl-utils-2.0.2/src/CMakeFiles/scl.dir/DependInfo.cmake --color= make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' /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.2' [ 50%] Building C object src/CMakeFiles/scl.dir/debug.c.o cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cc -I/builddir/build/BUILD/scl-utils-2.0.2/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2/src/debug.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [ 87%] Building C object src/CMakeFiles/scl.dir/sclmalloc.c.o cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cc -I/builddir/build/BUILD/scl-utils-2.0.2/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2/src/sclmalloc.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [ 25%] Building C object src/CMakeFiles/scl.dir/scl.c.o cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cc -I/builddir/build/BUILD/scl-utils-2.0.2/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2/src/scl.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [ 75%] Building C object src/CMakeFiles/scl.dir/fallback.c.o cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cc -I/builddir/build/BUILD/scl-utils-2.0.2/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2/src/fallback.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [ 50%] Building C object src/CMakeFiles/scl.dir/args.c.o cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cc -I/builddir/build/BUILD/scl-utils-2.0.2/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2/src/args.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [ 75%] Building C object src/CMakeFiles/scl.dir/lib_common.c.o cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cc -I/builddir/build/BUILD/scl-utils-2.0.2/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2/src/lib_common.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [ 25%] Building C object src/CMakeFiles/scl.dir/scllib.c.o cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cc -I/builddir/build/BUILD/scl-utils-2.0.2/src -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2/src/scllib.c make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' /builddir/build/BUILD/scl-utils-2.0.2/src/scllib.c: In function 'show_man': /builddir/build/BUILD/scl-utils-2.0.2/src/scllib.c:661:9: warning: 'exists' is used uninitialized [-Wuninitialized] 661 | if (!exists) { | ^~~~~~~ /builddir/build/BUILD/scl-utils-2.0.2/src/scllib.c:658:10: note: 'exists' declared here 658 | bool exists; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [100%] Linking C executable scl cd /builddir/build/BUILD/scl-utils-2.0.2/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scl.dir/link.txt --verbose=1 /usr/bin/cc -Wall -pedantic --std=gnu99 -D_GNU_SOURCE -g -O2 -g -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.2' make[1]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' [100%] Built target scl make[1]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/scl-utils-2.0.2/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bZZ2dR + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64 + cd scl-utils-2.0.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -S/builddir/build/BUILD/scl-utils-2.0.2 -B/builddir/build/BUILD/scl-utils-2.0.2 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/scl-utils-2.0.2/CMakeFiles /builddir/build/BUILD/scl-utils-2.0.2//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' /usr/bin/make -f src/CMakeFiles/scl.dir/build.make src/CMakeFiles/scl.dir/depend make[2]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' cd /builddir/build/BUILD/scl-utils-2.0.2 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/scl-utils-2.0.2 /builddir/build/BUILD/scl-utils-2.0.2/src /builddir/build/BUILD/scl-utils-2.0.2 /builddir/build/BUILD/scl-utils-2.0.2/src /builddir/build/BUILD/scl-utils-2.0.2/src/CMakeFiles/scl.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target scl make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' /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.2' make[2]: Nothing to be done for 'src/CMakeFiles/scl.dir/build'. make[2]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' [100%] Built target scl make[1]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/scl-utils-2.0.2/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/scl-utils-2.0.2' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/scl-utils-2.0.2' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/rpm/macros.scl -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/lib/rpm/fileattrs/scl.attr -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/lib/rpm/fileattrs/sclbuild.attr -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/lib/rpm/brp-scl-compress -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/lib/rpm/brp-scl-python-bytecompile -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/lib/rpm/scldeps.sh -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/share/man/man1/scl.1 -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/bin/scl_enabled -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/bin/scl_source -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/profile.d/scl-init.sh -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/profile.d/scl-init.csh -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/scl/func_scl.csh -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/bash_completion.d/scl -- Installing: /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/bin/scl + mkdir -p '/builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64%{rpmmacrodir}' + install -pm644 /builddir/build/SOURCES/macros.scl-filesystem '/builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64%{rpmmacrodir}/macros.scl' + mkdir -p /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/scl + cd /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/scl + mkdir modulefiles + mkdir prefixes + ln -s prefixes conf + rm -rf /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/etc/rpm + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Processing files: scl-utils-2.0.2-3.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HWQR9H + umask 022 + cd /builddir/build/BUILD + cd scl-utils-2.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/share/licenses/scl-utils-2.0.2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/share/licenses/scl-utils-2.0.2 + cp -pr LICENSE /builddir/build/BUILDROOT/scl-utils-2.0.2-3.oc9.x86_64/usr/share/licenses/scl-utils-2.0.2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(scl-utils) = 2.0.2-3.oc9 scl-utils = 2.0.2-3.oc9 scl-utils(x86-64) = 2.0.2-3.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) librpm.so.9()(64bit) librpmio.so.9()(64bit) rtld(GNU_HASH) Processing files: scl-utils-build-2.0.2-3.oc9.x86_64 RPM build errors: error: File must begin with "/": %{rpmmacrodir}/macros.scl File must begin with "/": %{rpmmacrodir}/macros.scl Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.spec\n', 1)] 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 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/scl-utils.spec