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_partman.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-218743-16669/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_partman.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_partman-5.1.0-2.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_partman.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-218743-16669/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_partman.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.o6c6Vs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pg_partman-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pg_partman-5.1.0 + /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.g1jamq + 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_partman-5.1.0 + find . -iname '*.py' -exec sed -i 's/\/usr\/bin\/env python/\/usr\/bin\/python3/g' '{}' ';' + USE_PGXS=1 + /usr/bin/make -O -j32 V=1 VERBOSE=1 cat sql/types/types.sql sql/tables/tables.sql sql/functions/apply_cluster.sql sql/functions/apply_constraints.sql sql/functions/apply_privileges.sql sql/functions/autovacuum_off.sql sql/functions/autovacuum_reset.sql sql/functions/calculate_time_partition_info.sql sql/functions/check_control_type.sql sql/functions/check_default.sql sql/functions/check_name_length.sql sql/functions/check_subpart_sameconfig.sql sql/functions/check_subpartition_limits.sql sql/functions/create_parent.sql sql/functions/create_partition_id.sql sql/functions/create_partition_time.sql sql/functions/create_sub_parent.sql sql/functions/drop_constraints.sql sql/functions/drop_partition_id.sql sql/functions/drop_partition_time.sql sql/functions/dump_partitioned_table_definition.sql sql/functions/inherit_replica_identity.sql sql/functions/inherit_template_properties.sql sql/functions/partition_data_id.sql sql/functions/partition_data_time.sql sql/functions/partition_gap_fill.sql sql/functions/reapply_privileges.sql sql/functions/run_maintenance.sql sql/functions/show_partition_info.sql sql/functions/show_partition_name.sql sql/functions/show_partitions.sql sql/functions/stop_sub_partition.sql sql/functions/undo_partition.sql sql/procedures/partition_data_proc.sql sql/procedures/reapply_constraints_proc.sql sql/procedures/run_analyze.sql sql/procedures/run_maintenance_proc.sql sql/procedures/undo_partition_proc.sql > sql/pg_partman--5.1.0.sql 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 src/pg_partman_bgw.o src/pg_partman_bgw.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 src/pg_partman_bgw.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 -shared -o src/pg_partman_bgw.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0Wgoeg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64 + cd pg_partman-5.1.0 + USE_PGXS=1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/lib64/pgsql' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/share/doc/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/bin' /usr/bin/install -p -m 644 .//pg_partman.control '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/share/pgsql/extension/' /usr/bin/install -p -m 644 .//updates/pg_partman--0.1.0--0.1.1.sql .//updates/pg_partman--0.1.1--0.1.2.sql .//updates/pg_partman--0.1.2--0.2.0.sql .//updates/pg_partman--0.2.0--0.3.0.sql .//updates/pg_partman--0.3.0--0.3.1.sql .//updates/pg_partman--0.3.1--0.3.2.sql .//updates/pg_partman--0.3.2--0.4.0.sql .//updates/pg_partman--0.4.0--0.4.1.sql .//updates/pg_partman--0.4.1--0.4.2.sql .//updates/pg_partman--0.4.2--1.0.0.sql .//updates/pg_partman--1.0.0--1.1.0.sql .//updates/pg_partman--1.1.0--1.2.0.sql .//updates/pg_partman--1.2.0--1.3.0.sql .//updates/pg_partman--1.3.0--1.4.0.sql .//updates/pg_partman--1.4.0--1.4.1.sql .//updates/pg_partman--1.4.1--1.4.2.sql .//updates/pg_partman--1.4.2--1.4.3.sql .//updates/pg_partman--1.4.3--1.4.4.sql .//updates/pg_partman--1.4.4--1.4.5.sql .//updates/pg_partman--1.4.5--1.5.0.sql .//updates/pg_partman--1.5.0--1.5.1.sql .//updates/pg_partman--1.5.1--1.6.0.sql .//updates/pg_partman--1.6.0--1.6.1.sql .//updates/pg_partman--1.6.1--1.7.0.sql .//updates/pg_partman--1.7.0--1.7.1.sql .//updates/pg_partman--1.7.1--1.7.2.sql .//updates/pg_partman--1.7.2--1.8.0.sql .//updates/pg_partman--1.8.0--1.8.1.sql .//updates/pg_partman--1.8.1--1.8.2.sql .//updates/pg_partman--1.8.2--1.8.3.sql .//updates/pg_partman--1.8.3--1.8.4.sql .//updates/pg_partman--1.8.4--1.8.5.sql .//updates/pg_partman--1.8.5--1.8.6.sql .//updates/pg_partman--1.8.6--1.8.7.sql .//updates/pg_partman--1.8.7--1.8.8.sql .//updates/pg_partman--1.8.7--2.0.0.sql .//updates/pg_partman--1.8.8--2.0.0.sql .//updates/pg_partman--2.0.0--2.1.0.sql .//updates/pg_partman--2.1.0--2.2.0.sql .//updates/pg_partman--2.2.0--2.2.1.sql .//updates/pg_partman--2.2.1--2.2.2.sql .//updates/pg_partman--2.2.2--2.2.3.sql .//updates/pg_partman--2.2.3--2.3.0.sql .//updates/pg_partman--2.3.0--2.3.1.sql .//updates/pg_partman--2.3.1--2.3.2.sql .//updates/pg_partman--2.3.2--2.3.3.sql .//updates/pg_partman--2.3.3--2.3.4.sql .//updates/pg_partman--2.3.4--2.4.0.sql .//updates/pg_partman--2.4.0--2.4.1.sql .//updates/pg_partman--2.4.1--2.5.0.sql .//updates/pg_partman--2.5.0--2.5.1.sql .//updates/pg_partman--2.5.1--2.6.0.sql .//updates/pg_partman--2.6.0--2.6.1.sql .//updates/pg_partman--2.6.1--2.6.2.sql .//updates/pg_partman--2.6.2--2.6.3.sql .//updates/pg_partman--2.6.3--2.6.4.sql .//updates/pg_partman--2.6.4--3.0.0.sql .//updates/pg_partman--3.0.0--3.0.1.sql .//updates/pg_partman--3.0.1--3.0.2.sql .//updates/pg_partman--3.0.2--3.1.0.sql .//updates/pg_partman--3.1.0--3.1.1.sql .//updates/pg_partman--3.1.1--3.1.2.sql .//updates/pg_partman--3.1.2--3.1.3.sql .//updates/pg_partman--3.1.3--3.2.0.sql .//updates/pg_partman--3.2.0--3.2.1.sql .//updates/pg_partman--3.2.1--4.0.0.sql .//updates/pg_partman--4.0.0--4.1.0.sql .//updates/pg_partman--4.1.0--4.2.0.sql .//updates/pg_partman--4.2.0--4.2.1.sql .//updates/pg_partman--4.2.1--4.2.2.sql .//updates/pg_partman--4.2.2--4.3.0.sql .//updates/pg_partman--4.3.0--4.3.1.sql .//updates/pg_partman--4.3.1--4.4.0.sql .//updates/pg_partman--4.4.0--4.5.0.sql .//updates/pg_partman--4.4.1--4.5.0.sql .//updates/pg_partman--4.5.0--4.5.1.sql .//updates/pg_partman--4.5.1--4.6.0.sql .//updates/pg_partman--4.6.0--4.6.1.sql .//updates/pg_partman--4.6.1--4.6.2.sql .//updates/pg_partman--4.6.2--4.7.0.sql .//updates/pg_partman--4.7.0--4.7.1.sql .//updates/pg_partman--4.7.1--4.7.2.sql .//updates/pg_partman--4.7.2--4.7.3.sql .//updates/pg_partman--4.7.3--4.7.4.sql .//updates/pg_partman--4.7.4--4.8.0.sql .//updates/pg_partman--4.8.0--5.0.0.sql .//updates/pg_partman--5.0.0--5.0.1.sql .//updates/pg_partman--5.0.1--5.1.0.sql .//sql/pg_partman--5.1.0.sql '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/share/pgsql/extension/' /usr/bin/install -p -m 755 src/pg_partman_bgw.so '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/lib64/pgsql/' /usr/bin/install -p -m 644 .//doc/fix_missing_procedures.md .//doc/migrate_to_declarative.md .//doc/migrate_to_partman.md .//doc/pg_partman.md .//doc/pg_partman_5.0.1_upgrade.md .//doc/pg_partman_howto.md '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/share/doc/pgsql/extension/' /usr/bin/install -p -m 755 .//bin/common/*.py '/builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/bin/' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.1.0-2.ocs23 --unique-debug-suffix -5.1.0-2.ocs23.loongarch64 --unique-debug-src-base postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/pg_partman-5.1.0 extracting debug info from /builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64/usr/lib64/pgsql/pg_partman_bgw.so 39 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_partman-5.1.0-2.ocs23.loongarch64 warning: File listed twice: /usr/share/doc/pgsql/extension/pg_partman.md Provides: postgresql16-pg_partman = 5.1.0-2.ocs23 postgresql16-pg_partman(loongarch-64) = 5.1.0-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 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_partman16 < 4.4.0-2 Processing files: postgresql16-pg_partman-debugsource-5.1.0-2.ocs23.loongarch64 Provides: postgresql16-pg_partman-debugsource = 5.1.0-2.ocs23 postgresql16-pg_partman-debugsource(loongarch-64) = 5.1.0-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: postgresql16-pg_partman-debuginfo-5.1.0-2.ocs23.loongarch64 Provides: debuginfo(build-id) = f824854030e1b185020e115802ecf8e5213d9ee7 postgresql16-pg_partman-debuginfo = 5.1.0-2.ocs23 postgresql16-pg_partman-debuginfo(loongarch-64) = 5.1.0-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: postgresql16-pg_partman-debugsource(loongarch-64) = 5.1.0-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/postgresql16-pg_partman-debugsource-5.1.0-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/postgresql16-pg_partman-debuginfo-5.1.0-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/postgresql16-pg_partman-5.1.0-2.ocs23.loongarch64.rpm RPM build warnings: File listed twice: /usr/share/doc/pgsql/extension/pg_partman.md Child return code was: 0