Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP4-aarch64-1758545548.999401/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/protobuf.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 warning: line 35: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-compiler warning: line 36: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} warning: line 51: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-devel warning: line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-vim warning: line 53: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-static warning: line 76: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-devel warning: line 77: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-static warning: bogus date in %changelog: Thu Sep 22 2025 wjunlu - 32.1-12 error: bad date in %changelog: Fri June 27 2025 zhongtao - 3.14.0-9 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/protobuf-32.1-12.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP4-aarch64-1758545548.999401/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/protobuf.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 warning: line 35: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-compiler warning: line 36: Possible unexpanded macro in: Requires: emacs-filesystem >= %{_emacs_version} warning: line 51: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-devel warning: line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-vim warning: line 53: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-static warning: line 76: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-devel warning: line 77: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-static warning: bogus date in %changelog: Thu Sep 22 2025 wjunlu - 32.1-12 error: bad date in %changelog: Fri June 27 2025 zhongtao - 3.14.0-9 Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/protobuf-32.1-12.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/protobuf.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP4-aarch64-1758545548.999401/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/protobuf.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 warning: line 35: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-compiler warning: line 51: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-devel warning: line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-vim warning: line 53: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-static warning: line 76: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-devel warning: line 77: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-static warning: bogus date in %changelog: Thu Sep 22 2025 wjunlu - 32.1-12 error: bad date in %changelog: Fri June 27 2025 zhongtao - 3.14.0-9 Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YRIjJ1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-32.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/protobuf-32.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-32.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-add-secure-compile-option-in-Makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |diff --git a/src/Makefile.am b/src/Makefile.am |index f1099d9..9b7053b 100644 |--- a/src/Makefile.am |+++ b/src/Makefile.am -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.YRIjJ1 (%prep) line 35: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-compiler line 51: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-devel line 52: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-vim line 53: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-static line 76: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-devel line 77: It's not recommended to have unversioned Obsoletes: Obsoletes: protobuf2-lite-static bogus date in %changelog: Thu Sep 22 2025 wjunlu - 32.1-12 bad date in %changelog: Fri June 27 2025 zhongtao - 3.14.0-9 Bad exit status from /var/tmp/rpm-tmp.YRIjJ1 (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/protobuf.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, 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 aarch64 --nodeps /builddir/build/SPECS/protobuf.spec