Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/pmix.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-107436-6246/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/pmix.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 Wrote: /builddir/build/SRPMS/pmix-4.1.2-5.ocs23.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/pmix.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-107436-6246/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/pmix.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SfKrc6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pmix-4.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pmix-4.1.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd pmix-4.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Do-not-follow-links-when-doing-chown.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |From 2b163885e56773f9ed1601a9af07949556cc0bdb Mon Sep 17 00:00:00 2001 |From: Ralph Castain |Date: Thu, 7 Sep 2023 07:59:57 -0600 |Subject: [PATCH] Do not follow links when doing "chown" | |There is a potential issue with allowing a "chown" operation |to follow user-created links, so let's limit any use of that |function to "lchown" - which directs the "chown" operation to |NOT follow a link. | |Signed-off-by: Ralph Castain |(cherry picked from commit ae62cdf67b19e80fd821420816f09bf0a56a8166) |(cherry picked from commit da036933c2795c1f40d0835e15f17e204e4daf0f) |--- | src/mca/common/dstore/dstore_base.c | 4 ++-- | src/mca/common/dstore/dstore_segment.c | 4 ++-- | src/mca/gds/ds12/gds_ds12_lock_fcntl.c | 2 +- | src/mca/gds/ds12/gds_ds12_lock_pthread.c | 2 +- | src/util/pmix_pty.c | 4 ++-- | 5 files changed, 8 insertions(+), 8 deletions(-) | |diff --git a/src/mca/common/dstore/dstore_base.c b/src/mca/common/dstore/dstore_base.c |index 23b59e17..edd593b5 100644 |--- a/src/mca/common/dstore/dstore_base.c |+++ b/src/mca/common/dstore/dstore_base.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/mca/common/dstore/dstore_segment.c b/src/mca/common/dstore/dstore_segment.c |index e90ea3f7..4f3b3ab5 100644 |--- a/src/mca/common/dstore/dstore_segment.c |+++ b/src/mca/common/dstore/dstore_segment.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored The text leading up to this was: -------------------------- |diff --git a/src/mca/gds/ds12/gds_ds12_lock_fcntl.c b/src/mca/gds/ds12/gds_ds12_lock_fcntl.c |index 4d709892..361d8259 100644 |--- a/src/mca/gds/ds12/gds_ds12_lock_fcntl.c |+++ b/src/mca/gds/ds12/gds_ds12_lock_fcntl.c -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/mca/gds/ds12/gds_ds12_lock_pthread.c b/src/mca/gds/ds12/gds_ds12_lock_pthread.c |index c1804d77..deaa1573 100644 |--- a/src/mca/gds/ds12/gds_ds12_lock_pthread.c |+++ b/src/mca/gds/ds12/gds_ds12_lock_pthread.c -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff --git a/src/util/pmix_pty.c b/src/util/pmix_pty.c |index b596b396..5358e180 100644 |--- a/src/util/pmix_pty.c |+++ b/src/util/pmix_pty.c -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.SfKrc6 (%prep) Bad exit status from /var/tmp/rpm-tmp.SfKrc6 (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/pmix.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/pmix.spec