Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opa-fm.spec'], chrootPath='/var/lib/mock/dist-oc8-build-37575-12253/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/opa-fm.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/opa-fm-10.11.2.0.3-1.oc8.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/opa-fm.spec'], chrootPath='/var/lib/mock/dist-oc8-build-37575-12253/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/opa-fm.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.OC6cQY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opa-fm-10.11.2.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/v10.11.2.0.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opa-fm-10.11.2.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #2 (0001-Fix-well-known-tempfile-issue-in-script.patch):' Patch #2 (0001-Fix-well-known-tempfile-issue-in-script.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Esm/ib/src/linux/startup/sm_capture.sh Patch #3 (opafm-link-all-executables-with-pie.patch): + echo 'Patch #3 (opafm-link-all-executables-with-pie.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Esm/ib/src/linux/startup/Makefile patching file Esm/ib/src/linux/startup/fm_config/Makefile patching file Makerules/Maketargets.build Patch #4 (add-fPIC-flag.patch): + echo 'Patch #4 (add-fPIC-flag.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makerules/Target.LINUX.GNU.X86_64 + sed -i -r -e 's/(release_C(C)?OPT_Flags\s*)=/\1?=/' Makerules/Target.LINUX.GNU.EM64T Makerules/Target.LINUX.GNU.IA32 Makerules/Target.LINUX.GNU.IA64 Makerules/Target.LINUX.GNU.MIPS64 Makerules/Target.LINUX.GNU.PPC64 Makerules/Target.LINUX.GNU.X86_64 + sed -r -e 's/(^COPT\s*=\s*)/#\1/' -i Esm/ib/src/linux/opafmvf/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cRiZPy + umask 022 + cd /builddir/build/BUILD + cd opa-fm-10.11.2.0.3 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + export 'release_COPT_Flags=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + release_COPT_Flags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + export 'release_CCOPT_Flags=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + release_CCOPT_Flags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11' + cd Esm + OPA_FEATURE_SET=opa10 + ./fmbuild ../MakeTools/funcs-ext.sh: line 790: [: =: unary operator expected Build target operating system set to LINUX Build target set to X86_64 Setting os version to 5.4.119-19-0009.3 (26=0). + tee build.res + echo Environment: Environment: + env BUILD_TARGET_OS_VERSION= BUILD_PLATFORM_OS_VENDOR_VERSION=ES86 RPM_OS=linux LANG=C HISTCONTROL=ignoredups release_COPT_Flags=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 RPM_ARCH=x86_64 HOSTNAME= OLDPWD=/builddir/build/BUILD/opa-fm-10.11.2.0.3 CONFIG_SITE=NONE BUILD_TARGET_OS=LINUX BUILD_ULPS=all TL_DIR=/builddir/build/BUILD/opa-fm-10.11.2.0.3 BUILD_PLATFORM_OS_VENDOR= RPM_PACKAGE_RELEASE=1.oc8 CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 RPM_BUILD_DIR=/builddir/build/BUILD WIND_BASE=/builddir/build/BUILD/opa-fm-10.11.2.0.3 BUILD_PLATFORM=LINUX RPM_LD_FLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILD_SKIP_ULPS=none which_declare=declare -f BUILD_TARGET_TOOLCHAIN=GNU USER=mockbuild CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 BUILD_TARGET_OS_ID=5.4.119-19-0009.3.ES86-x86_64 RPM_SOURCE_DIR=/builddir/build/SOURCES RELEASE_TAG=10_11_2_0_3 PWD=/builddir/build/BUILD/opa-fm-10.11.2.0.3/Esm RPM_PACKAGE_VERSION=10.11.2.0.3 HOME=/builddir PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn BUILD_TARGET_OS_VENDOR=5.4.119-19-0009.3 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/opa-fm-10.11.2.0.3-1.oc8.x86_64 BUILD_WITH_STACK=OPENIB release_CCOPT_Flags=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 OPA_FEATURE_SET=opa10 WRS_HOST=/builddir/build/BUILD/opa-fm-10.11.2.0.3/host/unix RPM_BUILD_NCPUS=32 BUILD_CONFIG=release MAIL=/var/spool/mail/mockbuild SHELL=/bin/bash TERM=vt100 WRS_BIN=/builddir/build/BUILD/opa-fm-10.11.2.0.3/host/unix/bin BUILD_TARGET=X86_64 RPM_PACKAGE_NAME=opa-fm LDENVFS= RPM_DOC_DIR=/usr/share/doc SHLVL=3 WIND_HOST_TYPE=unix PRODUCT=VIEO_HOST PROMPT_COMMAND=printf "\033]0;\007" LOGNAME=mockbuild PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection BUILD_TARGET_OS_VENDOR_VERSION=ES86 HISTSIZE=1000 LESSOPEN=||/usr/bin/lesspipe.sh %s BASH_FUNC_which%%=() { ( alias; eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ } _=/usr/bin/env + echo ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- + echo + ./rpm_runmake -B release Stack to build for: OPENIB (/usr) Building for X86_64 release Tue May 16 15:45:32 CST 2023... BUILD_TARGET_OS_VERSION= BUILD_PLATFORM_OS_VENDOR_VERSION=ES86 RPM_OS=linux LANG=C HISTCONTROL=ignoredups release_COPT_Flags=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 RPM_ARCH=x86_64 HOSTNAME= OLDPWD=/builddir/build/BUILD/opa-fm-10.11.2.0.3 CONFIG_SITE=NONE BUILD_TARGET_OS=LINUX BUILD_ULPS=all TL_DIR=/builddir/build/BUILD/opa-fm-10.11.2.0.3 RPM_PACKAGE_RELEASE=1.oc8 BUILD_PLATFORM_OS_VENDOR= CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 RPM_BUILD_DIR=/builddir/build/BUILD WIND_BASE=/builddir/build/BUILD/opa-fm-10.11.2.0.3 RPM_LD_FLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILD_PLATFORM=LINUX BUILD_SKIP_ULPS=none which_declare=declare -f BUILD_TARGET_TOOLCHAIN=GNU USER=mockbuild CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 BUILD_TARGET_OS_ID=5.4.119-19-0009.3.ES86-x86_64 RPM_SOURCE_DIR=/builddir/build/SOURCES RELEASE_TAG=10_11_2_0_3 PWD=/builddir/build/BUILD/opa-fm-10.11.2.0.3/Esm RPM_PACKAGE_VERSION=10.11.2.0.3 HOME=/builddir PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn BUILD_TARGET_OS_VENDOR=5.4.119-19-0009.3 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/opa-fm-10.11.2.0.3-1.oc8.x86_64 BUILD_WITH_STACK=OPENIB release_CCOPT_Flags=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu11 OPA_FEATURE_SET=opa10 WRS_HOST=/builddir/build/BUILD/opa-fm-10.11.2.0.3/host/unix OFED_STACK_PREFIX=/usr RPM_BUILD_NCPUS=32 BUILD_CONFIG=release MAIL=/var/spool/mail/mockbuild TERM=vt100 SHELL=/bin/bash PROJ_FILE_DIR=Esm WRS_BIN=/builddir/build/BUILD/opa-fm-10.11.2.0.3/host/unix/bin RPM_PACKAGE_NAME=opa-fm BUILD_TARGET=X86_64 LDENVFS= RPM_DOC_DIR=/usr/share/doc SHLVL=4 WIND_HOST_TYPE=unix PRODUCT=VIEO_HOST PROMPT_COMMAND=printf "\033]0;\007" LOGNAME=mockbuild PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection HISTSIZE=1000 BUILD_TARGET_OS_VENDOR_VERSION=ES86 LESSOPEN=||/usr/bin/lesspipe.sh %s BASH_FUNC_which%%=() { ( alias; eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ } _=/usr/bin/env /builddir/build/BUILD/opa-fm-10.11.2.0.3/Esm/Makerules.project:189: *** BUILD_TARGET_OS_VERSION not defined. Stop. Done LINUX X86_64 HSM Tue May 16 15:45:32 CST 2023 ============================================================== Prepping Files for LINUX X86_64 Tue May 16 15:45:32 CST 2023... /builddir/build/BUILD/opa-fm-10.11.2.0.3/Esm/Makerules.project:189: *** BUILD_TARGET_OS_VERSION not defined. Stop. + set +x Build Errors: /builddir/build/BUILD/opa-fm-10.11.2.0.3/Esm/Makerules.project:189: *** BUILD_TARGET_OS_VERSION not defined. Stop. FAILED Build, errors detected: VIEO_HOST X86_64 release error: Bad exit status from /var/tmp/rpm-tmp.cRiZPy (%build) Bad exit status from /var/tmp/rpm-tmp.cRiZPy (%build) RPM build errors: 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 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 x86_64 --nodeps /builddir/build/SPECS/opa-fm.spec