Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtracefs.spec'], chrootPath='/var/lib/mock/dist-oc8-build-74952-51806/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtracefs.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/libtracefs-1.3.1-3.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/libtracefs.spec'], chrootPath='/var/lib/mock/dist-oc8-build-74952-51806/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/libtracefs.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.fiMVst + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtracefs-1.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libtracefs-1.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtracefs-1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libtracefs-1.0.2-harden-linking.patch): + echo 'Patch #0 (libtracefs-1.0.2-harden-linking.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/utils.mk Hunk #1 succeeded at 73 (offset 17 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x3Pxtt + umask 022 + cd /builddir/build/BUILD + cd libtracefs-1.3.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 + export GCCLDFLAGS=-Wl,-z,now + GCCLDFLAGS=-Wl,-z,now + /usr/bin/make -O -j32 prefix=/usr libdir=/usr/lib64 all which: no valgrind in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) UPDATE build_prefix UPDATE tfs_version.h DESCEND src libtracefs.a COMPILE FPIC tracefs-utils.o COMPILE FPIC tracefs-instance.o COMPILE FPIC tracefs-events.o COMPILE FPIC tracefs-tools.o COMPILE FPIC tracefs-marker.o COMPILE FPIC tracefs-kprobes.o COMPILE FPIC tracefs-hist.o COMPILE FPIC tracefs-filter.o COMPILE FPIC tracefs-dynevents.o COMPILE FPIC tracefs-eprobes.o COMPILE FPIC sqlhist-lex.o COMPILE FPIC sqlhist.tab.o COMPILE FPIC tracefs-sqlhist.o BUILD STATIC LIB libtracefs.a make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. tracefs-events.c: In function 'tracefs_system_events': tracefs-events.c:585:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&system_dir, "%s/events/%s", tracing_dir, system); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracefs-sqlhist.c: In function 'build_filter': tracefs-sqlhist.c:1104:8: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = append_filter(synth, TRACEFS_FILTER_COMPARE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter->lval->field.field, cmp, val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracefs-sqlhist.c: In function 'tracefs_sql': tracefs-sqlhist.c:854:29: warning: 'end_system' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lval->system == system && ~~~~~~~~~~~~~~~~~~~~~~~^~ lval->event_name == event) { ~~~~~~~~~~~~~~~~~~~~~~~~~ tracefs-sqlhist.c:1370:14: note: 'end_system' was declared here const char *end_system; ^~~~~~~~~~ DESCEND src libtracefs.so COMPILE FPIC tracefs-utils.o COMPILE FPIC tracefs-instance.o COMPILE FPIC tracefs-events.o COMPILE FPIC tracefs-tools.o COMPILE FPIC tracefs-marker.o COMPILE FPIC tracefs-kprobes.o COMPILE FPIC tracefs-hist.o COMPILE FPIC tracefs-filter.o COMPILE FPIC tracefs-dynevents.o COMPILE FPIC tracefs-eprobes.o COMPILE FPIC sqlhist-lex.o COMPILE FPIC sqlhist.tab.o COMPILE FPIC tracefs-sqlhist.o COMPILE SHARED LIB libtracefs.so.1.3.1 make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. tracefs-events.c: In function 'tracefs_system_events': tracefs-events.c:585:2: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&system_dir, "%s/events/%s", tracing_dir, system); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracefs-sqlhist.c: In function 'build_filter': tracefs-sqlhist.c:1104:8: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = append_filter(synth, TRACEFS_FILTER_COMPARE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter->lval->field.field, cmp, val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracefs-sqlhist.c: In function 'tracefs_sql': tracefs-sqlhist.c:854:29: warning: 'end_system' may be used uninitialized in this function [-Wmaybe-uninitialized] if (lval->system == system && ~~~~~~~~~~~~~~~~~~~~~~~^~ lval->event_name == event) { ~~~~~~~~~~~~~~~~~~~~~~~~~ tracefs-sqlhist.c:1370:14: note: 'end_system' was declared here const char *end_system; ^~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vHkQZK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64 ++ dirname /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64 + cd libtracefs-1.3.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 + export GCCLDFLAGS=-Wl,-z,now + GCCLDFLAGS=-Wl,-z,now + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64 'INSTALL=/usr/bin/install -p' prefix=/usr libdir=/usr/lib64 which: no valgrind in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) DESCEND src libtracefs.a BUILD STATIC LIB libtracefs.a DESCEND src libtracefs.so INSTALL /builddir/build/BUILD/libtracefs-1.3.1/libtracefs.pc to /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/lib64/pkgconfig INSTALL /builddir/build/BUILD/libtracefs-1.3.1/lib/libtracefs.so.1.3.1 to /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/lib64 INSTALL /builddir/build/BUILD/libtracefs-1.3.1/include/tracefs.h to /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/include/tracefs + rm -rf /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64//usr/lib64/libtracefs.a + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.3.1-3.oc8 --unique-debug-suffix -1.3.1-3.oc8.x86_64 --unique-debug-src-base libtracefs-1.3.1-3.oc8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libtracefs-1.3.1 extracting debug info from /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/lib64/libtracefs.so.1.3.1 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 770 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libtracefs-1.3.1-3.oc8.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oRPhVU + umask 022 + cd /builddir/build/BUILD + cd libtracefs-1.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/share/licenses/libtracefs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/share/licenses/libtracefs + cp -pr LICENSES/LGPL-2.1 /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/share/licenses/libtracefs + cp -pr LICENSES/GPL-2.0 /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64/usr/share/licenses/libtracefs + exit 0 Provides: libtracefs = 1.3.1-3.oc8 libtracefs(x86-64) = 1.3.1-3.oc8 libtracefs.so.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.14)(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.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libtraceevent.so.1()(64bit) rtld(GNU_HASH) Processing files: libtracefs-devel-1.3.1-3.oc8.x86_64 Provides: libtracefs-devel = 1.3.1-3.oc8 libtracefs-devel(x86-64) = 1.3.1-3.oc8 pkgconfig(libtracefs) = 1.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libtracefs.so.1()(64bit) pkgconfig(libtraceevent) > 1.3 Processing files: libtracefs-debugsource-1.3.1-3.oc8.x86_64 Provides: libtracefs-debugsource = 1.3.1-3.oc8 libtracefs-debugsource(x86-64) = 1.3.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libtracefs-debuginfo-1.3.1-3.oc8.x86_64 Provides: debuginfo(build-id) = 04d3ad69f4158a66b608ac41269621e52c6f893c libtracefs-debuginfo = 1.3.1-3.oc8 libtracefs-debuginfo(x86-64) = 1.3.1-3.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libtracefs-debugsource(x86-64) = 1.3.1-3.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libtracefs-1.3.1-3.oc8.x86_64 Wrote: /builddir/build/RPMS/libtracefs-1.3.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/libtracefs-devel-1.3.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/libtracefs-debugsource-1.3.1-3.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/libtracefs-debuginfo-1.3.1-3.oc8.x86_64.rpm Child return code was: 0