Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librepo.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-219634-62058/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librepo.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/librepo-1.15.1-1.an8.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/librepo.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-219634-62058/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librepo.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.6m1bXJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librepo-1.15.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/librepo-1.15.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd librepo-1.15.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MmdfnR + umask 022 + cd /builddir/build/BUILD + cd librepo-1.15.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -S . -B x86_64-redhat-linux-gnu -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_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 -DWITH_ZCHUNK=OFF -- The C compiler identification is GNU 8.5.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 Deprecation Warning at CMakeLists.txt:2 (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. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for modules 'glib-2.0>=2.28;gio-2.0' -- Found glib-2.0, version 2.56.4 -- Found gio-2.0, version 2.56.4 -- Checking for one of the modules 'libcrypto;openssl' -- Checking for module 'libxml-2.0' -- Found libxml-2.0, version 2.9.7 -- Found CURL: /usr/lib64/libcurl.so (found suitable version "7.61.1", minimum required is "7.52.0") -- Found gpgme-config at /usr/bin/gpgme-config -- Found gpgme v1.13.1, checking for flavours... -- Found flavour 'vanilla', checking whether it's usable...yes -- Found flavour 'pthread', checking whether it's usable...yes -- Usable gpgme flavours found: vanilla pthread -- Found PythonInterp: /usr/bin/python3 (found suitable exact version "3.6.8") -- Found PythonLibs: /usr/lib64/libpython3.6m.so (found version "3.6.8") Building python bindings -- Python3 install dir is /usr/lib64/python3.6/site-packages -- Checking for module 'check' -- Found check, version 0.12.0 -- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen missing components: dot -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu + /usr/bin/cmake --build x86_64-redhat-linux-gnu -j64 --verbose /usr/bin/cmake -S/builddir/build/BUILD/librepo-1.15.1 -B/builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu' /usr/bin/gmake -f librepo/CMakeFiles/librepo.dir/build.make librepo/CMakeFiles/librepo.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu' cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/librepo-1.15.1 /builddir/build/BUILD/librepo-1.15.1/librepo /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo/CMakeFiles/librepo.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu' /usr/bin/gmake -f librepo/CMakeFiles/librepo.dir/build.make librepo/CMakeFiles/librepo.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu' [ 1%] Building C object librepo/CMakeFiles/librepo.dir/downloadtarget.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/downloadtarget.c.o -MF CMakeFiles/librepo.dir/downloadtarget.c.o.d -o CMakeFiles/librepo.dir/downloadtarget.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/downloadtarget.c [ 3%] Building C object librepo/CMakeFiles/librepo.dir/checksum.c.o [ 5%] Building C object librepo/CMakeFiles/librepo.dir/mirrorlist.c.o [ 7%] Building C object librepo/CMakeFiles/librepo.dir/downloader.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/checksum.c.o -MF CMakeFiles/librepo.dir/checksum.c.o.d -o CMakeFiles/librepo.dir/checksum.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/checksum.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/mirrorlist.c.o -MF CMakeFiles/librepo.dir/mirrorlist.c.o.d -o CMakeFiles/librepo.dir/mirrorlist.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/mirrorlist.c [ 9%] Building C object librepo/CMakeFiles/librepo.dir/fastestmirror.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/downloader.c.o -MF CMakeFiles/librepo.dir/downloader.c.o.d -o CMakeFiles/librepo.dir/downloader.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/downloader.c [ 11%] Building C object librepo/CMakeFiles/librepo.dir/gpg.c.o [ 13%] Building C object librepo/CMakeFiles/librepo.dir/handle.c.o [ 15%] Building C object librepo/CMakeFiles/librepo.dir/lrmirrorlist.c.o [ 17%] Building C object librepo/CMakeFiles/librepo.dir/metadata_downloader.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/fastestmirror.c.o -MF CMakeFiles/librepo.dir/fastestmirror.c.o.d -o CMakeFiles/librepo.dir/fastestmirror.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/fastestmirror.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/gpg.c.o -MF CMakeFiles/librepo.dir/gpg.c.o.d -o CMakeFiles/librepo.dir/gpg.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/gpg.c [ 19%] Building C object librepo/CMakeFiles/librepo.dir/metalink.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/handle.c.o -MF CMakeFiles/librepo.dir/handle.c.o.d -o CMakeFiles/librepo.dir/handle.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/lrmirrorlist.c.o -MF CMakeFiles/librepo.dir/lrmirrorlist.c.o.d -o CMakeFiles/librepo.dir/lrmirrorlist.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/lrmirrorlist.c [ 21%] Building C object librepo/CMakeFiles/librepo.dir/package_downloader.c.o [ 23%] Building C object librepo/CMakeFiles/librepo.dir/rcodes.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/metadata_downloader.c.o -MF CMakeFiles/librepo.dir/metadata_downloader.c.o.d -o CMakeFiles/librepo.dir/metadata_downloader.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/metadata_downloader.c [ 25%] Building C object librepo/CMakeFiles/librepo.dir/repoconf.c.o [ 26%] Building C object librepo/CMakeFiles/librepo.dir/repomd.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/metalink.c.o -MF CMakeFiles/librepo.dir/metalink.c.o.d -o CMakeFiles/librepo.dir/metalink.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/metalink.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/package_downloader.c.o -MF CMakeFiles/librepo.dir/package_downloader.c.o.d -o CMakeFiles/librepo.dir/package_downloader.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/package_downloader.c [ 28%] Building C object librepo/CMakeFiles/librepo.dir/repoutil_yum.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/rcodes.c.o -MF CMakeFiles/librepo.dir/rcodes.c.o.d -o CMakeFiles/librepo.dir/rcodes.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/rcodes.c [ 32%] Building C object librepo/CMakeFiles/librepo.dir/result.c.o [ 32%] Building C object librepo/CMakeFiles/librepo.dir/xmlparser.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/repoconf.c.o -MF CMakeFiles/librepo.dir/repoconf.c.o.d -o CMakeFiles/librepo.dir/repoconf.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/repoconf.c [ 34%] Building C object librepo/CMakeFiles/librepo.dir/url_substitution.c.o [ 36%] Building C object librepo/CMakeFiles/librepo.dir/util.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/repomd.c.o -MF CMakeFiles/librepo.dir/repomd.c.o.d -o CMakeFiles/librepo.dir/repomd.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/repomd.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/repoutil_yum.c.o -MF CMakeFiles/librepo.dir/repoutil_yum.c.o.d -o CMakeFiles/librepo.dir/repoutil_yum.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/repoutil_yum.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/result.c.o -MF CMakeFiles/librepo.dir/result.c.o.d -o CMakeFiles/librepo.dir/result.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/result.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/util.c.o -MF CMakeFiles/librepo.dir/util.c.o.d -o CMakeFiles/librepo.dir/util.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/util.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/url_substitution.c.o -MF CMakeFiles/librepo.dir/url_substitution.c.o.d -o CMakeFiles/librepo.dir/url_substitution.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/url_substitution.c [ 38%] Building C object librepo/CMakeFiles/librepo.dir/yum.c.o cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/xmlparser.c.o -MF CMakeFiles/librepo.dir/xmlparser.c.o.d -o CMakeFiles/librepo.dir/xmlparser.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/xmlparser.c cd /builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu/librepo && /usr/bin/cc -DG_LOG_DOMAIN=\"librepo\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Dlibrepo_EXPORTS -I/builddir/build/BUILD/librepo-1.15.1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=c99 -Wall -fPIC -MD -MT librepo/CMakeFiles/librepo.dir/yum.c.o -MF CMakeFiles/librepo.dir/yum.c.o.d -o CMakeFiles/librepo.dir/yum.c.o -c /builddir/build/BUILD/librepo-1.15.1/librepo/yum.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:194, from /usr/lib/gcc/x86_64-redhat-linux/8/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/8/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:24: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:24: /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c: In function 'lr_handle_network_wait': /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:917:15: error: unknown type name 'GUri_autoptr' g_autoptr(GUri) uri = g_uri_parse(baseurl, G_URI_FLAGS_NONE, NULL); ^~~~ /usr/include/glib-2.0/glib/gmacros.h:442:43: note: in definition of macro '_GLIB_AUTOPTR_TYPENAME' #define _GLIB_AUTOPTR_TYPENAME(TypeName) TypeName##_autoptr ^~~~~~~~ /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:917:5: note: in expansion of macro 'g_autoptr' g_autoptr(GUri) uri = g_uri_parse(baseurl, G_URI_FLAGS_NONE, NULL); ^~~~~~~~~ /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:917:5: error: cleanup argument not a function /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:917:27: warning: implicit declaration of function 'g_uri_parse'; did you mean 'g_variant_parse'? [-Wimplicit-function-declaration] g_autoptr(GUri) uri = g_uri_parse(baseurl, G_URI_FLAGS_NONE, NULL); ^~~~~~~~~~~ g_variant_parse /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:917:48: error: 'G_URI_FLAGS_NONE' undeclared (first use in this function); did you mean 'G_RESOURCE_FLAGS_NONE'? g_autoptr(GUri) uri = g_uri_parse(baseurl, G_URI_FLAGS_NONE, NULL); ^~~~~~~~~~~~~~~~ G_RESOURCE_FLAGS_NONE /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:917:48: note: each undeclared identifier is reported only once for each function it appears in /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:918:13: warning: comparison between pointer and integer if (uri == NULL) { ^~ /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:921:27: warning: implicit declaration of function 'g_uri_get_scheme'; did you mean 'g_uri_parse_scheme'? [-Wimplicit-function-declaration] const gchar* scheme = g_uri_get_scheme(uri); ^~~~~~~~~~~~~~~~ g_uri_parse_scheme /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:921:27: warning: initialization of 'const gchar *' {aka 'const char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:925:25: warning: implicit declaration of function 'g_uri_get_host'; did you mean 'g_mount_get_root'? [-Wimplicit-function-declaration] const gchar* host = g_uri_get_host(uri); ^~~~~~~~~~~~~~ g_mount_get_root /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:925:25: warning: initialization of 'const gchar *' {aka 'const char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] /builddir/build/BUILD/librepo-1.15.1/librepo/handle.c:926:20: warning: implicit declaration of function 'g_uri_get_port'; did you mean 'g_mount_get_root'? [-Wimplicit-function-declaration] guint16 port = g_uri_get_port(uri); ^~~~~~~~~~~~~~ g_mount_get_root gmake[2]: *** [librepo/CMakeFiles/librepo.dir/build.make:149: librepo/CMakeFiles/librepo.dir/handle.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu' gmake[1]: Leaving directory '/builddir/build/BUILD/librepo-1.15.1/x86_64-redhat-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:220: librepo/CMakeFiles/librepo.dir/all] Error 2 gmake: *** [Makefile:149: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.MmdfnR (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MmdfnR (%build) 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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librepo.spec