Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/postgresql.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-398942-72309/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c7da05d4b5ca449381b9ecda548900da', '-D', '/var/lib/mock/dist-an23-build-python3.11-398942-72309/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/postgresql.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (19 usages found), use %patch N (or %patch -P N) warning: bogus date in %changelog: Wed Jul 2 2021 Filip Januš - 9.2.24-7 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1700092800 Wrote: /builddir/build/SRPMS/postgresql-9.2.24-9.an23.src.rpm RPM build warnings: %patchN is deprecated (19 usages found), use %patch N (or %patch -P N) bogus date in %changelog: Wed Jul 2 2021 Filip Januš - 9.2.24-7 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postgresql.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-398942-72309/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=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b58b39129498411cb0abb1fb6f7452ee', '-D', '/var/lib/mock/dist-an23-build-python3.11-398942-72309/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postgresql.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (19 usages found), use %patch N (or %patch -P N) warning: bogus date in %changelog: Wed Jul 2 2021 Filip Januš - 9.2.24-7 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1700092800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1ZjvGT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postgresql-9.2.24 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/postgresql-9.2.24.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd postgresql-9.2.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (rpm-pgsql.patch): + echo 'Patch #1 (rpm-pgsql.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/Makefile.global.in Hunk #1 succeeded at 60 (offset 5 lines). Hunk #2 succeeded at 78 (offset 5 lines). Patch #2 (postgresql-logging.patch): + echo 'Patch #2 (postgresql-logging.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/utils/misc/postgresql.conf.sample Hunk #1 succeeded at 297 (offset 18 lines). Hunk #2 succeeded at 305 (offset 18 lines). Hunk #3 succeeded at 317 (offset 18 lines). Patch #3 (postgresql-perl-rpath.patch): + echo 'Patch #3 (postgresql-perl-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pl/plperl/GNUmakefile Hunk #1 succeeded at 47 (offset 4 lines). + echo 'Patch #4 (postgresql-config-comment.patch):' Patch #4 (postgresql-config-comment.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/utils/misc/postgresql.conf.sample + echo 'Patch #5 (postgresql-multi-sockets.patch):' Patch #5 (postgresql-multi-sockets.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/pg_upgrade/server.c Hunk #1 succeeded at 210 (offset 13 lines). patching file doc/src/sgml/client-auth.sgml Hunk #1 succeeded at 842 (offset 4 lines). patching file doc/src/sgml/config.sgml Hunk #5 succeeded at 6641 (offset 10 lines). patching file doc/src/sgml/html/app-postgres.html patching file doc/src/sgml/html/auth-methods.html patching file doc/src/sgml/html/bookindex.html Hunk #1 succeeded at 17329 (offset 79 lines). patching file doc/src/sgml/html/preventing-server-spoofing.html patching file doc/src/sgml/html/runtime-config-connection.html patching file doc/src/sgml/html/runtime-config-short.html patching file doc/src/sgml/man1/postgres.1 Hunk #1 succeeded at 193 (offset -2 lines). patching file doc/src/sgml/ref/postgres-ref.sgml patching file doc/src/sgml/runtime.sgml Hunk #1 succeeded at 1844 (offset 44 lines). patching file src/backend/libpq/pqcomm.c Hunk #2 succeeded at 122 (offset 19 lines). Hunk #3 succeeded at 160 (offset 19 lines). Hunk #4 succeeded at 268 (offset 32 lines). Hunk #5 succeeded at 321 (offset 32 lines). Hunk #6 succeeded at 337 (offset 32 lines). Hunk #7 succeeded at 497 (offset 34 lines). Hunk #8 succeeded at 508 (offset 34 lines). Hunk #9 succeeded at 555 (offset 34 lines). Hunk #10 succeeded at 565 (offset 34 lines). Hunk #11 succeeded at 591 (offset 34 lines). Hunk #12 succeeded at 774 (offset 34 lines). patching file src/backend/postmaster/postmaster.c Hunk #2 succeeded at 654 (offset 16 lines). Hunk #3 succeeded at 902 (offset 20 lines). Hunk #4 succeeded at 918 (offset 20 lines). Hunk #5 succeeded at 942 (offset 20 lines). Hunk #6 succeeded at 989 (offset 20 lines). Hunk #7 succeeded at 1620 (offset 16 lines). patching file src/backend/tcop/postgres.c Hunk #1 succeeded at 3402 (offset 9 lines). patching file src/backend/utils/adt/varlena.c patching file src/backend/utils/init/miscinit.c patching file src/backend/utils/misc/guc.c patching file src/backend/utils/misc/postgresql.conf.sample patching file src/bin/initdb/initdb.c Hunk #1 succeeded at 964 (offset -27 lines). Hunk #2 succeeded at 986 (offset -27 lines). patching file src/bin/pg_ctl/pg_ctl.c Hunk #1 succeeded at 610 (offset 49 lines). patching file src/include/libpq/libpq.h patching file src/include/miscadmin.h Hunk #1 succeeded at 430 (offset 6 lines). Hunk #2 succeeded at 448 (offset 5 lines). patching file src/include/postmaster/postmaster.h patching file src/include/utils/builtins.h Hunk #1 succeeded at 756 (offset 2 lines). patching file doc/src/sgml/html-stamp patching file doc/src/sgml/man-stamp Patch #6 (postgresql-var-run-socket.patch): + echo 'Patch #6 (postgresql-var-run-socket.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/pg_upgrade/test.sh Hunk #1 succeeded at 126 (offset 5 lines). patching file src/backend/utils/misc/guc.c patching file src/bin/initdb/initdb.c Hunk #1 succeeded at 988 (offset -27 lines). patching file src/include/pg_config_manual.h Hunk #1 succeeded at 152 (offset 8 lines). Patch #8 (postgresql-man.patch): + echo 'Patch #8 (postgresql-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file doc/src/sgml/man1/ecpg.1 Hunk #1 succeeded at 75 (offset -6 lines). Hunk #2 succeeded at 128 (offset -6 lines). patching file doc/src/sgml/man1/initdb.1 Hunk #1 succeeded at 224 (offset -3 lines). Patch #13 (postgresql-9.2.4-upgrade-and-perm-problems.patch): + echo 'Patch #13 (postgresql-9.2.4-upgrade-and-perm-problems.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/pg_upgrade/server.c Hunk #1 succeeded at 178 (offset 12 lines). Hunk #2 succeeded at 247 (offset 13 lines). Hunk #3 succeeded at 277 (offset 13 lines). Patch #14 (postgresql-CVE-2018-10915.patch): + echo 'Patch #14 (postgresql-CVE-2018-10915.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/interfaces/libpq/fe-connect.c patching file src/interfaces/libpq/fe-misc.c patching file src/interfaces/libpq/fe-protocol3.c patching file src/interfaces/libpq/libpq-int.h patching file src/interfaces/libpq/fe-connect.c patching file src/interfaces/libpq/fe-misc.c patching file src/interfaces/libpq/fe-protocol3.c patching file src/interfaces/libpq/libpq-int.h patching file src/interfaces/libpq/fe-auth.c patching file src/interfaces/libpq/fe-connect.c patching file src/interfaces/libpq/fe-connect.c patching file src/interfaces/libpq/libpq-int.h Patch #15 (postgresql-libpq-crypto-no-callback-stomping-v2.patch): patching file src/interfaces/libpq/fe-secure.c Patch #16 (postgresql-9.2.24-handle-EAGAIN-on-socket-write.patch): + echo 'Patch #15 (postgresql-libpq-crypto-no-callback-stomping-v2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #16 (postgresql-9.2.24-handle-EAGAIN-on-socket-write.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/libpq/be-secure.c Patch #17 (postgresql-9.2.24-CVE-2020-25694.patch): + echo 'Patch #17 (postgresql-9.2.24-CVE-2020-25694.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/bin/pg_dump/pg_backup_archiver.c patching file src/bin/pg_dump/pg_backup_archiver.h patching file src/bin/pg_dump/pg_backup_db.c patching file src/bin/pg_dump/pg_backup.h patching file src/bin/pg_dump/pg_dump.c patching file src/bin/pg_dump/pg_restore.c patching file src/bin/scripts/clusterdb.c patching file src/bin/scripts/common.c patching file src/bin/scripts/common.h patching file src/bin/scripts/createdb.c patching file src/bin/scripts/createlang.c patching file src/bin/scripts/createuser.c patching file src/bin/scripts/dropdb.c patching file src/bin/scripts/droplang.c patching file src/bin/scripts/dropuser.c patching file src/bin/scripts/reindexdb.c patching file src/bin/scripts/vacuumdb.c Patch #18 (postgresql-9.2.24-CVE-2020-25695.patch): + echo 'Patch #18 (postgresql-9.2.24-CVE-2020-25695.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/commands/portalcmds.c patching file src/backend/commands/trigger.c Patch #19 (postgresql-9.2.24-CVE-2019-10208.patch): + echo 'Patch #19 (postgresql-9.2.24-CVE-2019-10208.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/catalog/namespace.c patching file src/backend/parser/parse_func.c patching file src/backend/parser/parse_type.c patching file src/backend/utils/adt/ruleutils.c patching file src/include/catalog/namespace.h patching file src/include/parser/parse_type.h patching file src/test/regress/expected/temp.out patching file src/test/regress/sql/temp.sql Patch #20 (postgresql-CVE-2021-32027.patch): + echo 'Patch #20 (postgresql-CVE-2021-32027.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/executor/execQual.c patching file src/backend/utils/adt/arrayfuncs.c patching file src/backend/utils/adt/array_userfuncs.c patching file src/backend/utils/adt/arrayutils.c patching file src/include/utils/array.h Patch #21 (postgresql-CVE-2022-1552.patch): + echo 'Patch #21 (postgresql-CVE-2022-1552.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/catalog/index.c patching file src/backend/commands/cluster.c patching file src/backend/commands/indexcmds.c patching file src/test/regress/expected/privileges.out patching file src/test/regress/sql/privileges.sql Patch #22 (postgresql-CVE-2023-5869.patch): + echo 'Patch #22 (postgresql-CVE-2023-5869.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/utils/adt/arrayfuncs.c Hunk #2 succeeded at 2127 (offset -11 lines). Hunk #3 succeeded at 2442 (offset -9 lines). patching file src/backend/utils/adt/arrayutils.c patching file src/include/c.h patching file src/include/common/int.h patching file src/include/utils/array.h + sed -i -e 's/ppc64-\*/ppc64-\* \| ppc64p7-\*/' config/config.sub + cp -p /builddir/build/SOURCES/postgresql-9.2.24-US.pdf . + tar xfj /builddir/build/SOURCES/postgresql-8.4.22.tar.bz2 + cp -p config/config.guess postgresql-8.4.22/config/config.guess + cp -p config/config.sub postgresql-8.4.22/config/config.sub + pushd postgresql-8.4.22 ~/build/BUILD/postgresql-9.2.24/postgresql-8.4.22 ~/build/BUILD/postgresql-9.2.24 Patch #11 (postgresql-9.2.4-aarch64-atomic-upgrade.patch): + echo 'Patch #11 (postgresql-9.2.4-aarch64-atomic-upgrade.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file src/include/storage/s_lock.h + echo 'Patch #12 (postgresql-9.2.4-upgrade-from-8.4.13.patch):' Patch #12 (postgresql-9.2.4-upgrade-from-8.4.13.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file src/backend/utils/misc/guc.c + popd ~/build/BUILD/postgresql-9.2.24 + find . -type f -name .gitignore + xargs rm + sed -e 's|^PGVERSION=.*$|PGVERSION=9.2.24|' -e 's|^PGMAJORVERSION=.*$|PGMAJORVERSION=9.2|' -e 's|^PGENGINE=.*$|PGENGINE=/usr/bin|' -e 's|^PREVMAJORVERSION=.*$|PREVMAJORVERSION=8.4|' -e 's|^PREVPGENGINE=.*$|PREVPGENGINE=/usr/lib64/pgsql/postgresql-8.4/bin|' -e 's|^README_RPM_DIST=.*$|README_RPM_DIST=/usr/share/doc/postgresql/README.rpm-dist|' + touch -r /builddir/build/SOURCES/postgresql-setup postgresql-setup + chmod +x postgresql-setup + help2man -N -m 'Postgresql RPM-dist manual' ./postgresql-setup -o postgresql-setup.1 + sed -e 's|^PGVERSION=.*$|PGVERSION=9.2.24|' -e 's|^PREVMAJORVERSION=.*$|PREVMAJORVERSION=8.4|' -e 's|^PGDOCDIR=.*$|PGDOCDIR=/usr/share/doc/postgresql|' + touch -r /builddir/build/SOURCES/postgresql-check-db-dir postgresql-check-db-dir + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dlHv9r + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 postgresql-9.2.24 ++ id -u + '[' x990 = x0 ']' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' ++ echo -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ xargs -n 1 ++ grep -v ffast-math ++ xargs -n 100 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLINUX_OOM_SCORE_ADJ=0' + export CFLAGS + unset PYTHON + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DLINUX_OOM_SCORE_ADJ=0' + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./postgresql-8.4.22/configure + diff -u ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + mv ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./postgresql-8.4.22/configure + diff -u ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + mv ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./postgresql-8.4.22/configure + diff -u ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + mv ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./postgresql-8.4.22/configure + diff -u ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + mv ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./postgresql-8.4.22/configure + diff -u ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + mv ./postgresql-8.4.22/configure.backup ./postgresql-8.4.22/configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config/config.sub '/usr/lib/rpm/anolis/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config/config.guess '/usr/lib/rpm/anolis/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./postgresql-8.4.22/config/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./postgresql-8.4.22/config/config.sub ++ basename ./postgresql-8.4.22/config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./postgresql-8.4.22/config/config.sub '/usr/lib/rpm/anolis/config.sub' -> './postgresql-8.4.22/config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./postgresql-8.4.22/config/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./postgresql-8.4.22/config/config.guess ++ basename ./postgresql-8.4.22/config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./postgresql-8.4.22/config/config.guess '/usr/lib/rpm/anolis/config.guess' -> './postgresql-8.4.22/config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=x86_64-Anolis-linux --host=x86_64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --with-perl --with-tcl --with-tclconfig=/usr/lib64 --with-python --with-ldap --with-openssl --with-pam --with-krb5 --with-gssapi --with-ossp-uuid --with-libxml --with-libxslt --enable-nls --enable-dtrace --with-selinux --with-system-tzdata=/usr/share/zoneinfo --datadir=/usr/share/pgsql configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-Anolis-linux-gnu checking host system type... x86_64-Anolis-linux-gnu checking which template to use... linux checking whether to build with 64-bit integer date/time support... yes checking whether NLS is wanted... yes checking for default port number... 5432 checking for dtrace... dtrace checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking for WAL segment size... 16MB checking for x86_64-Anolis-linux-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc supports -Wdeclaration-after-statement... yes checking whether gcc supports -Wendif-labels... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wformat-security... yes checking whether gcc supports -fno-strict-aliasing... yes checking whether gcc supports -fwrapv... yes checking whether gcc supports -fexcess-precision=standard... yes checking whether the C compiler still works... yes checking how to run the C preprocessor... gcc -E checking allow thread-safe client libraries... yes checking whether to build with Tcl... yes checking whether to build Perl modules... yes checking whether to build Python modules... yes checking whether to build with GSSAPI support... yes checking whether to build with Kerberos 5 support... yes checking whether to build with PAM support... yes checking whether to build with LDAP support... yes checking whether to build with Bonjour support... no checking whether to build with OpenSSL support... yes checking whether to build with SELinux support... yes checking for xml2-config... xml2-config checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by GCC... egrep: warning: egrep is obsolescent; using grep -E /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... egrep: warning: egrep is obsolescent; using grep -E yes checking for x86_64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-Anolis-linux-strip... no checking for strip... strip checking whether it is possible to strip libraries... yes checking for x86_64-Anolis-linux-ar... no checking for ar... ar checking for tar... /usr/bin/tar checking whether ln -s works... yes checking for gawk... gawk checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for bison... /usr/bin/bison configure: using bison (GNU Bison) 3.8.2 checking for flex... /usr/bin/flex configure: using flex 2.6.4 checking for perl... /usr/bin/perl configure: using perl 5.36.3 checking for Perl archlibexp... /usr/lib64/perl5 checking for Perl privlibexp... /usr/share/perl5 checking for Perl useshrplib... true checking for CFLAGS recommended by Perl... -D_REENTRANT -D_GNU_SOURCE -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for CFLAGS to compile embedded Perl... checking for flags to link embedded Perl... -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc checking for python... no configure: error: Python not found error: Bad exit status from /var/tmp/rpm-tmp.dlHv9r (%build) %patchN is deprecated (19 usages found), use %patch N (or %patch -P N) bogus date in %changelog: Wed Jul 2 2021 Filip Januš - 9.2.24-7 Bad exit status from /var/tmp/rpm-tmp.dlHv9r (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b58b39129498411cb0abb1fb6f7452ee -D /var/lib/mock/dist-an23-build-python3.11-398942-72309/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --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=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postgresql.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M b58b39129498411cb0abb1fb6f7452ee -D /var/lib/mock/dist-an23-build-python3.11-398942-72309/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9i45bgb4:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --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=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/postgresql.spec'