Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librhsm.spec'], chrootPath='/var/lib/mock/871081-epel-7-x86_64-1553087810.994702/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od_p5_r7:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'be95e99bd9524fd89c8d65f2ea3cc6e6', '-D', '/var/lib/mock/871081-epel-7-x86_64-1553087810.994702/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od_p5_r7:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librhsm.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/librhsm-0.0.3-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librhsm.spec'], chrootPath='/var/lib/mock/871081-epel-7-x86_64-1553087810.994702/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od_p5_r7:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aa33223b72bb4c7e9e4465c445e2b1a6', '-D', '/var/lib/mock/871081-epel-7-x86_64-1553087810.994702/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.od_p5_r7:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librhsm.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EHFppV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librhsm-0.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/librhsm-0.0.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd librhsm-0.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O5SBbs + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export 'FFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export 'FCFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export 'LDFLAGS=-Wl,-z,relro ' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu The Meson build system Version: 0.47.2 Source dir: /builddir/build/BUILD/librhsm-0.0.3 Build dir: /builddir/build/BUILD/librhsm-0.0.3/x86_64-redhat-linux-gnu Build type: native build Project name: librhsm Project version: 0.0.3 Appending CFLAGS from environment: '-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' Appending LDFLAGS from environment: '-Wl,-z,relro ' Native C compiler: cc (gcc 4.8.5 "cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)") Build machine cpu family: x86_64 Build machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (0.27.1) Native dependency glib-2.0 found: YES 2.56.1 Native dependency gobject-2.0 found: YES 2.56.1 Native dependency gio-2.0 found: YES 2.56.1 Native dependency json-glib-1.0 found: YES 1.4.2 Native dependency openssl found: YES 1.0.2k Build targets in project: 1 Option b_asneeded is: True [default: True] Option b_lundef is: True [default: True] Found ninja-1.7.2 at /usr/bin/ninja-build + /usr/bin/ninja-build -v -j2 -C x86_64-redhat-linux-gnu ninja: Entering directory `x86_64-redhat-linux-gnu' [1/5] cc -Irhsm/rhsm@@rhsm@sha -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -O2 -g -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ 'rhsm/rhsm@@rhsm@sha/rhsm-utils.c.o' -MF 'rhsm/rhsm@@rhsm@sha/rhsm-utils.c.o.d' -o 'rhsm/rhsm@@rhsm@sha/rhsm-utils.c.o' -c ../rhsm/rhsm-utils.c [2/5] cc -Irhsm/rhsm@@rhsm@sha -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -O2 -g -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ 'rhsm/rhsm@@rhsm@sha/rhsm-context.c.o' -MF 'rhsm/rhsm@@rhsm@sha/rhsm-context.c.o.d' -o 'rhsm/rhsm@@rhsm@sha/rhsm-context.c.o' -c ../rhsm/rhsm-context.c [3/5] cc -Irhsm/rhsm@@rhsm@sha -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -O2 -g -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ 'rhsm/rhsm@@rhsm@sha/rhsm-entitlement-certificate.c.o' -MF 'rhsm/rhsm@@rhsm@sha/rhsm-entitlement-certificate.c.o.d' -o 'rhsm/rhsm@@rhsm@sha/rhsm-entitlement-certificate.c.o' -c ../rhsm/rhsm-entitlement-certificate.c [4/5] cc -Irhsm/rhsm@@rhsm@sha -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -pipe -D_FILE_OFFSET_BITS=64 -std=gnu11 -O2 -g -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ 'rhsm/rhsm@@rhsm@sha/rhsm-product-certificate.c.o' -MF 'rhsm/rhsm@@rhsm@sha/rhsm-product-certificate.c.o.d' -o 'rhsm/rhsm@@rhsm@sha/rhsm-product-certificate.c.o' -c ../rhsm/rhsm-product-certificate.c [5/5] cc -o rhsm/librhsm.so.0 'rhsm/rhsm@@rhsm@sha/rhsm-context.c.o' 'rhsm/rhsm@@rhsm@sha/rhsm-entitlement-certificate.c.o' 'rhsm/rhsm@@rhsm@sha/rhsm-product-certificate.c.o' 'rhsm/rhsm@@rhsm@sha/rhsm-utils.c.o' -Wl,--no-undefined -Wl,--as-needed -shared -fPIC -Wl,--start-group -Wl,-soname,librhsm.so.0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro /usr/lib64/libglib-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so -Wl,--end-group + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eXMaE2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64 + cd librhsm-0.0.3 + DESTDIR=/builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64 + /usr/bin/ninja-build install -v -j2 -C x86_64-redhat-linux-gnu ninja: Entering directory `x86_64-redhat-linux-gnu' [0/1] /usr/bin/python3.6 /usr/bin/meson install --no-rebuild Installing rhsm/librhsm.so.0 to /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/lib64 Installing /builddir/build/BUILD/librhsm-0.0.3/rhsm/rhsm-context.h to /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/include/rhsm Installing /builddir/build/BUILD/librhsm-0.0.3/rhsm/rhsm-entitlement-certificate.h to /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/include/rhsm Installing /builddir/build/BUILD/librhsm-0.0.3/rhsm/rhsm-product-certificate.h to /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/include/rhsm Installing /builddir/build/BUILD/librhsm-0.0.3/rhsm/rhsm-utils.h to /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/include/rhsm Installing /builddir/build/BUILD/librhsm-0.0.3/rhsm/rhsm.h to /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/include/rhsm Installing /builddir/build/BUILD/librhsm-0.0.3/x86_64-redhat-linux-gnu/meson-private/librhsm.pc to /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/lib64/pkgconfig + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/librhsm-0.0.3 extracting debug info from /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/lib64/librhsm.so.0 BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/librhsm.so.0.debug to /usr/lib/debug/usr/lib64/librhsm.so.debug BUILDSTDERR: 124 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: librhsm-0.0.3-2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iJaeKE + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/share/doc/librhsm-0.0.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/share/doc/librhsm-0.0.3 + cp -pr README.md /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/share/doc/librhsm-0.0.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.O5iRRg + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/share/licenses/librhsm-0.0.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/share/licenses/librhsm-0.0.3 + cp -pr COPYING /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64/usr/share/licenses/librhsm-0.0.3 + exit 0 Provides: librhsm = 0.0.3-2.el7 librhsm(x86-64) = 0.0.3-2.el7 librhsm.so.0()(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.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libjson-glib-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: librhsm-devel-0.0.3-2.el7.x86_64 Provides: librhsm-devel = 0.0.3-2.el7 librhsm-devel(x86-64) = 0.0.3-2.el7 pkgconfig(librhsm) = 0.0.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config librhsm.so.0()(64bit) pkgconfig(gio-2.0) >= 2.44 pkgconfig(glib-2.0) >= 2.44 pkgconfig(gobject-2.0) >= 2.44 pkgconfig(json-glib-1.0) >= 1.2 pkgconfig(openssl) Processing files: librhsm-debuginfo-0.0.3-2.el7.x86_64 Provides: librhsm-debuginfo = 0.0.3-2.el7 librhsm-debuginfo(x86-64) = 0.0.3-2.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64 Wrote: /builddir/build/RPMS/librhsm-0.0.3-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/librhsm-devel-0.0.3-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/librhsm-debuginfo-0.0.3-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.coye0K + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/librhsm-0.0.3-2.el7.x86_64 + exit 0 Child return code was: 0