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-an7-els-build-409709-72683/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.kqhvsn8h:/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.kqhvsn8h:/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', '8bb83b2c6da843e086fb63310bfea4c4', '-D', '/var/lib/mock/dist-an7-els-build-409709-72683/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kqhvsn8h:/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 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 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 Wrote: /builddir/build/SRPMS/postgresql-9.2.24-9.an7.2.src.rpm 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-an7-els-build-409709-72683/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.kqhvsn8h:/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.kqhvsn8h:/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', '56228a7b0b6a4945af5c5ec33dff6239', '-D', '/var/lib/mock/dist-an7-els-build-409709-72683/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kqhvsn8h:/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 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q3021G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf postgresql-9.2.24 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/postgresql-9.2.24.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd postgresql-9.2.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rpm-pgsql.patch):' Patch #1 (rpm-pgsql.patch): + /usr/bin/cat /builddir/build/SOURCES/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). + echo 'Patch #2 (postgresql-logging.patch):' Patch #2 (postgresql-logging.patch): + /usr/bin/cat /builddir/build/SOURCES/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). + echo 'Patch #3 (postgresql-perl-rpath.patch):' Patch #3 (postgresql-perl-rpath.patch): + /usr/bin/cat /builddir/build/SOURCES/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/cat /builddir/build/SOURCES/postgresql-config-comment.patch + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/backend/utils/misc/postgresql.conf.sample Patch #5 (postgresql-multi-sockets.patch): + echo 'Patch #5 (postgresql-multi-sockets.patch):' + /usr/bin/cat /builddir/build/SOURCES/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/cat /builddir/build/SOURCES/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). + echo 'Patch #8 (postgresql-man.patch):' Patch #8 (postgresql-man.patch): + /usr/bin/cat /builddir/build/SOURCES/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). + echo 'Patch #13 (postgresql-9.2.4-upgrade-and-perm-problems.patch):' Patch #13 (postgresql-9.2.4-upgrade-and-perm-problems.patch): + /usr/bin/cat /builddir/build/SOURCES/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). + echo 'Patch #14 (postgresql-CVE-2018-10915.patch):' Patch #14 (postgresql-CVE-2018-10915.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #15 (postgresql-libpq-crypto-no-callback-stomping-v2.patch):' Patch #15 (postgresql-libpq-crypto-no-callback-stomping-v2.patch): + /usr/bin/cat /builddir/build/SOURCES/postgresql-libpq-crypto-no-callback-stomping-v2.patch + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/interfaces/libpq/fe-secure.c + echo 'Patch #16 (postgresql-9.2.24-handle-EAGAIN-on-socket-write.patch):' Patch #16 (postgresql-9.2.24-handle-EAGAIN-on-socket-write.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #17 (postgresql-9.2.24-CVE-2020-25694.patch):' Patch #17 (postgresql-9.2.24-CVE-2020-25694.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #18 (postgresql-9.2.24-CVE-2020-25695.patch):' Patch #18 (postgresql-9.2.24-CVE-2020-25695.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #19 (postgresql-9.2.24-CVE-2019-10208.patch):' Patch #19 (postgresql-9.2.24-CVE-2019-10208.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #20 (postgresql-CVE-2021-32027.patch):' Patch #20 (postgresql-CVE-2021-32027.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #21 (postgresql-CVE-2022-1552.patch):' Patch #21 (postgresql-CVE-2022-1552.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #22 (postgresql-CVE-2023-5869.patch):' Patch #22 (postgresql-CVE-2023-5869.patch): + /usr/bin/cat /builddir/build/SOURCES/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 + echo 'Patch #23 (0001-cve-fix-CVE-2024-7348.patch):' Patch #23 (0001-cve-fix-CVE-2024-7348.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-cve-fix-CVE-2024-7348.patch + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file glsa-202409-02.xml + echo 'Patch #24 (fix-cve-CVE-2024-10979.patch):' Patch #24 (fix-cve-CVE-2024-10979.patch): + /usr/bin/cat /builddir/build/SOURCES/fix-cve-CVE-2024-10979.patch + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/pl/plperl/GNUmakefile Hunk #1 succeeded at 50 (offset 3 lines). patching file src/pl/plperl/input/plperl_env.source patching file src/pl/plperl/output/plperl_env.source patching file src/pl/plperl/plc_trusted.pl patching file src/test/regress/regress.c patching file src/pl/plperl/GNUmakefile Hunk #1 succeeded at 116 (offset 3 lines). patching file src/pl/plperl/input/plperl_env.source patching file src/pl/plperl/output/plperl_env.source Hunk #1 succeeded at 49 (offset 2 lines). + echo 'Patch #25 (fix-cve-CVE-2024-10979-01.patch):' Patch #25 (fix-cve-CVE-2024-10979-01.patch): + /usr/bin/cat /builddir/build/SOURCES/fix-cve-CVE-2024-10979-01.patch + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/test/regress/expected/date.out patching file src/test/regress/expected/horology.out patching file src/test/regress/expected/timestamptz.out patching file src/test/regress/pg_regress.c patching file src/test/regress/sql/horology.sql patching file src/test/regress/sql/timestamptz.sql + 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/cat /builddir/build/SOURCES/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/cat /builddir/build/SOURCES/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-9.2.24/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 /var/tmp/rpm-tmp.Q3021G: line 136: help2man: command not found error: Bad exit status from /var/tmp/rpm-tmp.Q3021G (%prep) RPM build errors: bogus date in %changelog: Wed Jul 2 2021 Filip Januš - 9.2.24-7 Bad exit status from /var/tmp/rpm-tmp.Q3021G (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 56228a7b0b6a4945af5c5ec33dff6239 -D /var/lib/mock/dist-an7-els-build-409709-72683/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kqhvsn8h:/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 56228a7b0b6a4945af5c5ec33dff6239 -D /var/lib/mock/dist-an7-els-build-409709-72683/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.kqhvsn8h:/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'