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-ff.spec'], chrootPath='/var/lib/mock/dist-oc8-build-19078-3775/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-ff.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: Macro expanded in comment on line 12: %{version}/ \ # 070368dd2a2cc353b66351b989fb5fa75576f7de | xz > opa-ff-%{version}.tar.xz Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/opa-ff-10.11.0.2-1.oc8.circle.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-ff.spec'], chrootPath='/var/lib/mock/dist-oc8-build-19078-3775/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-ff.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: Macro expanded in comment on line 12: %{version}/ \ # 070368dd2a2cc353b66351b989fb5fa75576f7de | xz > opa-ff-%{version}.tar.xz Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H1pGOO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opa-ff-10.11.0.2 + /usr/bin/xz -dc /builddir/build/SOURCES/opa-ff-10.11.0.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opa-ff-10.11.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #8 (0001-Link-executables-with-pie.patch):' Patch #8 (0001-Link-executables-with-pie.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Esm/ib/src/linux/startup/fm_config/Makefile patching file Makerules/Maketargets.build Patch #9 (0002-Lets-build-config-decide-C-optimization-flags.patch): + echo 'Patch #9 (0002-Lets-build-config-decide-C-optimization-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Dsap/Makefile patching file IbaTools/stream/Makefile patching file opasadb/path_tools/cache/Makefile patching file opasadb/path_tools/dump/Makefile patching file opasadb/path_tools/exercise/Makefile patching file opasadb/path_tools/load/Makefile patching file opasadb/path_tools/perf/Makefile patching file opasadb/path_tools/query/Makefile patching file opasadb/path_tools/query_many/Makefile Patch #10 (0003-Replace-strdupa-with-strdup.patch): + echo 'Patch #10 (0003-Replace-strdupa-with-strdup.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file opasadb/path_tools/query/opa_osd_query.c + 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 Patch #11 (opa-add-support-circle.patch): + echo 'Patch #11 (opa-add-support-circle.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CommonInstall/util_init.pl patching file MakeTools/funcs-ext.sh patching file get_id_and_versionid.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VGDdyO + umask 022 + cd /builddir/build/BUILD + cd opa-ff-10.11.0.2 + 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' + 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' + 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' + 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' + 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' + 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' + 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' + 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' + cd OpenIb_Host + OPA_FEATURE_SET=opa10 + ./ff_build.sh /builddir/build/BUILD ../MakeTools/funcs-ext.sh: line 787: [: =: 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=ES85 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 RPM_ARCH=x86_64 HOSTNAME= OLDPWD=/builddir/build/BUILD/opa-ff-10.11.0.2 CONFIG_SITE=NONE BUILD_TARGET_OS=LINUX BUILD_ULPS=all TL_DIR=/builddir/build/BUILD/opa-ff-10.11.0.2 BUILD_PLATFORM_OS_VENDOR= RPM_PACKAGE_RELEASE=1.oc8.circle 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 RPM_BUILD_DIR=/builddir/build/BUILD WIND_BASE=/builddir/build/BUILD/opa-ff-10.11.0.2 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 BUILD_TARGET_OS_ID=5.4.119-19-0009.3.ES85-x86_64 RPM_SOURCE_DIR=/builddir/build/SOURCES RELEASE_TAG=10_11_0_2_1 PWD=/builddir/build/BUILD/opa-ff-10.11.0.2/OpenIb_Host RPM_PACKAGE_VERSION=10.11.0.2 HOME=/builddir PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn BUILD_TARGET_OS_VENDOR=5.4.119-19-0009.3 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/opa-ff-10.11.0.2-1.oc8.circle.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 OPA_FEATURE_SET=opa10 WRS_HOST=/builddir/build/BUILD/opa-ff-10.11.0.2/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-ff-10.11.0.2/host/unix/bin BUILD_TARGET=X86_64 RPM_PACKAGE_NAME=opa-ff LDENVFS= RPM_DOC_DIR=/usr/share/doc SHLVL=3 WIND_HOST_TYPE=unix PRODUCT=OPENIB_FF 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=ES85 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 Mon Jul 25 16:05:18 CST 2022... BUILD_TARGET_OS_VERSION= BUILD_PLATFORM_OS_VENDOR_VERSION=ES85 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 RPM_ARCH=x86_64 HOSTNAME= OLDPWD=/builddir/build/BUILD/opa-ff-10.11.0.2 CONFIG_SITE=NONE BUILD_TARGET_OS=LINUX BUILD_ULPS=all TL_DIR=/builddir/build/BUILD/opa-ff-10.11.0.2 RPM_PACKAGE_RELEASE=1.oc8.circle 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 RPM_BUILD_DIR=/builddir/build/BUILD WIND_BASE=/builddir/build/BUILD/opa-ff-10.11.0.2 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 BUILD_TARGET_OS_ID=5.4.119-19-0009.3.ES85-x86_64 RPM_SOURCE_DIR=/builddir/build/SOURCES RELEASE_TAG=10_11_0_2_1 PWD=/builddir/build/BUILD/opa-ff-10.11.0.2/OpenIb_Host RPM_PACKAGE_VERSION=10.11.0.2 HOME=/builddir PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn BUILD_TARGET_OS_VENDOR=5.4.119-19-0009.3 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/opa-ff-10.11.0.2-1.oc8.circle.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 OPA_FEATURE_SET=opa10 WRS_HOST=/builddir/build/BUILD/opa-ff-10.11.0.2/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=OpenIb_Host WRS_BIN=/builddir/build/BUILD/opa-ff-10.11.0.2/host/unix/bin RPM_PACKAGE_NAME=opa-ff BUILD_TARGET=X86_64 LDENVFS= RPM_DOC_DIR=/usr/share/doc SHLVL=4 WIND_HOST_TYPE=unix PRODUCT=OPENIB_FF 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=ES85 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-ff-10.11.0.2/OpenIb_Host/Makerules.project:175: *** BUILD_TARGET_OS_VERSION not defined. Stop. Done LINUX X86_64 Fast Fabric Mon Jul 25 16:05:18 CST 2022 ============================================================== Preping Files for LINUX X86_64 Mon Jul 25 16:05:18 CST 2022... /builddir/build/BUILD/opa-ff-10.11.0.2/OpenIb_Host/Makerules.project:175: *** BUILD_TARGET_OS_VERSION not defined. Stop. + set +x Build Errors: /builddir/build/BUILD/opa-ff-10.11.0.2/OpenIb_Host/Makerules.project:175: *** BUILD_TARGET_OS_VERSION not defined. Stop. FAILED Build, errors detected: OPENIB_FF X86_64 release error: Bad exit status from /var/tmp/rpm-tmp.VGDdyO (%build) RPM build errors: Macro expanded in comment on line 12: %{version}/ \ # 070368dd2a2cc353b66351b989fb5fa75576f7de | xz > opa-ff-%{version}.tar.xz Bad exit status from /var/tmp/rpm-tmp.VGDdyO (%build) 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-ff.spec