Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librhsm.spec'], chrootPath='/var/lib/mock/dist-oc8-build-38578-12532/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 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/librhsm-0.0.3-5.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps --nocheck /builddir/build/SPECS/librhsm.spec'], chrootPath='/var/lib/mock/dist-oc8-build-38578-12532/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 --target x86_64 --nodeps --nocheck /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': '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.OuLffR + 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 -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd librhsm-0.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PSvhVa + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + 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/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.58.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 C compiler for the host machine: cc (gcc 8.5.0 "cc (GCC) 8.5.0 20210514 (OpenCloudOS 8.5.0-18)") C linker for the host machine: cc ld.bfd 2.30-117 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: /usr/bin/pkg-config (1.4.2) Run-time dependency glib-2.0 found: YES 2.56.4 Run-time dependency gobject-2.0 found: YES 2.56.4 Run-time dependency gio-2.0 found: YES 2.56.4 Run-time dependency json-glib-1.0 found: YES 1.4.4 Run-time dependency openssl found: YES 1.1.1k Build targets in project: 1 Found ninja-1.8.2 at /usr/bin/ninja + /usr/bin/meson compile -C x86_64-redhat-linux-gnu -j 32 --verbose ninja: Entering directory `x86_64-redhat-linux-gnu' [1/5] cc -Irhsm/librhsm.so.0.p -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -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 -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ rhsm/librhsm.so.0.p/rhsm-entitlement-certificate.c.o -MF rhsm/librhsm.so.0.p/rhsm-entitlement-certificate.c.o.d -o rhsm/librhsm.so.0.p/rhsm-entitlement-certificate.c.o -c ../rhsm/rhsm-entitlement-certificate.c ../rhsm/rhsm-entitlement-certificate.c: In function ‘rhsm_entitlement_certificate_init’: ../rhsm/rhsm-entitlement-certificate.c:362:64: warning: unused parameter ‘cert’ [-Wunused-parameter] rhsm_entitlement_certificate_init (RHSMEntitlementCertificate *cert) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ [2/5] cc -Irhsm/librhsm.so.0.p -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -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 -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ rhsm/librhsm.so.0.p/rhsm-product-certificate.c.o -MF rhsm/librhsm.so.0.p/rhsm-product-certificate.c.o.d -o rhsm/librhsm.so.0.p/rhsm-product-certificate.c.o -c ../rhsm/rhsm-product-certificate.c ../rhsm/rhsm-product-certificate.c: In function ‘rhsm_product_certificate_init’: ../rhsm/rhsm-product-certificate.c:490:56: warning: unused parameter ‘cert’ [-Wunused-parameter] rhsm_product_certificate_init (RHSMProductCertificate *cert) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ [3/5] cc -Irhsm/librhsm.so.0.p -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -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 -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ rhsm/librhsm.so.0.p/rhsm-context.c.o -MF rhsm/librhsm.so.0.p/rhsm-context.c.o.d -o rhsm/librhsm.so.0.p/rhsm-context.c.o -c ../rhsm/rhsm-context.c ../rhsm/rhsm-context.c: In function ‘rhsm_context_init’: ../rhsm/rhsm-context.c:646:33: warning: unused parameter ‘ctx’ [-Wunused-parameter] rhsm_context_init (RHSMContext *ctx) ~~~~~~~~~~~~~^~~ [4/5] cc -Irhsm/librhsm.so.0.p -Irhsm -I../rhsm -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -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 -fPIC -pthread -DRHSM_COMPILATION '-DG_LOG_DOMAIN="librhsm"' -MD -MQ rhsm/librhsm.so.0.p/rhsm-utils.c.o -MF rhsm/librhsm.so.0.p/rhsm-utils.c.o.d -o rhsm/librhsm.so.0.p/rhsm-utils.c.o -c ../rhsm/rhsm-utils.c [5/5] cc -o rhsm/librhsm.so.0 rhsm/librhsm.so.0.p/rhsm-context.c.o rhsm/librhsm.so.0.p/rhsm-entitlement-certificate.c.o rhsm/librhsm.so.0.p/rhsm-product-certificate.c.o rhsm/librhsm.so.0.p/rhsm-utils.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,librhsm.so.0 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 /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.pTBrS3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64 ++ dirname /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64 + cd librhsm-0.0.3 + DESTDIR=/builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64 + /usr/bin/meson install -C x86_64-redhat-linux-gnu --no-rebuild Installing rhsm/librhsm.so.0 to /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/lib64 Installing /builddir/build/BUILD/librhsm-0.0.3/rhsm/rhsm-context.h to /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.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-5.oc8.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-5.oc8.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-5.oc8.x86_64/usr/include/rhsm Installing /builddir/build/BUILD/librhsm-0.0.3/rhsm/rhsm.h to /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.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-5.oc8.x86_64/usr/lib64/pkgconfig + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.0.3-5.oc8 --unique-debug-suffix -0.0.3-5.oc8.x86_64 --unique-debug-src-base librhsm-0.0.3-5.oc8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/librhsm-0.0.3 extracting debug info from /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/lib64/librhsm.so.0 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 130 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: librhsm-0.0.3-5.oc8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LT2Apv + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/share/doc/librhsm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/share/doc/librhsm + cp -pr README.md /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/share/doc/librhsm + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MxgyJG + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/share/licenses/librhsm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/share/licenses/librhsm + cp -pr COPYING /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64/usr/share/licenses/librhsm + exit 0 Provides: librhsm = 0.0.3-5.oc8 librhsm(x86-64) = 0.0.3-5.oc8 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.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(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-5.oc8.x86_64 Provides: librhsm-devel = 0.0.3-5.oc8 librhsm-devel(x86-64) = 0.0.3-5.oc8 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) >= 1.2 pkgconfig(glib-2.0) >= 2.44 pkgconfig(gobject-2.0) >= 2.44 pkgconfig(json-glib-1.0) >= 1.2 pkgconfig(openssl) Processing files: librhsm-debugsource-0.0.3-5.oc8.x86_64 Provides: librhsm-debugsource = 0.0.3-5.oc8 librhsm-debugsource(x86-64) = 0.0.3-5.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: librhsm-debuginfo-0.0.3-5.oc8.x86_64 Provides: debuginfo(build-id) = 9465e0e45ae13f0b077d67d134ed1ee03bf51700 librhsm-debuginfo = 0.0.3-5.oc8 librhsm-debuginfo(x86-64) = 0.0.3-5.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: librhsm-debugsource(x86-64) = 0.0.3-5.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64 Wrote: /builddir/build/RPMS/librhsm-0.0.3-5.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/librhsm-devel-0.0.3-5.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/librhsm-debugsource-0.0.3-5.oc8.x86_64.rpm Wrote: /builddir/build/RPMS/librhsm-debuginfo-0.0.3-5.oc8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hfXcc6 + umask 022 + cd /builddir/build/BUILD + cd librhsm-0.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/librhsm-0.0.3-5.oc8.x86_64 + exit 0 Child return code was: 0