Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libalternatives.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662571779.331413/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8vfm41b1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8vfm41b1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '643846d5b40744d28dfc5c0373556dec', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662571779.331413/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8vfm41b1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libalternatives.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1662508800 Wrote: /builddir/build/SRPMS/libalternatives-1.2^20220224.23c39ca-1.fc38.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/libalternatives.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662571779.331413/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8vfm41b1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8vfm41b1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '65cc5a8a14864251af36b869cf58099d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662571779.331413/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8vfm41b1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libalternatives.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1662508800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l3ca9g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libalternatives-23c39ca.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + /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.67c8i2 + 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 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/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 libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + 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 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/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 -- The C 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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for module 'cunit' -- Found cunit, version 2.1-3 -- 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/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j2 --verbose /usr/bin/cmake -S/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 -B/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/CMakeFiles /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/alternatives.dir/build.make src/CMakeFiles/alternatives.dir/depend /usr/bin/gmake -f src/CMakeFiles/TestLibalternatives.dir/build.make src/CMakeFiles/TestLibalternatives.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src/CMakeFiles/alternatives.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src/CMakeFiles/TestLibalternatives.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/alternatives.dir/build.make src/CMakeFiles/alternatives.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/TestLibalternatives.dir/build.make src/CMakeFiles/TestLibalternatives.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 4%] Building C object src/CMakeFiles/alternatives.dir/libalternatives.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/gcc -DCONFIG_DIR=\"/usr/share/libalternatives\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/etc\" -Dalternatives_EXPORTS -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fvisibility=hidden -Wall -Wextra -Wpedantic -fvisibility=hidden -fPIC -std=gnu99 -MD -MT src/CMakeFiles/alternatives.dir/libalternatives.c.o -MF CMakeFiles/alternatives.dir/libalternatives.c.o.d -o CMakeFiles/alternatives.dir/libalternatives.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c [ 8%] Building C object src/CMakeFiles/TestLibalternatives.dir/libalternatives.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/../test/test_defaults\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/../test\" -DUNITTESTS=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -std=gnu99 -MD -MT src/CMakeFiles/TestLibalternatives.dir/libalternatives.c.o -MF CMakeFiles/TestLibalternatives.dir/libalternatives.c.o.d -o CMakeFiles/TestLibalternatives.dir/libalternatives.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c: In function 'libalts_load_available_binaries': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:364:30: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 364 | for(i = 0; i < pos; i++) | ~~^~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:319:16: note: 'pos' was declared here 319 | size_t pos = 0; | ^~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c: In function 'libalts_write_binary_configured_priority_to_file': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:88:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 88 | strncpy(str, str1, len1); | ^ In function 'saveConfigData', inlined from 'libalts_write_binary_configured_priority_to_file' at /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:560:9: /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:488:63: note: length computed here 488 | const char *saved_path = concat_str_safe(config_path, strlen(config_path), ".new", 5); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c: In function 'libalts_load_available_binaries': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:364:30: warning: 'pos' may be used uninitialized [-Wmaybe-uninitialized] 364 | for(i = 0; i < pos; i++) | ~~^~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:319:16: note: 'pos' was declared here 319 | size_t pos = 0; | ^~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c: In function 'libalts_get_user_config_path': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:88:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 88 | strncpy(str, str1, len1); | ^ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:630:80: note: length computed here 630 | __override_path = concat_str_safe(config_home, strlen(config_home), config_filename, sizeof(config_filename)); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:88:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 88 | strncpy(str, str1, len1); | ^ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:624:72: note: length computed here 624 | __override_path = concat_str_safe(config_home, strlen(config_home), config_filename, sizeof(config_filename)); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c: In function 'libalts_write_binary_configured_priority_to_file': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:88:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 88 | strncpy(str, str1, len1); | ^ In function 'saveConfigData', inlined from 'libalts_write_binary_configured_priority_to_file' at /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:560:9: /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:488:63: note: length computed here 488 | const char *saved_path = concat_str_safe(config_path, strlen(config_path), ".new", 5); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c: In function 'libalts_get_user_config_path': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:88:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 88 | strncpy(str, str1, len1); | ^ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:630:80: note: length computed here 630 | __override_path = concat_str_safe(config_home, strlen(config_home), config_filename, sizeof(config_filename)); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:88:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 88 | strncpy(str, str1, len1); | ^ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:624:72: note: length computed here 624 | __override_path = concat_str_safe(config_home, strlen(config_home), config_filename, sizeof(config_filename)); | ^~~~~~~~~~~~~~~~~~~ [ 13%] Building C object src/CMakeFiles/alternatives.dir/options_parser.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/gcc -DCONFIG_DIR=\"/usr/share/libalternatives\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/etc\" -Dalternatives_EXPORTS -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fvisibility=hidden -Wall -Wextra -Wpedantic -fvisibility=hidden -fPIC -std=gnu99 -MD -MT src/CMakeFiles/alternatives.dir/options_parser.c.o -MF CMakeFiles/alternatives.dir/options_parser.c.o.d -o CMakeFiles/alternatives.dir/options_parser.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/options_parser.c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c: In function 'libalts_exec_default': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.c:693:67: warning: '%s' directive argument is null [-Wformat-overflow=] 693 | fprintf(stderr, "execDefault() failed with target %s\n", (alts ? alts->target : NULL)); | ^~ [ 17%] Building C object src/CMakeFiles/TestLibalternatives.dir/options_parser.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/../test/test_defaults\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/../test\" -DUNITTESTS=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -std=gnu99 -MD -MT src/CMakeFiles/TestLibalternatives.dir/options_parser.c.o -MF CMakeFiles/TestLibalternatives.dir/options_parser.c.o.d -o CMakeFiles/TestLibalternatives.dir/options_parser.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/options_parser.c [ 21%] Building C object src/CMakeFiles/alternatives.dir/config_parser.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/gcc -DCONFIG_DIR=\"/usr/share/libalternatives\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/etc\" -Dalternatives_EXPORTS -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fvisibility=hidden -Wall -Wextra -Wpedantic -fvisibility=hidden -fPIC -std=gnu99 -MD -MT src/CMakeFiles/alternatives.dir/config_parser.c.o -MF CMakeFiles/alternatives.dir/config_parser.c.o.d -o CMakeFiles/alternatives.dir/config_parser.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c: In function 'setBinaryPriority': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c:108:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | asprintf(&state->complete_content, "%s%s%s=%d", content, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109 | strlen(content) == 0 ? "" : "\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | state->binary_name, priority); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c:118:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | asprintf(&state->complete_content, "%s%s%s", content, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | strlen(content) == 0 ? "" : "\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | line); | ~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c:129:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | asprintf(&state->complete_content, "%s%s%s=%d", content, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | strlen(content) == 0 ? "" : "\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | state->binary_name, priority); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26%] Building C object src/CMakeFiles/TestLibalternatives.dir/config_parser.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/../test/test_defaults\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/../test\" -DUNITTESTS=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -std=gnu99 -MD -MT src/CMakeFiles/TestLibalternatives.dir/config_parser.c.o -MF CMakeFiles/TestLibalternatives.dir/config_parser.c.o.d -o CMakeFiles/TestLibalternatives.dir/config_parser.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c: In function 'setBinaryPriority': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c:108:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | asprintf(&state->complete_content, "%s%s%s=%d", content, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109 | strlen(content) == 0 ? "" : "\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 110 | state->binary_name, priority); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c:118:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | asprintf(&state->complete_content, "%s%s%s", content, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | strlen(content) == 0 ? "" : "\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | line); | ~~~~~ /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/config_parser.c:129:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | asprintf(&state->complete_content, "%s%s%s=%d", content, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 130 | strlen(content) == 0 ? "" : "\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | state->binary_name, priority); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 30%] Linking C shared library libalternatives.so cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/alternatives.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--version-script,"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/src/libalternatives.version" -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,libalternatives.so.1 -o libalternatives.so.1.2 CMakeFiles/alternatives.dir/libalternatives.c.o CMakeFiles/alternatives.dir/options_parser.c.o CMakeFiles/alternatives.dir/config_parser.c.o [ 34%] Linking C static library libTestLibalternatives.a cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/cmake -P CMakeFiles/TestLibalternatives.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/TestLibalternatives.dir/link.txt --verbose=1 /usr/bin/ar qc libTestLibalternatives.a CMakeFiles/TestLibalternatives.dir/libalternatives.c.o CMakeFiles/TestLibalternatives.dir/options_parser.c.o CMakeFiles/TestLibalternatives.dir/config_parser.c.o /usr/bin/ranlib libTestLibalternatives.a gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 34%] Built target TestLibalternatives /usr/bin/gmake -f utils/CMakeFiles/TestAlternativeHelper.dir/build.make utils/CMakeFiles/TestAlternativeHelper.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils/CMakeFiles/TestAlternativeHelper.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/gmake -f utils/CMakeFiles/TestAlternativeHelper.dir/build.make utils/CMakeFiles/TestAlternativeHelper.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 39%] Building C object utils/CMakeFiles/TestAlternativeHelper.dir/alternatives.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/../test/test_defaults\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/../test\" -DUNITTESTS=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -std=gnu99 -MD -MT utils/CMakeFiles/TestAlternativeHelper.dir/alternatives.c.o -MF CMakeFiles/TestAlternativeHelper.dir/alternatives.c.o.d -o CMakeFiles/TestAlternativeHelper.dir/alternatives.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/alternatives.c [ 43%] Building C object utils/CMakeFiles/TestAlternativeHelper.dir/group_consistency_rules.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/../test/test_defaults\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/../test\" -DUNITTESTS=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -std=gnu99 -MD -MT utils/CMakeFiles/TestAlternativeHelper.dir/group_consistency_rules.c.o -MF CMakeFiles/TestAlternativeHelper.dir/group_consistency_rules.c.o.d -o CMakeFiles/TestAlternativeHelper.dir/group_consistency_rules.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/group_consistency_rules.c [ 47%] Building C object utils/CMakeFiles/TestAlternativeHelper.dir/list_binaries.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/../test/test_defaults\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/../test\" -DUNITTESTS=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -std=gnu99 -MD -MT utils/CMakeFiles/TestAlternativeHelper.dir/list_binaries.c.o -MF CMakeFiles/TestAlternativeHelper.dir/list_binaries.c.o.d -o CMakeFiles/TestAlternativeHelper.dir/list_binaries.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/list_binaries.c cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/src && /usr/bin/cmake -E cmake_symlink_library libalternatives.so.1.2 libalternatives.so.1 libalternatives.so gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 47%] Built target alternatives /usr/bin/gmake -f test/CMakeFiles/argv_replaced_helper.dir/build.make test/CMakeFiles/argv_replaced_helper.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test/CMakeFiles/argv_replaced_helper.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/gmake -f test/CMakeFiles/argv_replaced_helper.dir/build.make test/CMakeFiles/argv_replaced_helper.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 52%] Linking C static library libTestAlternativeHelper.a cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/cmake -P CMakeFiles/TestAlternativeHelper.dir/cmake_clean_target.cmake [ 56%] Building C object test/CMakeFiles/argv_replaced_helper.dir/argv_replaced_helper.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test && /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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -MD -MT test/CMakeFiles/argv_replaced_helper.dir/argv_replaced_helper.c.o -MF CMakeFiles/argv_replaced_helper.dir/argv_replaced_helper.c.o.d -o CMakeFiles/argv_replaced_helper.dir/argv_replaced_helper.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/argv_replaced_helper.c cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/cmake -E cmake_link_script CMakeFiles/TestAlternativeHelper.dir/link.txt --verbose=1 /usr/bin/ar qc libTestAlternativeHelper.a CMakeFiles/TestAlternativeHelper.dir/alternatives.c.o CMakeFiles/TestAlternativeHelper.dir/group_consistency_rules.c.o CMakeFiles/TestAlternativeHelper.dir/list_binaries.c.o /usr/bin/ranlib libTestAlternativeHelper.a gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 56%] Built target TestAlternativeHelper /usr/bin/gmake -f utils/CMakeFiles/AlternativesHelper.dir/build.make utils/CMakeFiles/AlternativesHelper.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils/CMakeFiles/AlternativesHelper.dir/DependInfo.cmake --color= [ 60%] Linking C executable argv_replaced_helper cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/argv_replaced_helper.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/gmake -f utils/CMakeFiles/AlternativesHelper.dir/build.make utils/CMakeFiles/AlternativesHelper.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 CMakeFiles/argv_replaced_helper.dir/argv_replaced_helper.c.o -o argv_replaced_helper [ 65%] Building C object utils/CMakeFiles/AlternativesHelper.dir/alternatives.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/gcc -DCONFIG_DIR=\"/usr/share/libalternatives\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/etc\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -fpie -MD -MT utils/CMakeFiles/AlternativesHelper.dir/alternatives.c.o -MF CMakeFiles/AlternativesHelper.dir/alternatives.c.o.d -o CMakeFiles/AlternativesHelper.dir/alternatives.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/alternatives.c gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 65%] Built target argv_replaced_helper /usr/bin/gmake -f test/CMakeFiles/units.dir/build.make test/CMakeFiles/units.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test/CMakeFiles/units.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/gmake -f test/CMakeFiles/units.dir/build.make test/CMakeFiles/units.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 69%] Building C object test/CMakeFiles/units.dir/alternatives_tests.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/test_defaults\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -MD -MT test/CMakeFiles/units.dir/alternatives_tests.c.o -MF CMakeFiles/units.dir/alternatives_tests.c.o.d -o CMakeFiles/units.dir/alternatives_tests.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/alternatives_tests.c [ 73%] Building C object utils/CMakeFiles/AlternativesHelper.dir/group_consistency_rules.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/gcc -DCONFIG_DIR=\"/usr/share/libalternatives\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/etc\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -fpie -MD -MT utils/CMakeFiles/AlternativesHelper.dir/group_consistency_rules.c.o -MF CMakeFiles/AlternativesHelper.dir/group_consistency_rules.c.o.d -o CMakeFiles/AlternativesHelper.dir/group_consistency_rules.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/group_consistency_rules.c [ 78%] Building C object utils/CMakeFiles/AlternativesHelper.dir/list_binaries.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/gcc -DCONFIG_DIR=\"/usr/share/libalternatives\" -DCONFIG_FILENAME=\"libalternatives.conf\" -DETC_PATH=\"/etc\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -fpie -MD -MT utils/CMakeFiles/AlternativesHelper.dir/list_binaries.c.o -MF CMakeFiles/AlternativesHelper.dir/list_binaries.c.o.d -o CMakeFiles/AlternativesHelper.dir/list_binaries.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/utils/list_binaries.c [ 82%] Building C object test/CMakeFiles/units.dir/config_parser_tests.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/test_defaults\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -MD -MT test/CMakeFiles/units.dir/config_parser_tests.c.o -MF CMakeFiles/units.dir/config_parser_tests.c.o.d -o CMakeFiles/units.dir/config_parser_tests.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/config_parser_tests.c [ 86%] Linking C executable alts cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/utils && /usr/bin/cmake -E cmake_link_script CMakeFiles/AlternativesHelper.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 CMakeFiles/AlternativesHelper.dir/alternatives.c.o CMakeFiles/AlternativesHelper.dir/group_consistency_rules.c.o CMakeFiles/AlternativesHelper.dir/list_binaries.c.o -o alts ../src/libalternatives.so.1.2 [ 91%] Building C object test/CMakeFiles/units.dir/options_parser_tests.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/test_defaults\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -MD -MT test/CMakeFiles/units.dir/options_parser_tests.c.o -MF CMakeFiles/units.dir/options_parser_tests.c.o.d -o CMakeFiles/units.dir/options_parser_tests.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/options_parser_tests.c gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [ 91%] Built target AlternativesHelper [ 95%] Building C object test/CMakeFiles/units.dir/test.c.o cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test && /usr/bin/gcc -DCONFIG_DIR=\"/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/test_defaults\" -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -Wpedantic -fvisibility=hidden -MD -MT test/CMakeFiles/units.dir/test.c.o -MF CMakeFiles/units.dir/test.c.o.d -o CMakeFiles/units.dir/test.c.o -c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/test.c /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/test.c: In function 'main': /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/test/test.c:107:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | chdir(CONFIG_DIR "/../.."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [100%] Linking C executable units cd /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/units.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 CMakeFiles/units.dir/alternatives_tests.c.o CMakeFiles/units.dir/config_parser_tests.c.o CMakeFiles/units.dir/options_parser_tests.c.o CMakeFiles/units.dir/test.c.o -o units -lcunit ../utils/libTestAlternativeHelper.a ../src/libTestLibalternatives.a gmake[2]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' [100%] Built target units gmake[1]: Leaving directory '/builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fOdK1x + umask 022 + cd /builddir/build/BUILD + '[' '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64' '!=' / ']' + rm -rf '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64' ++ dirname '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64' + mkdir -p /builddir/build/BUILDROOT + mkdir '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64' + 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 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/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 libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + DESTDIR='/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64' + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/pkgconfig/libalternatives.pc -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/libalternatives.so.1.2 -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/libalternatives.so.1 -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/libalternatives.so -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/include/libalternatives.h -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/cmake/libalternatives/libalternativesTargets.cmake -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/cmake/libalternatives/libalternativesTargets-noconfig.cmake -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/cmake/libalternatives/libalternativesConfig.cmake -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/cmake/libalternatives/libalternativesConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/bin/alts -- Installing: /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/man/man1/alts.1 + mkdir -p -m 0755 '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/libalternatives' + mkdir -p -m 0755 '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/libalternatives/libalternatives-unit-test-helper' + cat + cat ++ man /var/tmp/rpm-tmp.fOdK1x: line 58: man: command not found + chmod 755 '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/bin/libalternatives-unit-test-helper.sh' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed '1.2^20220224.23c39ca-1.fc38' --unique-debug-suffix '-1.2^20220224.23c39ca-1.fc38.x86_64' --unique-debug-src-base 'libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 extracting debug info from /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/bin/alts extracting debug info from /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/lib64/libalternatives.so.1.2 original debug info size: 128kB, size after compression: 124kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 117 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/libalternatives-unit-test-helper.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ciQFDS + umask 022 + cd /builddir/build/BUILD + cd libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + DOCDIR='/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/doc/libalternatives' + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/doc/libalternatives' + cp -pr README.md '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/doc/libalternatives' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.50eoYT + umask 022 + cd /builddir/build/BUILD + cd libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + LICENSEDIR='/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/licenses/libalternatives' + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/licenses/libalternatives' + cp -pr COPYING COPYING.LIB '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/licenses/libalternatives' + RPM_EC=0 ++ jobs -p + exit 0 Provides: libalternatives = 1.2^20220224.23c39ca-1.fc38 libalternatives(x86-64) = 1.2^20220224.23c39ca-1.fc38 libalternatives.so.1()(64bit) libalternatives.so.1(ALTS_1)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) rtld(GNU_HASH) Processing files: libalternatives-devel-1.2^20220224.23c39ca-1.fc38.x86_64 Provides: cmake(libalternatives) = 1.2 libalternatives-devel = 1.2^20220224.23c39ca-1.fc38 libalternatives-devel(x86-64) = 1.2^20220224.23c39ca-1.fc38 pkgconfig(libalternatives) = 1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/pkg-config cmake-filesystem(x86-64) libalternatives.so.1()(64bit) Processing files: alts-1.2^20220224.23c39ca-1.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BZbxK1 + umask 022 + cd /builddir/build/BUILD + cd libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + DOCDIR='/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/doc/alts' + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/doc/alts' + cp -pr README.md '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/doc/alts' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.le8Jy3 + umask 022 + cd /builddir/build/BUILD + cd libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + LICENSEDIR='/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/licenses/alts' + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/licenses/alts' + cp -pr COPYING '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64/usr/share/licenses/alts' + RPM_EC=0 ++ jobs -p + exit 0 Provides: alts = 1.2^20220224.23c39ca-1.fc38 alts(x86-64) = 1.2^20220224.23c39ca-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libalternatives.so.1()(64bit) libalternatives.so.1(ALTS_1)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) rtld(GNU_HASH) Processing files: libalternatives-debugsource-1.2^20220224.23c39ca-1.fc38.x86_64 Provides: libalternatives-debugsource = 1.2^20220224.23c39ca-1.fc38 libalternatives-debugsource(x86-64) = 1.2^20220224.23c39ca-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libalternatives-debuginfo-1.2^20220224.23c39ca-1.fc38.x86_64 Provides: debuginfo(build-id) = 7dd1d5ac9ffe463be85483c4b7f74cc9e9a989ae libalternatives-debuginfo = 1.2^20220224.23c39ca-1.fc38 libalternatives-debuginfo(x86-64) = 1.2^20220224.23c39ca-1.fc38 libalternatives.so.1.2-1.2^20220224.23c39ca-1.fc38.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libalternatives-debugsource(x86-64) = 1.2^20220224.23c39ca-1.fc38 Processing files: alts-debuginfo-1.2^20220224.23c39ca-1.fc38.x86_64 Provides: alts-debuginfo = 1.2^20220224.23c39ca-1.fc38 alts-debuginfo(x86-64) = 1.2^20220224.23c39ca-1.fc38 debuginfo(build-id) = 864421977ff5be9f2ce4215fb741deab3fe1ce8b Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libalternatives-debugsource(x86-64) = 1.2^20220224.23c39ca-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64 Wrote: /builddir/build/RPMS/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libalternatives-debuginfo-1.2^20220224.23c39ca-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/alts-1.2^20220224.23c39ca-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libalternatives-debugsource-1.2^20220224.23c39ca-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/libalternatives-devel-1.2^20220224.23c39ca-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/alts-debuginfo-1.2^20220224.23c39ca-1.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6eUYm7 + umask 022 + cd /builddir/build/BUILD + cd libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 + /usr/bin/rm -rf '/builddir/build/BUILDROOT/libalternatives-1.2^20220224.23c39ca-1.fc38.x86_64' + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.tqsuvG + umask 022 + cd /builddir/build/BUILD + rm -rf libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3 libalternatives-23c39ca87ac28be91210e7c0b04f90e0b06b14d3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0