Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16-pg_squeeze.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-242989-22649/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16-pg_squeeze.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/postgresql16-pg_squeeze-1.6.2-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16-pg_squeeze.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-242989-22649/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/postgresql16-pg_squeeze.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YtikNn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pg_squeeze-REL1_6_2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/REL1_6_2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pg_squeeze-REL1_6_2 + /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.52hoee + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pg_squeeze-REL1_6_2 + USE_PGXS=1 + PG_CONFIG=/usr/bin/pg_config + /usr/bin/make -O -j32 V=1 VERBOSE=1 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgstatapprox.o pgstatapprox.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o concurrent.o concurrent.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o worker.o worker.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pg_squeeze.o pg_squeeze.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -fvisibility=hidden -shared -o pg_squeeze.so pg_squeeze.o concurrent.o worker.o pgstatapprox.o -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--as-needed -fvisibility=hidden + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BUvfQf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 + cd pg_squeeze-REL1_6_2 + USE_PGXS=1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/lib64/pgsql' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/doc/pgsql/extension' /usr/bin/install -p -m 755 pg_squeeze.so '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/lib64/pgsql/pg_squeeze.so' /usr/bin/install -p -m 644 .//pg_squeeze.control '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/pgsql/extension/' /usr/bin/install -p -m 644 .//pg_squeeze--1.2.sql .//pg_squeeze--1.2--1.3.sql .//pg_squeeze--1.3--1.4.sql .//pg_squeeze--1.4--1.5.sql .//pg_squeeze--1.5--1.6.sql '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/pgsql/extension/' /usr/bin/install -p -m 644 .//pg_squeeze.md '/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/doc/pgsql/extension/' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/doc/pgsql/extension/ + /usr/bin/cp README.md /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/doc/pgsql/extension/README-pg_squeeze.md + rm -f /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64//usr/share/doc/pgsql/extension/pg_squeeze.md + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.6.2-3.ocs23 --unique-debug-suffix -1.6.2-3.ocs23.loongarch64 --unique-debug-src-base postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/pg_squeeze-REL1_6_2 extracting debug info from /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/lib64/pgsql/pg_squeeze.so 367 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fJqd93 + umask 022 + cd /builddir/build/BUILD + cd pg_squeeze-REL1_6_2 + LICENSEDIR=/builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/licenses/postgresql16-pg_squeeze + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/licenses/postgresql16-pg_squeeze + cp -pr LICENSE /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64/usr/share/licenses/postgresql16-pg_squeeze + RPM_EC=0 ++ jobs -p + exit 0 Provides: postgresql16-pg_squeeze = 1.6.2-3.ocs23 postgresql16-pg_squeeze(loongarch-64) = 1.6.2-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Obsoletes: pg_squeeze16 < 1.3.0-2 Processing files: postgresql16-pg_squeeze-debugsource-1.6.2-3.ocs23.loongarch64 Provides: postgresql16-pg_squeeze-debugsource = 1.6.2-3.ocs23 postgresql16-pg_squeeze-debugsource(loongarch-64) = 1.6.2-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: postgresql16-pg_squeeze-debuginfo-1.6.2-3.ocs23.loongarch64 Provides: debuginfo(build-id) = 7a6c8f88074362a09fc09c932ef03739a421b55d postgresql16-pg_squeeze-debuginfo = 1.6.2-3.ocs23 postgresql16-pg_squeeze-debuginfo(loongarch-64) = 1.6.2-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: postgresql16-pg_squeeze-debugsource(loongarch-64) = 1.6.2-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64 Wrote: /builddir/build/RPMS/postgresql16-pg_squeeze-1.6.2-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/postgresql16-pg_squeeze-debugsource-1.6.2-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/postgresql16-pg_squeeze-debuginfo-1.6.2-3.ocs23.loongarch64.rpm Child return code was: 0