Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gd.spec'], chrootPath='/var/lib/mock/dist-an23-build-200182-60963/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gd.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 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/gd-2.3.3-4.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gd.spec'], chrootPath='/var/lib/mock/dist-an23-build-200182-60963/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gd.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 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UKXn9n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libgd-2.3.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgd-2.3.3.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libgd-2.3.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libgd-flip.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |From f4bc1f5c26925548662946ed7cfa473c190a104a Mon Sep 17 00:00:00 2001 |From: Remi Collet |Date: Mon, 13 Sep 2021 14:57:52 +0200 |Subject: [PATCH 1/2] Revert "Fix #318, these macros are not used as planed, we | have separate functions for each" | |This reverts commit bdc281eadb1d58d5c0c7bbc1125ee4674256df08. |--- | src/gd.h | 5 +++++ | 1 file changed, 5 insertions(+) | |diff --git a/src/gd.h b/src/gd.h |index 30560395..1ad9e637 100644 |--- a/src/gd.h |+++ b/src/gd.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The text leading up to this was: -------------------------- | |From e47c619d792455aad23708d2ec2947455394427e Mon Sep 17 00:00:00 2001 |From: Remi Collet |Date: Mon, 13 Sep 2021 14:59:47 +0200 |Subject: [PATCH 2/2] add comment to not remove these macros | |--- | src/gd.h | 2 ++ | 1 file changed, 2 insertions(+) | |diff --git a/src/gd.h b/src/gd.h |index 1ad9e637..71f5a89c 100644 |--- a/src/gd.h |+++ b/src/gd.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.UKXn9n (%prep) Bad exit status from /var/tmp/rpm-tmp.UKXn9n (%prep) Child return code was: 1 EXCEPTION: [Error()] 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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gd.spec